aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/meta-date-time.html
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-05-27 23:46:38 -0400
committertdro <tdro@noreply.example.com>2022-05-27 23:46:38 -0400
commit864173f531e7ecc0b0b156d10a2cb9adfdd57685 (patch)
tree8bb3446eed175634284016e10f3cfda31fe5f1e8 /themes/default/layouts/partials/meta-date-time.html
parent75c773319850c8ea0c1c1d293e27ac19257328c2 (diff)
downloadcanory-864173f531e7ecc0b0b156d10a2cb9adfdd57685.tar.gz
canory-864173f531e7ecc0b0b156d10a2cb9adfdd57685.tar.bz2
canory-864173f531e7ecc0b0b156d10a2cb9adfdd57685.zip
themes/default/layouts/partials/card-meta: Target blank on feed links
For navigation hop out of iframe.
Diffstat (limited to 'themes/default/layouts/partials/meta-date-time.html')
-rw-r--r--themes/default/layouts/partials/meta-date-time.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/layouts/partials/meta-date-time.html b/themes/default/layouts/partials/meta-date-time.html
index 0d63096..60ae0e7 100644
--- a/themes/default/layouts/partials/meta-date-time.html
+++ b/themes/default/layouts/partials/meta-date-time.html
@@ -1,7 +1,7 @@
{{- $author := index .Site.Data.authors ((or .Params.author .Site.Author.default.user) | default "default") -}}
{{- with .Params.feed.self -}}
-<a href="{{ $.Site.BaseURL }}/{{ . }}">
+<a target="_blank" href="{{ $.Site.BaseURL }}/{{ . }}">
{{ else }}
<a href="{{ .Site.BaseURL }}/{{ $author.user }}/messages/{{ path.Base .Permalink }}#{{ partial "card-id.html" . }}">
{{ end }}