mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2026-11-10 05:32:05 -06:00
Open RSS links in new tab
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -5,7 +5,7 @@
|
|||||||
{{ .Title | markdownify }}
|
{{ .Title | markdownify }}
|
||||||
<span class="rss-link">
|
<span class="rss-link">
|
||||||
{{ with .OutputFormats.Get "rss" }}
|
{{ with .OutputFormats.Get "rss" }}
|
||||||
<a href="{{ .Permalink }}">{{ partial "icon.html" "rss-feed" }}</a>
|
<a href="{{ .Permalink }}" target="_blank" rel="noopener">{{ partial "icon.html" "rss-feed" }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</span>
|
</span>
|
||||||
</h1>
|
</h1>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
{{ if eq .Kind "term" }}
|
{{ if eq .Kind "term" }}
|
||||||
<span class="rss-link">
|
<span class="rss-link">
|
||||||
{{ with .OutputFormats.Get "rss" }}
|
{{ with .OutputFormats.Get "rss" }}
|
||||||
<a href="{{ .Permalink }}">{{ partial "icon.html" "rss-feed" }}</a>
|
<a href="{{ .Permalink }}" target="_blank" rel="noopener">{{ partial "icon.html" "rss-feed" }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</span>
|
</span>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
Reference in new issue
Block a user