From c7b914505b6505b013610cc71e3b50d68c4a5473 Mon Sep 17 00:00:00 2001 From: Jieiku Date: Tue, 23 Aug 2022 13:41:41 -0700 Subject: Optimizations, Update Readme YellowLabTools --- templates/macros/macros.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'templates/macros/macros.html') diff --git a/templates/macros/macros.html b/templates/macros/macros.html index 97b481f..dd3b75c 100644 --- a/templates/macros/macros.html +++ b/templates/macros/macros.html @@ -1,8 +1,8 @@ -{%- macro title_post(page) %} +{%- macro title_post(page, config) %}

{{ page.title }}

{%- endmacro title_post %} -{%- macro meta_post(page) %} +{%- macro meta_post(page, config) %} {#- Author #} @@ -42,12 +42,12 @@ {%- if page.taxonomies.tags %} {%- for tag in page.taxonomies.tags %} #{{ tag }} {% endfor -%}{%- endif %} {%- endmacro meta_post %} -{%- macro title_index(page) %} +{%- macro title_index(page, config) %}

{% if config.extra.title_size_index %}{% endif %}{{ page.title }}{% if config.extra.title_size_index %}{% endif %}

{%- endmacro title_index %} -{%- macro meta_index(page) %} +{%- macro meta_index(page, config) %} {#- Author #} @@ -99,7 +99,7 @@ {%- endmacro footer %} -{%- macro pagination(paginator)%} +{%- macro pagination(paginator, config)%} {%- if paginator.number_pagers > 1 %} {%- if paginator.number_pagers <= 5 %} {# 5 or less pager is simple, just display all 5 #} {%- set start = 1 %} -- cgit v1.3.1