diff options
author | Martijn Engler <martijnengler@users.noreply.github.com> | 2024-01-23 10:28:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-23 10:28:44 +0100 |
commit | dec11203de4ad0877f4cb0fec4c0305c4fccca8e (patch) | |
tree | 508a977848092d7a2c54ae4482d8bec26836b01a /exampleSite/config.toml | |
parent | 939a4e9e00e18d07ac8e3ba3f314c4e4b9e9f0ba (diff) | |
download | hugo-bearcub-dec11203de4ad0877f4cb0fec4c0305c4fccca8e.tar.gz hugo-bearcub-dec11203de4ad0877f4cb0fec4c0305c4fccca8e.tar.bz2 |
Use hugo.toml instead of config.toml (#74)
* Use hugo.toml instead of config.toml
Use the file hugo.toml in both the README.md and the exampleSite, since
Hugo will look for this file first.
The current instructions (using config.toml) in a new Hugo site
(that has a hugo.toml-file) means that the site doesn't work, or the
theme is not activated.
Note that this is a breaking change for sites running on older versions.
(But v0.110.0 was released almost a year ago.)
Relevant Hugo commit:
https://github.com/gohugoio/hugo/commit/f38a2fbd2e4de7f095a833b448cb8bc053955ce2
* Require `hugo v0.110.0`
> Make hugo.toml the new config.toml
see https://github.com/gohugoio/hugo/releases/tag/v0.110.0
---------
Co-authored-by: Jan Raasch <425211+janraasch@users.noreply.github.com>
Diffstat (limited to 'exampleSite/config.toml')
-rw-r--r-- | exampleSite/config.toml | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml deleted file mode 100644 index d67e845..0000000 --- a/exampleSite/config.toml +++ /dev/null @@ -1,52 +0,0 @@ -# Base URL used when generating links to your pages -# Set to the URL for your site -baseURL = "https://example.com" - -# The name of this wonderful theme ;-). -theme = 'hugo-bearblog' - -# Basic metadata configuration for your blog. -title = "Hugo ʕ•ᴥ•ʔ Bear Blog" -author = "Jane Doe" -copyright = "Copyright © 2020, Jane Doe." -languageCode = "en-US" - -# Generate a nice robots.txt for SEO -enableRobotsTXT = true - -# Generate "Bearblog"-like URLs !only!, see https://bearblog.dev/. -disableKinds = ["taxonomy"] -ignoreErrors = ["error-disable-taxonomy"] -[permalinks] - blog = "/:slug/" - tags = "/blog/:slug" - -[params] - # The "description" of your website. This is used in the meta data of your generated html. - description = "Hugo + Bear = :heart:" - - # The path to your "favicon". This should be a square (at least 32px x 32px) png-file. - # Hint: It's good practise to also put a "favicon.ico"-file into your "static"-folder. - favicon = "images/favicon.png" - - # These "images" are used for the structured data templates. This will show up, when - # services like Twitter or Slack want to generate a preview of a link to your site. - # See https://gohugo.io/templates/internal#twitter-cards and - # https://gohugo.io/templates/internal#open-graph. - images = ["images/share.png"] - - # Another "title" :-). This one is used as the site_name on the Hugo's internal - # opengraph structured data template. - # See https://ogp.me/ and https://gohugo.io/templates/internal#open-graph. - title = "Hugo ʕ•ᴥ•ʔ Bear" - - # This theme will, by default, inject a made-with-line at the bottom of the page. - # You can turn it off, but we would really appreciate if you don’t :-). - # hideMadeWithLine = true - - # By default, this theme displays dates with a format like "02 Jan, 2006", but - # you can customize it by setting the `dateFormat` param in your site's config - # file. See [Hugo's Format function docs](https://gohugo.io/functions/format/) - # for details. An example TOML config that uses [ISO - # 8601](https://en.wikipedia.org/wiki/ISO_8601) format: - # dateFormat = "2006-01-02" |