diff options
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/baseof.html | 1 | ||||
-rw-r--r-- | layouts/_default/list.html | 14 | ||||
-rw-r--r-- | layouts/_default/single.html | 30 |
3 files changed, 21 insertions, 24 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 7c73289..3bad352 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -29,7 +29,6 @@ </footer> <svg xmlns="http://www.w3.org/2000/svg" width="0" height="0" aria-hidden="true"> - <symbol viewBox="0 0 512 512" id="adjust"> <path d="M8 256c0 136.966 111.033 248 248 248s248-111.034 248-248S392.966 8 256 8 8 119.033 8 256zm248 184V72c101.705 0 184 82.311 184 184 0 101.705-82.311 184-184 184z"/> </symbol> diff --git a/layouts/_default/list.html b/layouts/_default/list.html index fcbfef4..b1281cf 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -4,7 +4,7 @@ <!-- Collect pages using the "search" layout --> {{ $searchPages := where .Site.RegularPages "Layout" "eq" "search" }} - + <main class="list"> <!-- Display search form before listing posts --> @@ -50,11 +50,11 @@ {{ end }} {{ define "svg-extra" }} - <symbol viewBox="0 0 256 512" id="angle-right"> - <path d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"/> - </symbol> + <symbol viewBox="0 0 256 512" id="angle-right"> + <path d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"/> + </symbol> - <symbol viewBox="0 0 448 512" id="angle-double-right"> - <path d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34zm192-34l-136-136c-9.4-9.4-24.6-9.4-33.9 0l-22.6 22.6c-9.4 9.4-9.4 24.6 0 33.9l96.4 96.4-96.4 96.4c-9.4 9.4-9.4 24.6 0 33.9l22.6 22.6c9.4 9.4 24.6 9.4 33.9 0l136-136c9.4-9.2 9.4-24.4 0-33.8z"/> - </symbol> + <symbol viewBox="0 0 448 512" id="angle-double-right"> + <path d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34zm192-34l-136-136c-9.4-9.4-24.6-9.4-33.9 0l-22.6 22.6c-9.4 9.4-9.4 24.6 0 33.9l96.4 96.4-96.4 96.4c-9.4 9.4-9.4 24.6 0 33.9l22.6 22.6c9.4 9.4 24.6 9.4 33.9 0l136-136c9.4-9.2 9.4-24.4 0-33.8z"/> + </symbol> {{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 9f7593b..b0fddf4 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,7 +1,5 @@ {{ define "main" }} - {{ $icons := (.Scratch.Get "svgBundle").RelPermalink }} - <main> <article> <header> @@ -9,18 +7,19 @@ <h1>{{ .Title }}</h1> {{ if or .Params.categories .Params.tags }} - <section class="tags"> + <section class="terms"> <ul> - {{- with .Params.categories -}} - {{- range sort . -}} - <li class="cats"><a class="btn" href="/categories/{{ . | urlize }}">{{ . }}</a></li> - {{- end -}} - {{- end -}} - {{- with .Params.tags -}} - {{- range sort . -}} - <li><a class="btn" href="/tags/{{ . | urlize }}">{{ . }}</a></li> - {{- end -}} - {{ end }} + {{- with .Params.categories -}} + {{- range sort . -}} + <li class="category"><a class="btn" href="/categories/{{ . | urlize }}">{{ . }}</a></li> + {{- end -}} + {{- end -}} + {{- with .Params.tags -}} + {{- range sort . -}} + <li><a class="btn" href="/tags/{{ . | urlize }}">{{ . }}</a></li> + {{- end -}} + {{- end -}} + </ul> </section> {{- end -}} @@ -42,7 +41,7 @@ {{ if .Params.toc }} <details class="toc" open> - <summary>{{ T "table_of_contents" }}</summary> + <summary class="outline-dashed">{{ T "table_of_contents" }}</summary> {{ .Page.TableOfContents }} </details> {{ end }} @@ -64,5 +63,4 @@ <path d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"/> </symbol> {{ end }} - -{{ end }}
\ No newline at end of file +{{ end }} |