small fixes
This commit is contained in:
parent
30e330e7ba
commit
259c3faf63
|
@ -43,7 +43,6 @@ article {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
.article_footer {
|
||||
font-size: 60%;
|
||||
display: flex;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<body>
|
||||
<div class="container">
|
||||
<header>
|
||||
{{ partial "snippets/header" . }}
|
||||
{{ partialCached "snippets/header" . }}
|
||||
</header>
|
||||
<main class="content">
|
||||
{{ partial "snippets/banner" . -}}
|
||||
|
|
|
@ -40,10 +40,12 @@
|
|||
|
||||
{{ $count_href := .context.TableOfContents | strings.Count "href" }}
|
||||
{{ if ge $count_href 4 }}
|
||||
<details open>
|
||||
<summary class="toc-head">Inhaltsverzeichnis</summary>
|
||||
<div class="toc">
|
||||
<div class="toc-head">Inhaltsverzeichnis</div>
|
||||
{{ .context.TableOfContents }}
|
||||
</div>
|
||||
</details>
|
||||
{{ end }}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue