Skip to content

Commit addf011

Browse files
committed
Spacing
1 parent 2053f1c commit addf011

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

content/overview-rich-content/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,13 @@ Each string in the `sources` array should be a path to an image file of a differ
8181

8282
### Usage
8383
```rs
84-
{{/* image(sources=["over9000-960.avif", "over9000-640.avif", "over9000-400.avif", "over9000-640.webp"], w=640, h=480, alt="ITS OVER 9000!") */}}
84+
{{/* image(sources=["over9000-960.avif", "over9000-640.avif", "over9000-400.avif", "over9000-640.webp"] w=640 h=480 alt="ITS OVER 9000!") */}}
8585
```
8686
### Output
8787
```html
88-
{{ image(sources=["over9000-960.avif", "over9000-640.avif", "over9000-400.avif", "over9000-640.webp"], w=640, h=480, alt="ITS OVER 9000!") }}
88+
{{ image(sources=["over9000-960.avif", "over9000-640.avif", "over9000-400.avif", "over9000-640.webp"] w=640 h=480 alt="ITS OVER 9000!") }}
8989
```
90-
{{ image(sources=["over9000-960.avif", "over9000-640.avif", "over9000-400.avif", "over9000-640.webp"], w=640, h=480, alt="ITS OVER 9000!") }}
90+
{{ image(sources=["over9000-960.avif", "over9000-640.avif", "over9000-400.avif", "over9000-640.webp"] w=640 h=480 alt="ITS OVER 9000!") }}
9191

9292
## GIF
9393

templates/archive.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ <h2>{{ section_item.title }}</h2>
6262
{%- for year, posts in section_item.pages | sort(attribute="year") | reverse | group_by(attribute="year") %}
6363
{%- if not hide_section_dates %}
6464
{%- if section_item.title %}
65-
<h3>{{ year }}</h3>
65+
<h3 class="tpad">{{ year }}</h3>
6666
{%- else %}
67-
<h2>{{ year }}</h2>
67+
<h2 class="tpad">{{ year }}</h2>
6868
{%- endif %}
6969
{%- endif %}
7070
{%- for post in posts %}
@@ -75,9 +75,9 @@ <h2>{{ year }}</h2>
7575
{%- for year, posts in section_item.pages | group_by(attribute="year") %}
7676
{%- if not hide_section_dates %}
7777
{%- if section_item.title %}
78-
<h3>{{ year }}</h3>
78+
<h3 class="tpad">{{ year }}</h3>
7979
{%- else %}
80-
<h2>{{ year }}</h2>
80+
<h2 class="tpad">{{ year }}</h2>
8181
{%- endif %}
8282
{%- endif %}
8383
{%- for post in posts %}

templates/categories/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ <h1>{{ terms | length }} {{ macros::translate(key="Categories", default="Categor
2424
<p>{% for term in terms %} [<a href="#{{ term.name }}">{{ term.name }}</a>]<sup>{{ term.pages | length }}</sup> {% endfor %}</p>
2525
</div>
2626
{%- for term in terms %}
27-
<h2 id="{{ term.name }}"><a href="{{ term.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}">{{ term.name }}</a></h2>
27+
<h2 class="tpad" id="{{ term.name }}"><a href="{{ term.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}">{{ term.name }}</a></h2>
2828
{%- for page in term.pages %}
2929
<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>
3030
{%- endfor %}

templates/categories/single.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<div>
2222
<h2>{{ term.name }}</h2>
2323
{%- for year, posts in term.pages | group_by(attribute="year") %}
24-
<h3>{{ year }}</h3>
24+
<h3 class="tpad">{{ year }}</h3>
2525
{%- for page in posts %}
2626
<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>
2727
{%- endfor %}

templates/tags/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ <h1>{{ terms | length }} {{ macros::translate(key="Tags", default="Tags", i18n=i
2424
<p>{% for term in terms %} #<a href="#{{ term.name }}">{{ term.name }}</a><sup>{{ term.pages | length }}</sup> {% endfor %}</p>
2525
</div>
2626
{%- for term in terms %}
27-
<h2 id="{{ term.name }}">#<a href="{{ term.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}">{{ term.name }}</a></h2>
27+
<h2 class="tpad" id="{{ term.name }}">#<a href="{{ term.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}">{{ term.name }}</a></h2>
2828
{%- for page in term.pages %}
2929
<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>
3030
{%- endfor %}

templates/tags/single.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<div>
2222
<h2>{{ term.name }}</h2>
2323
{%- for year, posts in term.pages | group_by(attribute="year") %}
24-
<h3>{{ year }}</h3>
24+
<h3 class="tpad">{{ year }}</h3>
2525
{%- for page in posts %}
2626
<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>
2727
{%- endfor %}

0 commit comments

Comments
 (0)