diff --git a/assets/scss/_base.scss b/assets/scss/_base.scss index 2c00d63..5d13cef 100644 --- a/assets/scss/_base.scss +++ b/assets/scss/_base.scss @@ -47,6 +47,24 @@ h6 { font-weight: 700; color: $alt-fg-color; margin: 6.4rem 0 3.2rem 0; + + &:hover .heading-link { + visibility: visible; + } + + .heading-link { + color: $link-color; + font-weight: inherit; + text-decoration: none; + font-size: 80%; + visibility: hidden; + } + + .title-link { + color: inherit; + font-weight: inherit; + text-decoration: none; + } } h1 { diff --git a/assets/scss/_base_dark.scss b/assets/scss/_base_dark.scss index e14e502..c05ed2c 100644 --- a/assets/scss/_base_dark.scss +++ b/assets/scss/_base_dark.scss @@ -14,6 +14,24 @@ h5, h6 { color: $alt-fg-color-dark; + + &:hover .heading-link { + visibility: visible; + } + + .heading-link { + color: $link-color-dark; + font-weight: inherit; + text-decoration: none; + font-size: 80%; + visibility: hidden; + } + + .title-link { + color: inherit; + font-weight: inherit; + text-decoration: none; + } } code { diff --git a/layouts/_default/_markup/render-heading.html b/layouts/_default/_markup/render-heading.html new file mode 100644 index 0000000..712241b --- /dev/null +++ b/layouts/_default/_markup/render-heading.html @@ -0,0 +1,6 @@ + + {{ .Text | safeHTML }} + + + + diff --git a/layouts/partials/list.html b/layouts/partials/list.html index b4877b2..26986a2 100644 --- a/layouts/partials/list.html +++ b/layouts/partials/list.html @@ -1,11 +1,13 @@

- {{- if eq .Kind "term" -}} - {{- i18n .Data.Singular | title -}} - {{- print ": " -}} - {{- end -}} + + {{- if eq .Kind "term" -}} + {{- i18n .Data.Singular | title -}} + {{- print ": " -}} + {{- end -}} - {{- .Title -}} + {{- .Title -}} +

{{ .Content }}