diff options
author | tdro <tdro@noreply.example.com> | 2022-05-27 23:46:38 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-05-27 23:46:38 -0400 |
commit | 864173f531e7ecc0b0b156d10a2cb9adfdd57685 (patch) | |
tree | 8bb3446eed175634284016e10f3cfda31fe5f1e8 /themes/default/layouts/partials/meta-date-time.html | |
parent | 75c773319850c8ea0c1c1d293e27ac19257328c2 (diff) | |
download | canory-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.html | 2 |
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 }} |