diff options
Diffstat (limited to 'themes/default/layouts/_default')
5 files changed, 14 insertions, 13 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) -}} diff --git a/themes/default/layouts/_default/baseof.html b/themes/default/layouts/_default/baseof.html index 82d5acf..d42a954 100644 --- a/themes/default/layouts/_default/baseof.html +++ b/themes/default/layouts/_default/baseof.html @@ -3,7 +3,8 @@ lang="en-us" data-kind="{{ .Page.Kind }}" data-type="{{ .Page.Type }}" - itemscope itemtype="http://schema.org/BlogPosting" + itemscope="" + itemtype="http://schema.org/BlogPosting" > <head> <title> diff --git a/themes/default/layouts/_default/single.html b/themes/default/layouts/_default/single.html index d94f514..bf077f9 100644 --- a/themes/default/layouts/_default/single.html +++ b/themes/default/layouts/_default/single.html @@ -1,12 +1,12 @@ -{{ define "styles" }} +{{- define "styles" -}} <style> {{ partial "styles-navigator.html" (dict "Link" "/") | safeCSS }} </style> -{{ end }} +{{- end -}} -{{ define "middle" }} +{{- define "middle" -}} -{{ partial "navigator-middle.html" +{{- partial "navigator-middle.html" (dict "Title" "Message" "Subtitle" "Thread" @@ -16,7 +16,7 @@ "Id" "back" "Context" . ) -}} +-}} <micro-thread> {{ .Render "summary" }} @@ -45,8 +45,8 @@ {{- end -}} </micro-thread> -{{ end }} +{{- end -}} -{{ define "right" }} +{{- define "right" -}} {{- partial "navigator-right.html" . -}} -{{ end }} +{{- end -}} |