summaryrefslogtreecommitdiff
path: root/layouts/_default/_markup/render-link.html
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicholasjohnson.ch>2022-12-08 00:00:00 +0000
committerNicholas Johnson <nick@nicholasjohnson.ch>2022-12-08 00:00:00 +0000
commit89889841de646ef690e8cc2c530fa808868cafb6cbbe52ccc1cd618d7abbc972 (patch)
tree1b0d0d4bae1bc3082483489aa1cfd7c22eac76225e16b186227b3af216174ade /layouts/_default/_markup/render-link.html
parent308be70ca86f4b3450c07f4f7cf30c3217deaea96eff89ecbfb31a1fdef18e05 (diff)
downloadhugo-theme-journal-89889841de646ef690e8cc2c530fa808868cafb6cbbe52ccc1cd618d7abbc972.tar.gz
hugo-theme-journal-89889841de646ef690e8cc2c530fa808868cafb6cbbe52ccc1cd618d7abbc972.zip
Complete overhaul of the CSS
I made it as BEM-compliant as I could. Making it fully BEM-compliant is impossible since Hugo doesn't have HTML render hooks for certain tags.
Diffstat (limited to 'layouts/_default/_markup/render-link.html')
-rw-r--r--layouts/_default/_markup/render-link.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html
index 4d300ab..b62e944 100644
--- a/layouts/_default/_markup/render-link.html
+++ b/layouts/_default/_markup/render-link.html
@@ -1,2 +1,2 @@
{{ $emoji := cond (.Page.Params.nolinkemoji | default false) "" (emojify ":link: ") -}}
-<a href="{{ .Destination | safeURL }}" rel="noreferrer">{{ $emoji }}{{ .Text | safeHTML }}</a>
+<a class="link" href="{{ .Destination | safeURL }}" rel="noreferrer">{{ $emoji }}{{ .Text | safeHTML }}</a>