Skip to content

Commit

Permalink
support simple title
Browse files Browse the repository at this point in the history
  • Loading branch information
paulocoutinhox committed Dec 12, 2023
1 parent 2e83f4c commit f896e50
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion templates/shared/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">

{%- if page_title %}
{%- set page_title = page_title + " - " + kaktos.config.title -%}
{%- if page_title_simple %}
{%- set page_title = page_title -%}
{% else %}
{%- set page_title = page_title + " - " + kaktos.config.title -%}
{% endif -%}
{% else %}
{%- set page_title = kaktos.config.title -%}
{% endif -%}
Expand Down

0 comments on commit f896e50

Please sign in to comment.