mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-17 13:25:57 -06:00
Fix #42
This commit is contained in:
parent
179eda3450
commit
f6140abc26
@ -142,10 +142,17 @@
|
||||
|
||||
|
||||
/* Content formatting */
|
||||
.series-box {
|
||||
background-color: #222;
|
||||
padding: 16px;
|
||||
border-radius: 8px;
|
||||
margin: 20px 0;
|
||||
}
|
||||
|
||||
#table-of-contents {
|
||||
background-color: #222;
|
||||
padding: 8px 20px;
|
||||
border-radius: 5px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
#table-of-contents summary {
|
||||
|
@ -8,6 +8,17 @@
|
||||
|
||||
{{ partial "post-metadata.html" . }}
|
||||
|
||||
{{ with (.GetTerms "series") }}
|
||||
{{ range . }}
|
||||
<div class="series-box">
|
||||
{{ partial "icon.html" "info" }}
|
||||
This post is part of a series:
|
||||
<a href="{{ .Permalink }}">{{ .LinkTitle }}</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
|
||||
{{ if .Params.Toc }}
|
||||
<div id="table-of-contents">
|
||||
<details>
|
||||
|
@ -23,7 +23,6 @@
|
||||
{{ partial "translations-meta-item.html" . }}
|
||||
{{ partial "readingtime-meta-item.html" . }}
|
||||
{{ partial "viewsource-meta-item.html" . }}
|
||||
{{ partial "series-meta-item.html" . }}
|
||||
{{ partial "tags-meta-item.html" . }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
Loading…
Reference in New Issue
Block a user