mirror of
https://github.com/TrudeEH/web.git
synced 2025-12-06 08:23:37 +00:00
Add stars to categories and taxonomies
This commit is contained in:
@@ -22,6 +22,10 @@ code {
|
|||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: "AdwaitaSans", sans-serif;
|
font-family: "AdwaitaSans", sans-serif;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
html {
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
|
|||||||
@@ -17,10 +17,15 @@
|
|||||||
{{- print " dark" }}
|
{{- print " dark" }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
" id="top">
|
" id="top">
|
||||||
{{ if .IsHome }}
|
{{ if or .IsHome (eq .Kind "section") (eq .Kind "taxonomy") (eq .Kind "term") }}
|
||||||
<div id='stars'></div>
|
<div id='stars'></div>
|
||||||
<div id='stars2'></div>
|
<div id='stars2'></div>
|
||||||
<div id='stars3'></div>
|
<div id='stars3'></div>
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
margin-top: -6px !important;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- partialCached "header.html" . .Page -}}
|
{{- partialCached "header.html" . .Page -}}
|
||||||
<main class="main">
|
<main class="main">
|
||||||
|
|||||||
Reference in New Issue
Block a user