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!"
|
slogan = "Let's Build Something Together!"
|
||||||
intro = "Need help with Product development or IT? \n You have come to right place"
|
intro = "Need help with Product development or IT? \n You have come to right place"
|
||||||
|
|
||||||
juice_extra_menu = [
|
# juice_extra_menu = [
|
||||||
{ title = "Github", link = "https://github.com/glennwso"}
|
# { title = "Github", link = "https://github.com/glennwso"}
|
||||||
]
|
# ]
|
||||||
repository_url = "https://github.com/huhu/juice"
|
repository_url = "https://github.com/huhu/juice"
|
||||||
|
|
||||||
# meta_title = "The cool TeX automation tool"
|
# meta_title = "The cool TeX automation tool"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
+++
|
+++
|
||||||
|
sort_by = "weight"
|
||||||
+++
|
+++
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
+++
|
+++
|
||||||
title = "Blog"
|
title = "Blog"
|
||||||
sort_by = "date"
|
sort_by = "date"
|
||||||
|
weight = 5
|
||||||
+++
|
+++
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
+++
|
+++
|
||||||
title = "Contact"
|
title = "Contact"
|
||||||
description = "How to get in contact"
|
description = "How to get in contact"
|
||||||
weight = 2
|
weight = 10
|
||||||
template = "contact.html"
|
template = "contact.html"
|
||||||
[extra]
|
[extra]
|
||||||
disable_toc = true
|
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>
|
</a>
|
||||||
|
|
||||||
<nav>
|
<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 %}
|
{% if config.extra.juice_extra_menu %}
|
||||||
{% for menu in 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>
|
<a class="nav-item subtitle-text" href="{{ menu.link | safe }}">{{ menu.title }}</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% 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>
|
</nav>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue