diff options
Diffstat (limited to 'exampleSite')
-rw-r--r-- | exampleSite/config.toml | 13 | ||||
-rw-r--r-- | exampleSite/content/search/_index.md | 8 |
2 files changed, 17 insertions, 4 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 7df8ba0..e93a58a 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -2,8 +2,6 @@ baseURL = "https://example.com" title = "Hugo Theme Fuji" theme = "fuji" -[outputs] - home = ["html", "rss", "json"] hasCJKLanguage = true enableEmoji = true enableRobotsTXT = true @@ -18,6 +16,9 @@ paginate = 10 # googleAnalytics = "UA-000000000-0" # Set your Google Analytics UA here +[outputs] + home = ["html", "rss", "json"] + [permalinks] post = "/:section/:filename/" # Custom post links, e.g. "/:year/:month/:title/" @@ -96,13 +97,17 @@ paginate = 10 url = "/" weight = 1 [[menu.nav]] + name = "Search" + url = "/search/" + weight = 2 + [[menu.nav]] name = "Archives" url = "/archives/" - weight = 2 + weight = 3 [[menu.nav]] name = "About" url = "/about/" - weight = 3 + weight = 4 [[menu.link]] name = "GitHub" diff --git a/exampleSite/content/search/_index.md b/exampleSite/content/search/_index.md new file mode 100644 index 0000000..d07189d --- /dev/null +++ b/exampleSite/content/search/_index.md @@ -0,0 +1,8 @@ ++++ +title = "Search" +description = "" ++++ + +You can change search page details above. + +Keep this file saft to ensure Hugo generate the search page. |