feat: add page parameter geekdocAlign to control a pages text alignment (#130)

This commit is contained in:
Robert Kaussow 2021-05-19 00:00:57 +02:00 committed by GitHub
parent cd0cfe37ae
commit e629d15607
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 48 additions and 3 deletions

View file

@ -1,7 +1,7 @@
{{ define "main" }}
{{ partial "page-header" . }}
<article class="gdoc-markdown">
<article class="gdoc-markdown gdoc-markdown__align--{{ default "left" (.Page.Params.GeekdocAlign | lower) }}">
<h1>{{ partial "title" . }}</h1>
{{ partial "content" . }}
</article>