diff options
author | parsiya@gmail.com <parsiya@gmail.com> | 2016-04-03 19:57:56 +0300 |
---|---|---|
committer | parsiya@gmail.com <parsiya@gmail.com> | 2016-04-03 19:57:56 +0300 |
commit | 16729781420fc9a1dc65218c2e87f6d917e5e205 (patch) | |
tree | 9ea4a94e115bf30b637f5b0866272bc971ae2dab /sample-config.toml | |
parent | 7061ae9dcabf869a4e10088d9d3e95676d4d968e (diff) |
Add 404.html customization using the config file. Fixes #10
Diffstat (limited to 'sample-config.toml')
-rw-r--r-- | sample-config.toml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sample-config.toml b/sample-config.toml index 370ef76..4448fbd 100644 --- a/sample-config.toml +++ b/sample-config.toml @@ -105,6 +105,12 @@ post = "/blog/:year-:month-:day-:title/" # change the post URL to look like the # paths should be relative to the `static` directory (either the website static directory or the theme one) # custom_css = ["css/custom.css","css/custom2.css"] + # 404.html header and text -both support markdown + notfound_header = "There's nothing here" + + notfound_text = """Please either go back or use the navigation/sidebar menus. + """ + # blackfriday is Hugo's markdown engine. Options are at: https://gohugo.io/overview/configuration/ (scroll down to "Configure Blackfriday rendering") [blackfriday] hrefTargetBlank = true # open the external links in a new window |