diff options
-rw-r--r-- | config.yaml | 12 | ||||
-rw-r--r-- | content/_index.md | 6 | ||||
-rw-r--r-- | themes/stingray/layouts/partials/aside.html | 9 |
3 files changed, 16 insertions, 11 deletions
diff --git a/config.yaml b/config.yaml index 6bee7b4..251e36f 100644 --- a/config.yaml +++ b/config.yaml @@ -4,14 +4,14 @@ title: "RayHammer's Website" theme: "stingray" DefaultContentLanguage: "en" -SectionPagesMenu: "tutorials" +# sectionPagesMenu: "main" menu: - tutorials: - identifier: "menus" - name: "Tutorials" - url: "/tutorials/" - weight: 100 + main: + - name: Blog + url: /posts/ + - name: Tutorials + url: /tutorials/ params: title: "rayhammer.dev" diff --git a/content/_index.md b/content/_index.md index 12d149e..4336ee4 100644 --- a/content/_index.md +++ b/content/_index.md @@ -12,8 +12,4 @@ My name is RayHammer, and I'm the least schizophrenic full-time Linux user. This website is a small passion project I made using [Hugo](https://gohugo.io/). It's still work in progress, but maybe it will become something bigger in the past. -This will be my home for announcements, possible projects and maybe rants about tech and life in general. - -## Sections - -- [Tutorials](/tutorials)
\ No newline at end of file +This will be my home for announcements, possible projects and maybe rants about tech and life in general.
\ No newline at end of file diff --git a/themes/stingray/layouts/partials/aside.html b/themes/stingray/layouts/partials/aside.html index c91c68c..dd31307 100644 --- a/themes/stingray/layouts/partials/aside.html +++ b/themes/stingray/layouts/partials/aside.html @@ -7,4 +7,13 @@ <span class="p-nickname">RayHammer</span> </p> </div> + <ul> + {{ range .Site.Menus.main }} + <li> + <a href="{{ .URL }}}"> + {{ .Name }} + </a> + </li> + {{ end }} + </ul> </aside>
\ No newline at end of file |