forked from deepStateMirrors/tabi
✨ feat: use custom separator from config in meta & title
This commit is contained in:
parent
ba0631b4e0
commit
aa00640e96
3 changed files with 10 additions and 4 deletions
|
|
@ -1,4 +1,6 @@
|
|||
{% macro content(page, separator='•') %}
|
||||
{% macro content(page) %}
|
||||
{% set separator = config.extra.separator | default(value="•") %}
|
||||
|
||||
<main>
|
||||
<article>
|
||||
<div>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,8 @@
|
|||
|
||||
{# Setup. #}
|
||||
{% set prefix = config.title | safe %}
|
||||
{% set separator = " • " %}
|
||||
{% set custom_separator = config.extra.separator | default(value="•") %}
|
||||
{% set separator = " " ~ custom_separator ~ " " %}
|
||||
|
||||
{% if current_path and current_path == "/" %}
|
||||
{% set suffix = "" %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue