From 9a53320db8d21aba579d3054c93053b8e2db4116 Mon Sep 17 00:00:00 2001 From: RayHammer Date: Thu, 3 Nov 2022 13:19:12 +0100 Subject: Added menu sections to side bar --- config.yaml | 12 ++++++------ content/_index.md | 6 +----- 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 @@ RayHammer

+ \ No newline at end of file -- cgit v1.2.3