diff options
-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 }} |