From addf0112a145113a66c27d827ecba97719e7601d Mon Sep 17 00:00:00 2001 From: Jieiku <106644+Jieiku@users.noreply.github.com> Date: Tue, 27 Aug 2024 12:34:46 -0700 Subject: [PATCH] Spacing --- content/overview-rich-content/index.md | 6 +++--- templates/archive.html | 8 ++++---- templates/categories/list.html | 2 +- templates/categories/single.html | 2 +- templates/tags/list.html | 2 +- templates/tags/single.html | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/content/overview-rich-content/index.md b/content/overview-rich-content/index.md index 108392ad..ffbbfe99 100644 --- a/content/overview-rich-content/index.md +++ b/content/overview-rich-content/index.md @@ -81,13 +81,13 @@ Each string in the `sources` array should be a path to an image file of a differ ### Usage ```rs -{{/* image(sources=["over9000-960.avif", "over9000-640.avif", "over9000-400.avif", "over9000-640.webp"], w=640, h=480, alt="ITS OVER 9000!") */}} +{{/* image(sources=["over9000-960.avif", "over9000-640.avif", "over9000-400.avif", "over9000-640.webp"] w=640 h=480 alt="ITS OVER 9000!") */}} ``` ### Output ```html -{{ image(sources=["over9000-960.avif", "over9000-640.avif", "over9000-400.avif", "over9000-640.webp"], w=640, h=480, alt="ITS OVER 9000!") }} +{{ image(sources=["over9000-960.avif", "over9000-640.avif", "over9000-400.avif", "over9000-640.webp"] w=640 h=480 alt="ITS OVER 9000!") }} ``` -{{ image(sources=["over9000-960.avif", "over9000-640.avif", "over9000-400.avif", "over9000-640.webp"], w=640, h=480, alt="ITS OVER 9000!") }} +{{ image(sources=["over9000-960.avif", "over9000-640.avif", "over9000-400.avif", "over9000-640.webp"] w=640 h=480 alt="ITS OVER 9000!") }} ## GIF diff --git a/templates/archive.html b/templates/archive.html index e078bdd3..aac705a7 100644 --- a/templates/archive.html +++ b/templates/archive.html @@ -62,9 +62,9 @@

{{ section_item.title }}

{%- for year, posts in section_item.pages | sort(attribute="year") | reverse | group_by(attribute="year") %} {%- if not hide_section_dates %} {%- if section_item.title %} -

{{ year }}

+

{{ year }}

{%- else %} -

{{ year }}

+

{{ year }}

{%- endif %} {%- endif %} {%- for post in posts %} @@ -75,9 +75,9 @@

{{ year }}

{%- for year, posts in section_item.pages | group_by(attribute="year") %} {%- if not hide_section_dates %} {%- if section_item.title %} -

{{ year }}

+

{{ year }}

{%- else %} -

{{ year }}

+

{{ year }}

{%- endif %} {%- endif %} {%- for post in posts %} diff --git a/templates/categories/list.html b/templates/categories/list.html index b01b37fd..4566a754 100644 --- a/templates/categories/list.html +++ b/templates/categories/list.html @@ -24,7 +24,7 @@

{{ terms | length }} {{ macros::translate(key="Categories", default="Categor

{% for term in terms %} [{{ term.name }}]{{ term.pages | length }} {% endfor %}

{%- for term in terms %} -

{{ term.name }}

+

{{ term.name }}

{%- for page in term.pages %}

{{ page.title }} -

{%- endfor %} diff --git a/templates/categories/single.html b/templates/categories/single.html index ba86397f..08b43275 100644 --- a/templates/categories/single.html +++ b/templates/categories/single.html @@ -21,7 +21,7 @@

{{ term.name }}

{%- for year, posts in term.pages | group_by(attribute="year") %} -

{{ year }}

+

{{ year }}

{%- for page in posts %}

{{ page.title }} -

{%- endfor %} diff --git a/templates/tags/list.html b/templates/tags/list.html index 5e7650f9..901beeae 100644 --- a/templates/tags/list.html +++ b/templates/tags/list.html @@ -24,7 +24,7 @@

{{ terms | length }} {{ macros::translate(key="Tags", default="Tags", i18n=i

{% for term in terms %} #{{ term.name }}{{ term.pages | length }} {% endfor %}

{%- for term in terms %} -

#{{ term.name }}

+

#{{ term.name }}

{%- for page in term.pages %}

{{ page.title }} -

{%- endfor %} diff --git a/templates/tags/single.html b/templates/tags/single.html index 723a47ea..eb1d77ab 100644 --- a/templates/tags/single.html +++ b/templates/tags/single.html @@ -21,7 +21,7 @@

{{ term.name }}

{%- for year, posts in term.pages | group_by(attribute="year") %} -

{{ year }}

+

{{ year }}

{%- for page in posts %}

{{ page.title }} -

{%- endfor %}