feat: add page parameter geekdocAlign to control a pages text alignment (#130)
This commit is contained in:
parent
cd0cfe37ae
commit
e629d15607
5 changed files with 48 additions and 3 deletions
|
@ -1,7 +1,8 @@
|
|||
---
|
||||
title: Documentation
|
||||
title: Welcome to the documentation
|
||||
description: Geekdoc is a simple Hugo theme for documentations. It is intentionally designed as a fast and lean theme and may not fit the requirements of complex projects. If a more feature-complete theme is required there are a lot of got alternatives out there.
|
||||
geekdocNav: false
|
||||
geekdocAlign: center
|
||||
---
|
||||
|
||||
<!-- markdownlint-capture -->
|
||||
|
|
|
@ -248,6 +248,9 @@ geekdocAnchor = true
|
|||
# page from search data, feeds, etc.
|
||||
# WARNING: Consider hosting a standalone, fully auth-protected static page for secret information instead!
|
||||
geekdocProtected = false
|
||||
|
||||
# Set 'left' (default), 'center' or 'right' to configure the text align of a page.
|
||||
geekdocAlign = "left"
|
||||
```
|
||||
|
||||
{{< /tab >}}
|
||||
|
@ -305,6 +308,9 @@ geekdocAnchor: true
|
|||
# page from search data, feeds, etc.
|
||||
# WARNING: Consider hosting a standalone, fully auth-protected static page for secret information instead!
|
||||
geekdocProtected: false
|
||||
|
||||
# Set 'left' (default), 'center' or 'right' to configure the text align of a page.
|
||||
geekdocAlign: "left"
|
||||
```
|
||||
|
||||
{{< /tab >}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue