diff options
| author | Jieiku | 2024-08-27 12:34:46 -0700 |
|---|---|---|
| committer | Jieiku | 2024-08-27 12:34:46 -0700 |
| commit | addf0112a145113a66c27d827ecba97719e7601d (patch) | |
| tree | 61ea9ae58b7e9d2890974aa853ad89e73ab9c848 | |
| parent | 2053f1ccb1205aaa2483695d8b6636b2f718cbc4 (diff) | |
| download | abridge-addf0112a145113a66c27d827ecba97719e7601d.tar.gz abridge-addf0112a145113a66c27d827ecba97719e7601d.tar.bz2 abridge-addf0112a145113a66c27d827ecba97719e7601d.zip | |
Spacing
| -rw-r--r-- | content/overview-rich-content/index.md | 6 | ||||
| -rw-r--r-- | templates/archive.html | 8 | ||||
| -rw-r--r-- | templates/categories/list.html | 2 | ||||
| -rw-r--r-- | templates/categories/single.html | 2 | ||||
| -rw-r--r-- | templates/tags/list.html | 2 | ||||
| -rw-r--r-- | 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 108392a..ffbbfe9 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 e078bdd..aac705a 100644 --- a/templates/archive.html +++ b/templates/archive.html @@ -62,9 +62,9 @@ This Template can also be used as the rendering template for Sections, eg: examp {%- for year, posts in section_item.pages | sort(attribute="year") | reverse | group_by(attribute="year") %} {%- if not hide_section_dates %} {%- if section_item.title %} - <h3>{{ year }}</h3> + <h3 class="tpad">{{ year }}</h3> {%- else %} - <h2>{{ year }}</h2> + <h2 class="tpad">{{ year }}</h2> {%- endif %} {%- endif %} {%- for post in posts %} @@ -75,9 +75,9 @@ This Template can also be used as the rendering template for Sections, eg: examp {%- for year, posts in section_item.pages | group_by(attribute="year") %} {%- if not hide_section_dates %} {%- if section_item.title %} - <h3>{{ year }}</h3> + <h3 class="tpad">{{ year }}</h3> {%- else %} - <h2>{{ year }}</h2> + <h2 class="tpad">{{ year }}</h2> {%- endif %} {%- endif %} {%- for post in posts %} diff --git a/templates/categories/list.html b/templates/categories/list.html index b01b37f..4566a75 100644 --- a/templates/categories/list.html +++ b/templates/categories/list.html @@ -24,7 +24,7 @@ <p>{% for term in terms %} [<a href="#{{ term.name }}">{{ term.name }}</a>]<sup>{{ term.pages | length }}</sup> {% endfor %}</p> </div> {%- for term in terms %} - <h2 id="{{ term.name }}"><a href="{{ term.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}">{{ term.name }}</a></h2> + <h2 class="tpad" id="{{ term.name }}"><a href="{{ term.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}">{{ term.name }}</a></h2> {%- for page in term.pages %} <p><a href="{{ page.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}">{{ page.title }}</a> - <time datetime="{{ page.date }}">{{ page.date | date(format="%F") }}</time></p> {%- endfor %} diff --git a/templates/categories/single.html b/templates/categories/single.html index ba86397..08b4327 100644 --- a/templates/categories/single.html +++ b/templates/categories/single.html @@ -21,7 +21,7 @@ <div> <h2>{{ term.name }}</h2> {%- for year, posts in term.pages | group_by(attribute="year") %} - <h3>{{ year }}</h3> + <h3 class="tpad">{{ year }}</h3> {%- for page in posts %} <p><a href="{{ page.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}">{{ page.title }}</a> - <time datetime="{{ page.date }}">{{ page.date | date(format="%F") }}</time></p> {%- endfor %} diff --git a/templates/tags/list.html b/templates/tags/list.html index 5e7650f..901beea 100644 --- a/templates/tags/list.html +++ b/templates/tags/list.html @@ -24,7 +24,7 @@ <p>{% for term in terms %} #<a href="#{{ term.name }}">{{ term.name }}</a><sup>{{ term.pages | length }}</sup> {% endfor %}</p> </div> {%- for term in terms %} - <h2 id="{{ term.name }}">#<a href="{{ term.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}">{{ term.name }}</a></h2> + <h2 class="tpad" id="{{ term.name }}">#<a href="{{ term.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}">{{ term.name }}</a></h2> {%- for page in term.pages %} <p><a href="{{ page.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}">{{ page.title }}</a> - <time datetime="{{ page.date }}">{{ page.date | date(format="%F") }}</time></p> {%- endfor %} diff --git a/templates/tags/single.html b/templates/tags/single.html index 723a47e..eb1d77a 100644 --- a/templates/tags/single.html +++ b/templates/tags/single.html @@ -21,7 +21,7 @@ <div> <h2>{{ term.name }}</h2> {%- for year, posts in term.pages | group_by(attribute="year") %} - <h3>{{ year }}</h3> + <h3 class="tpad">{{ year }}</h3> {%- for page in posts %} <p><a href="{{ page.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}">{{ page.title }}</a> - <time datetime="{{ page.date }}">{{ page.date | date(format="%F") }}</time></p> {%- endfor %} |
