diff options
Diffstat (limited to 'themes/default/layouts/_default/_markup')
3 files changed, 4 insertions, 4 deletions
diff --git a/themes/default/layouts/_default/_markup/render-codeblock.html b/themes/default/layouts/_default/_markup/render-codeblock.html index d629a85..85e60b2 100644 --- a/themes/default/layouts/_default/_markup/render-codeblock.html +++ b/themes/default/layouts/_default/_markup/render-codeblock.html @@ -4,12 +4,12 @@ {{- $hash := print (truncate 8 "" (sha256 .Inner)) .Ordinal -}} {{- $id := print "code-block-" $hash -}} -<code-block id="{{ $id }}" {{ if in (lower $options) "linenos" }}data-lines{{ end }}> +<code-block id="{{ $id }}" {{ if in (lower $options) "linenos" }}data-lines=""{{ end }}> <header> <language-label> <a href="#{{ $id }}">{{ $type }}</a> </language-label> - <button hidden> + <button hidden=""> {{ safeHTML (readFile (print (partial "function-paths.html" "static") "/icons/feather/copy.svg")) }} <span>Copy</span> </button> diff --git a/themes/default/layouts/_default/_markup/render-image.html b/themes/default/layouts/_default/_markup/render-image.html index 3767cb8..8f337ad 100644 --- a/themes/default/layouts/_default/_markup/render-image.html +++ b/themes/default/layouts/_default/_markup/render-image.html @@ -108,7 +108,7 @@ </a> <figcaption> {{ $figcaption }} - <br> + <br /> Index: {{ with $cache }} {{ print "[Cache](" $cache ")" | markdownify }} · {{ end }} {{ print "[Source](" $source ")" | markdownify }} </figcaption> diff --git a/themes/default/layouts/_default/_markup/render-link.html b/themes/default/layouts/_default/_markup/render-link.html index 00a6fd5..ccfbc06 100644 --- a/themes/default/layouts/_default/_markup/render-link.html +++ b/themes/default/layouts/_default/_markup/render-link.html @@ -22,7 +22,7 @@ {{- if $remote }} rel="noopener no-referrer" {{- else }} - data-internal + data-internal="" {{- end }} href="{{ $link | safeURL }}" {{ with or .Title ($link | safeURL) -}} |