initial commit
This commit is contained in:
commit
7a32292dda
91 changed files with 3095 additions and 0 deletions
17
posixlycorrect/themes/terminimal/templates/macros/title.html
Normal file
17
posixlycorrect/themes/terminimal/templates/macros/title.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
{% macro title(page_title, main_title) %}
|
||||
{%- if config.extra.page_titles == "combined" -%}
|
||||
{%- if page_title -%}
|
||||
[{{ main_title }}/{{ page_title }}]
|
||||
{%- else -%}
|
||||
[{{ main_title }}]
|
||||
{%- endif -%}
|
||||
{%- elif config.extra.page_titles == "page_only" -%}
|
||||
{%- if page_title -%}
|
||||
{{ page_title }}
|
||||
{%- else -%}
|
||||
[{{ main_title }}]
|
||||
{%- endif -%}
|
||||
{%- else -%}
|
||||
[{{ main_title }}]
|
||||
{%- endif -%}
|
||||
{% endmacro title %}
|
Loading…
Add table
Add a link
Reference in a new issue