From a7494ff14a1074485ede5bfe179b4fce3687926a Mon Sep 17 00:00:00 2001 From: gws Date: Wed, 6 Nov 2024 14:41:37 +0100 Subject: [PATCH] sort sub pages and sections init product --- config.toml | 6 +++--- content/_index.md | 2 +- content/blog/_index.md | 1 + content/contact.md | 2 +- content/product.md | 14 ++++++++++++++ templates/_macros.html | 17 ++++++++++------- 6 files changed, 30 insertions(+), 12 deletions(-) create mode 100644 content/product.md diff --git a/config.toml b/config.toml index 6cff4eb..ad53d8c 100644 --- a/config.toml +++ b/config.toml @@ -26,9 +26,9 @@ juice_logo_path = "flat_blocks.svg" slogan = "Let's Build Something Together!" intro = "Need help with Product development or IT? \n You have come to right place" -juice_extra_menu = [ - { title = "Github", link = "https://github.com/glennwso"} -] +# juice_extra_menu = [ +# { title = "Github", link = "https://github.com/glennwso"} +# ] repository_url = "https://github.com/huhu/juice" # meta_title = "The cool TeX automation tool" diff --git a/content/_index.md b/content/_index.md index 5bbc64a..9812949 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,5 +1,5 @@ +++ - +sort_by = "weight" +++ diff --git a/content/blog/_index.md b/content/blog/_index.md index 06c97ea..59cecaa 100644 --- a/content/blog/_index.md +++ b/content/blog/_index.md @@ -1,5 +1,6 @@ +++ title = "Blog" sort_by = "date" +weight = 5 +++ diff --git a/content/contact.md b/content/contact.md index 3b3d28f..b680fb2 100644 --- a/content/contact.md +++ b/content/contact.md @@ -1,7 +1,7 @@ +++ title = "Contact" description = "How to get in contact" -weight = 2 +weight = 10 template = "contact.html" [extra] disable_toc = true diff --git a/content/product.md b/content/product.md new file mode 100644 index 0000000..9e4761f --- /dev/null +++ b/content/product.md @@ -0,0 +1,14 @@ ++++ +title = "Product Development" +description = "Software Development Consulting" +weight = 3 ++++ + +## TODO + +```rust +fn main() { + println!("Hello, World!"); +} + +``` diff --git a/templates/_macros.html b/templates/_macros.html index 3ff1c9d..d705800 100644 --- a/templates/_macros.html +++ b/templates/_macros.html @@ -8,18 +8,21 @@