diff options
author | Bing-Sheng Chen <gundamew@gmail.com> | 2019-08-07 10:20:20 +0300 |
---|---|---|
committer | Bing-Sheng Chen <gundamew@gmail.com> | 2019-08-07 11:02:14 +0300 |
commit | 8781ae895fd989e05545ae6f3708724d275bba07 (patch) | |
tree | f4c8de02fe56c9525d1cf8017debdee6d9cca501 | |
parent | d79224214ae6e2ba141966d4b515058713ffe383 (diff) |
refactor(global): Do some fixes to follow the newest submission guidelinesv1.6.3
* Add config variable `disableKinds`
* Rename `layouts/index.html` to `layouts/home.html`
See also: gohugoio/hugoThemes#668
-rw-r--r-- | exampleSite/config.toml | 2 | ||||
-rw-r--r-- | layouts/home.html (renamed from layouts/index.html) | 0 |
2 files changed, 2 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 8f79ded..260395d 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -10,6 +10,8 @@ footnoteReturnLinkContents = "↩" hasCJKLanguage = true googleAnalytics = "UA-123-45" +disableKinds = ["taxonomy", "taxonomyTerm", "RSS", "sitemap", "robotsTXT"] + [permalinks] post = "/posts/:slug/" diff --git a/layouts/index.html b/layouts/home.html index db217fa..db217fa 100644 --- a/layouts/index.html +++ b/layouts/home.html |