✨ feat(title): add invert_title_order
config option (#142)
This commit is contained in:
parent
0055a3613e
commit
9acaba6e35
@ -219,6 +219,10 @@ short_date_format = ""
|
||||
# Custom separator used in title tag and posts metadata (between date, time to read, and tags).
|
||||
separator = "•"
|
||||
|
||||
# Invert the order of the site title and page title in the browser tab.
|
||||
# Example: true => "Blog • ~/tabi", false => "~/tabi • Blog"
|
||||
invert_title_order = false
|
||||
|
||||
# Full path after the base URL required. So if you were to place it in "static" it would be "/favicon.png"
|
||||
favicon = "img/seedling.png"
|
||||
|
||||
|
@ -32,6 +32,10 @@
|
||||
{%- endif -%}
|
||||
|
||||
{# Return the final concatenated string. #}
|
||||
{%- if config.extra.invert_title_order -%}
|
||||
{{- suffix ~ separator ~ prefix -}}
|
||||
{%- else -%}
|
||||
{{- prefix ~ separator ~ suffix -}}
|
||||
{%- endif -%}
|
||||
|
||||
{%- endmacro set_title -%}
|
||||
|
@ -104,6 +104,10 @@ short_date_format = ""
|
||||
# Custom separator used in title tag and posts metadata (between date, time to read, and tags).
|
||||
separator = "•"
|
||||
|
||||
# Invert the order of the site title and page title in the browser tab.
|
||||
# Example: true => "Blog • ~/tabi", false => "~/tabi • Blog"
|
||||
invert_title_order = false
|
||||
|
||||
# Full path after the base URL required. So if you were to place it in "static" it would be "/favicon.ico"
|
||||
# favicon = ""
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user