diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2023-01-05 20:29:44 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2023-01-05 20:29:44 +0530 |
commit | fd85ad04cc5686560e8f4e1c501b6136b324f635 (patch) | |
tree | 741c421af2142884668f80d55612b406e15ed93e /layouts | |
parent | 58974666f1a35aeae72c8b7adb2ef1dd8c98c319 (diff) |
properly centered docs page title
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/docs/single.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/docs/single.html b/layouts/docs/single.html index 64a74e4..1823c5d 100644 --- a/layouts/docs/single.html +++ b/layouts/docs/single.html @@ -1,7 +1,7 @@ {{ define "main" }} {{ $wrappedTable := printf "<div class='table-wrapper'> ${1} </div>" }} <div> - <h1 style="text-align: center;" class="title">{{ .Title }}</h1> + <h1 class="title centered">{{ .Title }}</h1> <!--p style="text-align: center;">{{ .Summary }}</p--> {{ .Content | replaceRE "(<table>(?:.|\n)+?</table>)" $wrappedTable | safeHTML }} |