add title ender
This commit is contained in:
parent
b574edd5c7
commit
33bbf4c775
4 changed files with 11 additions and 4 deletions
|
|
@ -7,8 +7,13 @@
|
|||
{% set title = page.title %}
|
||||
{% elif section.title %}
|
||||
{% set title = section.title %}
|
||||
{% elif config.title %}
|
||||
{% set title = config.title %}
|
||||
{% endif %}
|
||||
{% if config.title %}
|
||||
{% if title %}
|
||||
{% set title = title ~ " - " ~ config.title %}
|
||||
{% else %}
|
||||
{% set title = config.title %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if page.extra.author %}
|
||||
{% set author = page.extra.author %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue