diff options
author | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2021-05-08 22:12:55 +0700 |
---|---|---|
committer | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2021-05-08 22:12:55 +0700 |
commit | 1e177f34da8089f1c508501d73efc84016f84a55 (patch) | |
tree | 2b2bea31ab9f0a7cc6c2f533e1ee0a4b534413ea /layouts/partials | |
parent | cfe47619942f4416878ce3680eb09d28fcddadc4 (diff) | |
download | blog-1e177f34da8089f1c508501d73efc84016f84a55.tar.gz |
Fix some layout issues
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/postInfo.html | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/layouts/partials/postInfo.html b/layouts/partials/postInfo.html index d7146fd..f9052b0 100644 --- a/layouts/partials/postInfo.html +++ b/layouts/partials/postInfo.html @@ -14,21 +14,21 @@ <div class="post-taxonomies"> {{ if .Params.categories }} - categories: - <ul class="post-categories"> - {{ range .Params.categories }} - <li><a href="{{ "categories/" | urlize | absLangURL }}">{{ . }}</a></li> - {{ end }} - </ul> + categories: + <ul class="post-categories"> + {{ range .Params.categories }} + <li><a href="{{ "categories/" | urlize | absLangURL }}">{{ . }}</a></li> {{ end }} - <br> - tagged: - {{ if .Params.tags }} - <ul class="post-tags"> - {{ range .Params.tags }} - <li><a href="{{ "tags/" | absLangURL }}{{ . | urlize }}">#{{ . }}</a></li> - {{ end }} - </ul> + </ul> + {{ end }} + <br> + {{ if .Params.tags }} + tagged: + <ul class="post-tags"> + {{ range .Params.tags }} + <li><a href="{{ "tags/" | absLangURL }}{{ . | urlize }}">#{{ . }}</a></li> + {{ end }} + </ul> {{ end }} </div> </div> |