added announcement module
This commit is contained in:
@@ -53,6 +53,9 @@ path = "github.com/gethugothemes/hugo-modules/components/social-share"
|
||||
[[imports]]
|
||||
path = "github.com/gethugothemes/hugo-modules/components/cookie-consent"
|
||||
|
||||
[[imports]]
|
||||
path = "github.com/gethugothemes/hugo-modules/components/announcement"
|
||||
|
||||
[[imports]]
|
||||
path = "github.com/gethugothemes/hugo-modules/components/custom-script"
|
||||
|
||||
|
||||
@@ -52,6 +52,12 @@ show_description = true
|
||||
show_tags = true
|
||||
show_categories = true
|
||||
|
||||
# announcement
|
||||
# announcement module: https://github.com/gethugothemes/hugo-modules/tree/master/components/announcement
|
||||
[announcement]
|
||||
enable = true
|
||||
expire_days = 7
|
||||
content = "You must replace the **baseURL** in **hugo.toml** file when deploying, you can manage this announcement from the **params.toml** file."
|
||||
|
||||
# seo meta data for OpenGraph / Twitter Card
|
||||
# seo module: https://github.com/gethugothemes/hugo-modules/tree/master/seo-tools/basic-seo
|
||||
|
||||
Reference in New Issue
Block a user