feat: add parameter geekdocPageLastmod (#895)

This commit is contained in:
Robert Kaussow 2024-10-07 21:14:17 +02:00 committed by GitHub
parent bb6cf716b5
commit 15d3e40cdf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 29 additions and 0 deletions

View file

@ -70,6 +70,10 @@ enableRobotsTXT = true
# You can also specify this parameter per page in front matter.
geekdocEditPath = "edit/main/exampleSite"
# (Optional, default false) Show last modification date of the page in the header.
# Keep in mind that last modification date works best if `enableGitInfo` is set to true.
geekdocPageLastmod = true
# (Optional, default true) Enables search function with flexsearch.
# Index is built on the fly and might slow down your website.
geekdocSearch = false
@ -196,6 +200,10 @@ params:
# You can also specify this parameter per page in front matter.
geekdocEditPath: edit/main/exampleSite
# (Optional, default false) Show last modification date of the page in the header.
# Keep in mind that last modification date works best if `enableGitInfo` is set to true.
geekdocPageLastmod: true
# (Optional, default true) Enables search function with flexsearch.
# Index is built on the fly and might slow down your website.
geekdocSearch: false
@ -294,6 +302,9 @@ geekdocRepo = "https://github.com/thegeeklab/hugo-geekdoc"
# the parent directory of the 'content' folder.
geekdocEditPath = "edit/main/exampleSite"
# Show last modification date of the page in the header.
geekdocPageLastmod = true
# Used for 'Edit page' link, set to '.File.Path' by default.
# Can be overwritten by a path relative to 'geekdocEditPath'
geekdocFilePath =
@ -354,6 +365,9 @@ geekdocRepo: "https://github.com/thegeeklab/hugo-geekdoc"
# the parent directory of the 'content' folder.
geekdocEditPath: "edit/main/exampleSite"
# Show last modification date of the page in the header.
geekdocPageLastmod: true
# Used for 'Edit page' link, set to '.File.Path' by default.
# Can be overwritten by a path relative to 'geekdocEditPath'
geekdocFilePath: