diff --git a/assets/sass/_taxonomy.sass b/assets/sass/_taxonomy.sass index 3fb0b90..a17cde2 100644 --- a/assets/sass/_taxonomy.sass +++ b/assets/sass/_taxonomy.sass @@ -21,11 +21,11 @@ table#taxonomy-table thead text-align: left border: none - background: $darkest border-radius: $border-radius $border-radius 0 0 th color: $text + background: $darkest !important padding: 0.6rem 0.6rem text-align: left font-weight: 600 @@ -62,6 +62,12 @@ table#taxonomy-table &:hover, &:focus color: $accent-light + a + color: $text + text-decoration: none + &:hover, &:focus + color: $accent + #taxonomy-page a.term-link padding: 0.3rem 1.2rem margin: 0.2rem @@ -69,9 +75,10 @@ table#taxonomy-table border-radius: $border-radius text-decoration: none font-weight: 500 - color: $text - transition: color 0.4s ease-in-out font-size: 1.2rem + color: $text + transition: color 0.4s ease-in-out, background 0.4s ease-in-out &:hover, &:focus - color: $darkest + color: $darkest !important + background: $text-subtle !important diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..5269355 --- /dev/null +++ b/layouts/404.html @@ -0,0 +1,9 @@ +{{ define "main" }} +
The page you requested cannot be found.
++ + Return to the home page + +
+{{ end }} \ No newline at end of file diff --git a/layouts/_partials/tool-table.html b/layouts/_partials/tool-table.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/taxonomies.html b/layouts/taxonomies.html index f25b372..586853b 100644 --- a/layouts/taxonomies.html +++ b/layouts/taxonomies.html @@ -23,7 +23,7 @@Tool | +Developers | +License | +Purposes | +
---|---|---|---|
{{ .LinkTitle }} | ++ {{ $sep := "" }} + {{ range $key, $vals := .Params }} + {{ if (in (slice "tags" "categories" "series") $key) }} + {{ $sep }} + {{ $key | title }}: + {{ range $i, $val := $vals }} + {{ if $i }}, {{ end }}{{ $val }} + {{ end }} + {{ $sep = "; " }} + {{ end }} + {{ end }} + | +
Tool | +Developers | +License | +Purposes | +
---|---|---|---|
{{ .LinkTitle }} | ++ {{ $sep := "" }} + {{ range $key, $vals := .Params }} + {{ if (in (slice "developers") $key) }} + {{ $sep }} + {{ range $i, $val := $vals }} + {{ partial "term-link.html" (dict "name" $val "taxonomy" $key) }} + {{ end }} + {{ $sep = "; " }} + {{ end }} + {{ end }} + | ++ {{ $sep := "" }} + {{ range $key, $vals := .Params }} + {{ if (in (slice "licenses") $key) }} + {{ $sep }} + {{ range $i, $val := $vals }} + {{ partial "term-link.html" (dict "name" $val "taxonomy" $key) }} + {{ end }} + {{ $sep = "; " }} + {{ end }} + {{ end }} + | ++ {{ $sep := "" }} + {{ range $key, $vals := .Params }} + {{ if (in (slice "purposes") $key) }} + {{ $sep }} + {{ range $i, $val := $vals }} + {{ partial "term-link.html" (dict "name" $val "taxonomy" $key) }} + {{ end }} + {{ $sep = "; " }} + {{ end }} + {{ end }} + | +