From 16729781420fc9a1dc65218c2e87f6d917e5e205 Mon Sep 17 00:00:00 2001 From: "parsiya@gmail.com" Date: Sun, 3 Apr 2016 12:57:56 -0400 Subject: Add 404.html customization using the config file. Fixes #10 --- sample-config.toml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sample-config.toml') 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 -- cgit v1.2.3