summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/home.gmi9
-rw-r--r--layouts/home.html4
2 files changed, 13 insertions, 0 deletions
diff --git a/layouts/home.gmi b/layouts/home.gmi
index 0a056f7..619a5f8 100644
--- a/layouts/home.gmi
+++ b/layouts/home.gmi
@@ -13,6 +13,15 @@
{{ end -}}
+{{ with .OutputFormats.Get "Gemini_Atom" }}
+
+
+## {{ i18n "feeds" }}
+
+=> {{ .RelPermalink }} {{ emojify ":link:" }} {{ i18n "atomFeed" -}}
+
+{{ end -}}
+
{{ with (where .Site.RegularPages "Section" "entry").ByPublishDate.Reverse }}
diff --git a/layouts/home.html b/layouts/home.html
index b3dcdd0..5a8368b 100644
--- a/layouts/home.html
+++ b/layouts/home.html
@@ -12,6 +12,10 @@
</ul>
</nav>
{{ end }}
+ {{ with .OutputFormats.Get "Atom" }}
+ <h2>{{ i18n "feeds" }}</h2>
+ <p>{{ emojify ":link:" }}&nbsp;<a class="link link--internal" href="{{ .RelPermalink }}" rel="noreferrer">{{ i18n "atomFeed" }}</a></p>
+ {{ end }}
{{ with (where .Site.RegularPages "Section" "entry").ByPublishDate.Reverse }}
<h2>{{ i18n "journalEntries" }}</h2>
{{ range . }}