diff options
author | Julien Dessaux | 2021-03-11 19:47:15 +0100 |
---|---|---|
committer | Julien Dessaux | 2021-03-11 19:47:15 +0100 |
commit | 5e6844592ad0398adf516295e317fb3866d7464e (patch) | |
tree | 3daa78a36ebd8d4fa063f00939800a9f478aaa4d | |
parent | Add tags to the menu and fixed formatting on tags' page (diff) | |
download | www-5e6844592ad0398adf516295e317fb3866d7464e.tar.gz www-5e6844592ad0398adf516295e317fb3866d7464e.tar.bz2 www-5e6844592ad0398adf516295e317fb3866d7464e.zip |
Several fixes
Diffstat (limited to '')
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | assets/home.css | 3 | ||||
-rw-r--r-- | layouts/_default/terms.html | 6 |
3 files changed, 4 insertions, 7 deletions
@@ -14,7 +14,7 @@ clean: ## make clean # removed all $(DESTDIR) contents .PHONY: serve serve: ## make serve # hugo web server development mode - hugo serve + hugo serve --disableFastRender --noHTTPCache help: @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' diff --git a/assets/home.css b/assets/home.css index 24c5b63..c706cf5 100644 --- a/assets/home.css +++ b/assets/home.css @@ -1,6 +1,3 @@ -.home-page { - min-height: 80vh; -} .home-page h1 { text-align: center; margin-top: 3rem; diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html index 8cca470..530c6a1 100644 --- a/layouts/_default/terms.html +++ b/layouts/_default/terms.html @@ -7,9 +7,9 @@ <h1>{{ .Title }}</h1> <ul> -{{ range .Data.Terms.Alphabetical }} - <li><a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a> - {{ .Count }} posts</li> -{{ end }} + {{ range .Data.Terms.Alphabetical }} + <li><a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a> - {{ .Count }} article{{ if (gt .Count 1 ) }}s{{ end }}</li> + {{ end }} </ul> {{ end }} |