diff options
author | Linlin Yan <yanlinlin82@gmail.com> | 2022-04-04 21:07:56 +0300 |
---|---|---|
committer | Linlin Yan <yanlinlin82@gmail.com> | 2022-04-04 21:07:56 +0300 |
commit | 935bfaaa53e43135103de922ba9ee875f033ab02 (patch) | |
tree | d8896f6a5b241dd0dffd8157b97bdf7e0d87fe98 /layouts | |
parent | d99321e01fb0a900efd64034376ee9c320e19710 (diff) |
Update CSS.
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/list.html | 2 | ||||
-rw-r--r-- | layouts/_default/section.html | 2 | ||||
-rw-r--r-- | layouts/index.html | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index a1bb075..9e2a0df 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -2,7 +2,7 @@ <div> <h1>{{ .Title }}</h1> </div> -<ul> +<ul class="article-list"> {{ range .Paginator.Pages -}} <li>{{ .Date.Format (.Site.Params.dateFormat | default "2006-01-02 15:04") }} - <a href="{{ .RelPermalink }}">{{ .Title }}</a></li> {{ end -}} diff --git a/layouts/_default/section.html b/layouts/_default/section.html index c7faf14..19302e9 100644 --- a/layouts/_default/section.html +++ b/layouts/_default/section.html @@ -5,7 +5,7 @@ <div> {{ .Content -}} </div> -<ul> +<ul class="article-list"> {{ range .Paginator.Pages -}} <li>{{ with .Date }}{{ .Format "2006-01-02 15:04" }} - {{ end }}<a href="{{ .RelPermalink }}">{{ .Title }}</a>{{ with .Description }}: {{ . }}{{ end }}</li> {{ end -}} diff --git a/layouts/index.html b/layouts/index.html index 5537f06..1f8affa 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -2,7 +2,7 @@ <div> {{ .Content -}} </div> -<ul> +<ul class="article-list"> {{ range (.Paginate ( where .Site.RegularPages "Type" "in" site.Params.mainSections )).Pages -}} <li>{{ .Date.Format (.Site.Params.dateFormat | default "2006-01-02 15:04") }} - <a href="{{ .RelPermalink }}">{{ .Title }}</a></li> {{ end -}} |