aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/_default/home.rss-style.xsl
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-06-05 02:18:16 -0400
committertdro <tdro@noreply.example.com>2022-06-05 02:25:38 -0400
commitb8c5bcbee5592d7fd1e5774da38d835297f8715f (patch)
tree2df93ce12cdd19bfd5af24beab123cdab650bec5 /themes/default/layouts/_default/home.rss-style.xsl
parentdba272fe340146af5c72501a05567243b86c752c (diff)
downloadcanory-b8c5bcbee5592d7fd1e5774da38d835297f8715f.tar.gz
canory-b8c5bcbee5592d7fd1e5774da38d835297f8715f.tar.bz2
canory-b8c5bcbee5592d7fd1e5774da38d835297f8715f.zip
themes/default/layouts/partials/meta-date-time: Remove target blanks
Avoid navigation branching. Embeds with permissions may use JavaScript to hop outside.
Diffstat (limited to 'themes/default/layouts/_default/home.rss-style.xsl')
-rw-r--r--themes/default/layouts/_default/home.rss-style.xsl10
1 files changed, 5 insertions, 5 deletions
diff --git a/themes/default/layouts/_default/home.rss-style.xsl b/themes/default/layouts/_default/home.rss-style.xsl
index d078608..e85f866 100644
--- a/themes/default/layouts/_default/home.rss-style.xsl
+++ b/themes/default/layouts/_default/home.rss-style.xsl
@@ -22,9 +22,9 @@
<main>
<nav>
<icon-button>
- <a id="top" href="#">
- {{ safeHTML (readFile "static/icons/feather/arrow-up.svg") }}
- <small>Top</small>
+ <a id="back" href="/">
+ {{ safeHTML (readFile "static/icons/feather/arrow-left.svg") }}
+ <small>Back</small>
</a>
</icon-button>
@@ -111,7 +111,7 @@
<micro-summary>
<micro-thumbnail>
<figure>
- <a target="_blank"><xsl:attribute name="href"><xsl:value-of select="/rss/channel/link"/></xsl:attribute>
+ <a><xsl:attribute name="href"><xsl:value-of select="/rss/channel/link"/></xsl:attribute>
<picture>
{{- $file := "/profile/picture.png" -}}
{{- $image := imageConfig (print "content/" (partial "author-media-path.html" .) $file) -}}
@@ -129,7 +129,7 @@
</micro-thumbnail>
<micro-content>
<h2>
- <a target="_blank">
+ <a>
<xsl:attribute name="href"><xsl:value-of select="link" /></xsl:attribute>
<xsl:value-of select="title" />
</a>