mirror of https://github.com/lxndrblz/anatole.git

Alexander Bilz
21.40.2021 6f804985e4e301afc26e9d4cf26b8f3030d8887a
Show categories on frontpage
2 files modified
11 ■■■■ changed files
assets/css/style.css 5 ●●●● patch | view | raw | blame | history
layouts/index.html 6 ●●●●● patch | view | raw | blame | history
assets/css/style.css
@@ -429,10 +429,13 @@
    margin: 1em;
}
.info span {
    margin-right: 0.5em;
}
.post .post-footer .meta a {
    text-decoration: none;
    color: var(--body-color);
    padding-right: 10px;
}
.post .post-footer .meta a:hover {
layouts/index.html
@@ -30,11 +30,13 @@
            </div>
            <div class="post-footer">
                <div class="meta">
                    <div class="info"><em class="fas fa-calendar-day"></em><span
                                class="date">{{ if isset .Site.Params "indexdateformat" }}
                    <div class="info">
                        <em class="fas fa-calendar-day"></em>
                            <span class="date">{{ if isset .Site.Params "indexdateformat" }}
                                                 {{ .Date.Format .Site.Params.indexDateFormat }} 
                                             {{ else }} {{.Date.Format "Mon, Jan 2, 2006"}} 
                                             {{ end }}</span>
                        {{ with .Page.Params.Categories }}{{ partial "taxonomy/categories.html" . }}{{ end }}
                        {{ with .Params.tags }}
                            {{- range $index, $el := . -}}
                                <a class="tag"