aboutsummaryrefslogtreecommitdiff
path: root/_layouts
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-08-12 12:06:31 -0300
committerEuAndreh <eu@euandre.org>2020-08-12 12:06:31 -0300
commit228366ba9f429f7632ce7095cc1adf203fcf17ba (patch)
tree4aab2285a9030dcbcdca0d93dffc080e6aabb545 /_layouts
parentUse _includes/i18n-date.html for dates (diff)
downloadeuandre.org-228366ba9f429f7632ce7095cc1adf203fcf17ba.tar.gz
euandre.org-228366ba9f429f7632ce7095cc1adf203fcf17ba.tar.xz
Use <h2> tags for subtitles
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/index.html4
-rw-r--r--_layouts/pastebins-listing.html2
-rw-r--r--_layouts/tils-listing.html4
3 files changed, 5 insertions, 5 deletions
diff --git a/_layouts/index.html b/_layouts/index.html
index 2e39734..1337252 100644
--- a/_layouts/index.html
+++ b/_layouts/index.html
@@ -1,12 +1,12 @@
---
layout: default
---
-<h1>
+<h2>
{{ site.t.recent_posts[page.lang] }}
<a href="{{ site.t.feed.url.blog[page.lang] }}">
<img class="simple-icon" src="/images/atom.svg" alt="{{ site.t.alt.atom[page.lang] }}" />
</a>
-</h1>
+</h2>
{% assign lposts=site.posts | where:"lang", page.lang | sort: 'date' | reverse %}
{% if lposts.size > 0 %}
<ul>
diff --git a/_layouts/pastebins-listing.html b/_layouts/pastebins-listing.html
index 58837e1..0c4a993 100644
--- a/_layouts/pastebins-listing.html
+++ b/_layouts/pastebins-listing.html
@@ -1,7 +1,7 @@
---
layout: default
---
-<h1>Pastebins listing</h1>
+<h2>Pastebins listing</h2>
<ul>
{% assign pastebins = site.pastebins | sort: "date" | reverse %}
{%- for pastebin in pastebins -%}
diff --git a/_layouts/tils-listing.html b/_layouts/tils-listing.html
index 38cec2b..4e5d4af 100644
--- a/_layouts/tils-listing.html
+++ b/_layouts/tils-listing.html
@@ -1,12 +1,12 @@
---
layout: default
---
-<h1>
+<h2>
{{ site.t.til_listing[page.lang] }}
<a href="{{ site.t.feed.url.til[page.lang] }}">
<img class="simple-icon" src="/images/atom.svg" alt="{{ site.t.alt.atom[page.lang] }}" />
</a>
-</h1>
+</h2>
{{ content }}
<ul>
{% assign tils = site.tils | where:"lang", page.lang | sort: "date" | reverse %}