summaryrefslogtreecommitdiff
path: root/layouts/newsletter/section.html
diff options
context:
space:
mode:
authorReorx <novoreorx@gmail.com>2022-09-08 00:47:08 +0800
committerReorx <novoreorx@gmail.com>2022-09-08 00:47:08 +0800
commit51d8dca83c28ec8d56e13f04bbc9af35b705d14f (patch)
tree139296d5fbcb621a7c4c4041b3b6440786ea41e8 /layouts/newsletter/section.html
parentea6560465bbf5a95f2b93b7a46672b611bd9578e (diff)
enhance inline links
Diffstat (limited to 'layouts/newsletter/section.html')
-rw-r--r--layouts/newsletter/section.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/layouts/newsletter/section.html b/layouts/newsletter/section.html
index a52e40f..11d52ab 100644
--- a/layouts/newsletter/section.html
+++ b/layouts/newsletter/section.html
@@ -35,13 +35,13 @@
</div>
<h2>相关链接</h2>
- <div>
+ <div class="inline-links">
{{- with .Param "archivesSlug" }}
- <a href="{{ $.RelPermalink }}{{ . }}/">Archives</a> •
- {{- end }}
- {{- with .Param "rssUrl" }}
- <a href="{{ site.BaseURL }}{{ . }}">RSS</a>
+ <a href="{{ $.RelPermalink }}{{ . }}/">Archives</a>
{{- end }}
+ {{ with .OutputFormats.Get "rss" -}}
+ • <a href="{{ .Permalink }}" target="_blank">RSS</a>
+ {{ end -}}
</div>
</div>