diff options
Diffstat (limited to 'layouts/newsletter/section.html')
| -rw-r--r-- | layouts/newsletter/section.html | 10 |
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> |
