diff options
| author | Reorx <novoreorx@gmail.com> | 2022-09-08 00:47:08 +0800 |
|---|---|---|
| committer | Reorx <novoreorx@gmail.com> | 2022-09-08 00:47:08 +0800 |
| commit | 51d8dca83c28ec8d56e13f04bbc9af35b705d14f (patch) | |
| tree | 139296d5fbcb621a7c4c4041b3b6440786ea41e8 /layouts/_default/list.html | |
| parent | ea6560465bbf5a95f2b93b7a46672b611bd9578e (diff) | |
enhance inline links
Diffstat (limited to 'layouts/_default/list.html')
| -rw-r--r-- | layouts/_default/list.html | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 67e1897..654297b 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -13,11 +13,14 @@ {{ .Description | markdownify }} </div> {{- end }} - {{- with .Param "archivesSlug" }} - <div> - <a href="{{ $.RelPermalink }}{{ . }}/">Archives</a> + <div class="inline-links"> + {{- with .Param "archivesSlug" }} + <a href="{{ $.RelPermalink }}{{ . }}/">Archives</a> + {{- end }} + {{ with .OutputFormats.Get "rss" -}} + • <a href="{{ .Permalink }}" target="_blank">RSS</a> + {{ end -}} </div> - {{- end }} </header> {{- end }} |
