sort sub pages and sections init product
This commit is contained in:
parent
5607e42cc1
commit
a7494ff14a
|
@ -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"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
+++
|
||||
|
||||
sort_by = "weight"
|
||||
+++
|
||||
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
+++
|
||||
title = "Blog"
|
||||
sort_by = "date"
|
||||
weight = 5
|
||||
+++
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
+++
|
||||
title = "Contact"
|
||||
description = "How to get in contact"
|
||||
weight = 2
|
||||
weight = 10
|
||||
template = "contact.html"
|
||||
[extra]
|
||||
disable_toc = true
|
||||
|
|
14
content/product.md
Normal file
14
content/product.md
Normal file
|
@ -0,0 +1,14 @@
|
|||
+++
|
||||
title = "Product Development"
|
||||
description = "Software Development Consulting"
|
||||
weight = 3
|
||||
+++
|
||||
|
||||
## TODO
|
||||
|
||||
```rust
|
||||
fn main() {
|
||||
println!("Hello, World!");
|
||||
}
|
||||
|
||||
```
|
|
@ -8,18 +8,21 @@
|
|||
</a>
|
||||
|
||||
<nav>
|
||||
{% for page in section.pages %}
|
||||
<a class="nav-item subtitle-text" href="{{ page.permalink | safe }}">{{ page.title }}</a>
|
||||
{% endfor %}
|
||||
{% for path in section.subsections %}
|
||||
{% set child = get_section(path=path) %}
|
||||
<a class="nav-item subtitle-text" href="{{ child.permalink }}">{{ child.title }}</a>
|
||||
{% endfor %}
|
||||
{% if config.extra.juice_extra_menu %}
|
||||
{% for menu in config.extra.juice_extra_menu %}
|
||||
<a class="nav-item subtitle-text" href="{{ menu.link | safe }}">{{ menu.title }}</a>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% for page in section.pages %}
|
||||
<a class="nav-item subtitle-text" href="{{ page.permalink | safe }}">{{ page.title }}</a>
|
||||
{% endfor %}
|
||||
|
||||
{% for path in section.subsections %}
|
||||
{% set child = get_section(path=path) %}
|
||||
<a class="nav-item subtitle-text" href="{{ child.permalink }}">{{ child.title }}</a>
|
||||
{% endfor %}
|
||||
</nav>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue