From 43894bda0a2ff797ccca1669712e10d04086bff1 Mon Sep 17 00:00:00 2001 From: Jieiku Date: Sat, 11 Jun 2022 10:03:37 -0700 Subject: Fix Fontawesome Icon Space --- templates/macros/macros.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'templates/macros/macros.html') diff --git a/templates/macros/macros.html b/templates/macros/macros.html index e818bfd..c5d7a22 100644 --- a/templates/macros/macros.html +++ b/templates/macros/macros.html @@ -9,7 +9,7 @@ {%- set_global author_flag = true %} {%- endfor %} {%- elif config.extra.author and config.extra.meta_post.author %} - {%- if config.extra.icon_author %}{%- endif %}{{ config.extra.author }} + {%- if config.extra.icon_author %} {% endif %} {{ config.extra.author }} {%- endif %} {#- divider #} @@ -20,19 +20,19 @@ {%- endif %} {#- ReadTime #} - {%- if config.extra.meta_post.readtime %} {%- if config.extra.icon_read %}{%- endif %}{{ page.reading_time }} {{ config.extra.meta_post.readstring | default(value="min") }} + {%- if config.extra.meta_post.readtime %} {%- if config.extra.icon_read %} {% endif %} {{ page.reading_time }} {{ config.extra.meta_post.readstring | default(value="min") }} {#- divider #} {%- if config.extra.meta_post.date or config.extra.meta_post.categories_tags %} {%- if config.extra.meta_post.divider %}{{ config.extra.meta_post.divider | safe }}{%- else %} {%- endif %}{%- endif %}{%- endif %} {#- Date #} - {%- if config.extra.meta_post.date %} {%- if config.extra.icon_date %}{%- endif %}{{ page.date | date(format="%B %d, %Y") }} + {%- if config.extra.meta_post.date %} {%- if config.extra.icon_date %} {% endif %} {{ page.date | date(format="%B %d, %Y") }} {#- divider #} {%- if config.extra.meta_post.categories_tags %} {%- if config.extra.meta_post.divider %}{{ config.extra.meta_post.divider | safe }}{%- else %} {%- endif %}{%- endif %}{% endif %} {#- Categories #} - {%- if page.taxonomies.categories %} {%- if config.extra.icon_info %}{%- endif %}[{% for cat in page.taxonomies.categories %}{{ cat }}{% endfor %}]{% endif %} + {%- if page.taxonomies.categories %} {%- if config.extra.icon_info %} {% endif %} [{% for cat in page.taxonomies.categories %}{{ cat }}{% endfor %}]{% endif %} {#- Tags #} {%- if page.taxonomies.tags %} {%- for tag in page.taxonomies.tags %} #{{ tag }} {% endfor -%}{%- endif %} @@ -50,7 +50,7 @@ {%- set_global author_flag = true %} {%- endfor %} {%- elif config.extra.author and config.extra.meta_index.author %} - {%- if config.extra.icon_author %}{%- endif %}{{ config.extra.author }} + {%- if config.extra.icon_author %} {% endif %} {{ config.extra.author }} {%- endif %} {#- divider #} @@ -61,19 +61,19 @@ {%- endif %} {#- ReadTime #} - {%- if config.extra.meta_index.readtime %} {%- if config.extra.icon_read %}{%- endif %}{{ page.reading_time }} {{ config.extra.meta_index.readstring | default(value="min") }} + {%- if config.extra.meta_index.readtime %} {%- if config.extra.icon_read %} {% endif %} {{ page.reading_time }} {{ config.extra.meta_index.readstring | default(value="min") }} {#- divider #} {%- if config.extra.meta_index.date or config.extra.meta_index.categories_tags %} {%- if config.extra.meta_index.divider %}{{ config.extra.meta_index.divider | safe }}{%- else %} {%- endif %}{%- endif %}{%- endif %} {#- Date #} - {%- if config.extra.meta_index.date %} {%- if config.extra.icon_date %}{%- endif %}{{ page.date | date(format="%B %d, %Y") }} + {%- if config.extra.meta_index.date %} {%- if config.extra.icon_date %} {% endif %} {{ page.date | date(format="%B %d, %Y") }} {#- divider #} {%- if config.extra.meta_index.categories_tags %} {%- if config.extra.meta_index.divider %}{{ config.extra.meta_index.divider | safe }}{%- else %} {%- endif %}{%- endif %}{% endif %} {#- Categories #} - {%- if page.taxonomies.categories %} {%- if config.extra.icon_info %}{%- endif %}[{% for cat in page.taxonomies.categories %}{{ cat }}{% endfor %}]{% endif %} + {%- if page.taxonomies.categories %} {%- if config.extra.icon_info %} {% endif %} [{% for cat in page.taxonomies.categories %}{{ cat }}{% endfor %}]{% endif %} {#- Tags #} {%- if page.taxonomies.tags %} {%- for tag in page.taxonomies.tags %} #{{ tag }} {% endfor -%}{%- endif %} -- cgit v1.3.1