add title ender
This commit is contained in:
parent
b574edd5c7
commit
33bbf4c775
4 changed files with 11 additions and 4 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
base_url = "https://oniricorpe.eu"
|
base_url = "https://oniricorpe.eu"
|
||||||
|
title = "OniriCorpe"
|
||||||
|
|
||||||
output_dir = "public"
|
output_dir = "public"
|
||||||
|
|
||||||
|
|
@ -70,5 +71,6 @@ header_nav = [
|
||||||
{ url = "/", name_en = "/root/", name_fr = "/racine/" },
|
{ url = "/", name_en = "/root/", name_fr = "/racine/" },
|
||||||
{ url = "/log", name_en = "/log/", name_fr = "/log/" },
|
{ url = "/log", name_en = "/log/", name_fr = "/log/" },
|
||||||
{ url = "/bidouilles", name_en = "/tinkering/", name_fr = "/bidouilles/" },
|
{ url = "/bidouilles", name_en = "/tinkering/", name_fr = "/bidouilles/" },
|
||||||
|
{ url = "/frens", name_en = "/frens/", name_fr = "/potes/" },
|
||||||
{ url = "/contacts", name_en = "/contacts/", name_fr = "/contacts/" },
|
{ url = "/contacts", name_en = "/contacts/", name_fr = "/contacts/" },
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
+++
|
+++
|
||||||
title = "Log - OniriCorpe"
|
title = "Log"
|
||||||
template = "meta-section.html"
|
template = "meta-section.html"
|
||||||
[extra]
|
[extra]
|
||||||
sections = ["log/vrac", "log/tech", "log/note", "log/neurodivergences", "log/poesie"]
|
sections = ["log/vrac", "log/tech", "log/note", "log/neurodivergences", "log/poesie"]
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
+++
|
+++
|
||||||
title = "Log - OniriCorpe"
|
title = "Log"
|
||||||
template = "meta-section.html"
|
template = "meta-section.html"
|
||||||
[extra]
|
[extra]
|
||||||
sections = ["log/vrac", "log/tech", "log/note", "log/neurodivergences", "log/poesie"]
|
sections = ["log/vrac", "log/tech", "log/note", "log/neurodivergences", "log/poesie"]
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,13 @@
|
||||||
{% set title = page.title %}
|
{% set title = page.title %}
|
||||||
{% elif section.title %}
|
{% elif section.title %}
|
||||||
{% set title = section.title %}
|
{% set title = section.title %}
|
||||||
{% elif config.title %}
|
{% endif %}
|
||||||
{% set title = config.title %}
|
{% if config.title %}
|
||||||
|
{% if title %}
|
||||||
|
{% set title = title ~ " - " ~ config.title %}
|
||||||
|
{% else %}
|
||||||
|
{% set title = config.title %}
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if page.extra.author %}
|
{% if page.extra.author %}
|
||||||
{% set author = page.extra.author %}
|
{% set author = page.extra.author %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue