Skip to content

Commit

Permalink
WIP - add website structure and some kind of menu
Browse files Browse the repository at this point in the history
  • Loading branch information
vallss committed Nov 13, 2024
1 parent 2f1c179 commit 6aac41d
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 7 deletions.
12 changes: 5 additions & 7 deletions docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,11 @@
<header class="page-header" role="banner">
<h1 class="project-name">{{ page.title | default: site.title | default: site.github.repository_name }}</h1>
<h2 class="project-tagline">{{ page.description | default: site.description | default: site.github.project_tagline }}</h2>
{% if site.github.is_project_page %}
<a href="{{ site.github.repository_url }}" class="btn">View on GitHub</a>
{% endif %}
{% if site.show_downloads %}
<a href="{{ site.github.zip_url }}" class="btn">Download .zip</a>
<a href="{{ site.github.tar_url }}" class="btn">Download .tar.gz</a>
{% endif %}
{% if page.children %}
{% for child in page.children %}
<a class="btn" href="{{ child.url | relative_url }}">{{ child.title }}</a>
{% endfor %}
{% endif %}
</header>

<main id="content" class="main-content" role="main">
Expand Down
12 changes: 12 additions & 0 deletions docs/blog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
layout: default
title: Blog
description: This is just another page
children:
- title: Home
url: /
- title: Talks and slides
url: talks-and-slides
---

This will be the blog!
8 changes: 8 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
---
layout: default
title: Valeria Salis
description: >- # this means to ignore newlines until "baseurl:"
Software developer, public speaker and meetup organizer. I like talking to computers as much as I like talking to people.
children:
- title: Blog
url: blog
- title: Talks and slides
url: talks-and-slides
---

Text can be **bold**, _italic_, or ~~strikethrough~~.
Expand Down

0 comments on commit 6aac41d

Please sign in to comment.