From 89889841de646ef690e8cc2c530fa808868cafb6cbbe52ccc1cd618d7abbc972 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson <nick@nicholasjohnson.ch> Date: Thu, 8 Dec 2022 00:00:00 +0000 Subject: 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. --- layouts/_default/_markup/render-link.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/_default/_markup') 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> -- cgit v1.2.3