diff options
author | tdro <tdro@noreply.example.com> | 2022-06-05 02:18:16 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-06-05 02:25:38 -0400 |
commit | b8c5bcbee5592d7fd1e5774da38d835297f8715f (patch) | |
tree | 2df93ce12cdd19bfd5af24beab123cdab650bec5 /themes/default/layouts/partials/meta-date-time.html | |
parent | dba272fe340146af5c72501a05567243b86c752c (diff) | |
download | canory-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/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 60ae0e7..0d63096 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 target="_blank" href="{{ $.Site.BaseURL }}/{{ . }}"> +<a href="{{ $.Site.BaseURL }}/{{ . }}"> {{ else }} <a href="{{ .Site.BaseURL }}/{{ $author.user }}/messages/{{ path.Base .Permalink }}#{{ partial "card-id.html" . }}"> {{ end }} |