aboutsummaryrefslogtreecommitdiff
path: root/layouts/docs
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/docs')
-rw-r--r--layouts/docs/list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/docs/list.html b/layouts/docs/list.html
index 998d504..03b3721 100644
--- a/layouts/docs/list.html
+++ b/layouts/docs/list.html
@@ -1,6 +1,6 @@
{{ define "main" }}
<div>
- <h1 class="title" style="{{ if eq (len .Pages) 0 }}text-align: center;{{ end }}">
+ <h1 class="title {{ if eq (len .Pages) 0 }}centered{{ end }}">
{{ if .Params.heading }}{{ .Params.heading }}{{ else }}{{ .Title }}{{ end }}
</h1>
{{ if ne (len .Pages) 0 }}