mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 04:13:17 -06:00
Open RSS links in new tab
This commit is contained in:
parent
88c1d14fa2
commit
60f5ccc1be
@ -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 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user