This commit is contained in:
BBaoVanC 2021-11-13 23:31:20 -06:00
parent 179eda3450
commit f6140abc26
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
3 changed files with 19 additions and 2 deletions

View File

@ -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 {

View File

@ -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>

View File

@ -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 }}