Skip to content

Commit

Permalink
Fix sections; Add template for "doc" section
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushalmodi committed Sep 11, 2018
1 parent 10e09f0 commit 0ef84a2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion doc/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ LanguageCode = "en-us" # Used in RSS generation

disableFastRender = true # Hugo 0.30

disableKinds = ["section", "taxonomy", "taxonomyTerm"]
disableKinds = ["taxonomy", "taxonomyTerm"]

[Permalinks]
# post = "/:year/:month/:title/"
Expand Down
7 changes: 7 additions & 0 deletions doc/layouts/section/doc.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<!doctype html>
<html lang="en">
<head>
<title>ox-hugo Documentation</title>
<meta http-equiv="refresh" content="0; url=/" />
</head>
</html>
1 change: 1 addition & 0 deletions doc/static/_redirects
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/doc/ https://ox-hugo.scripter.co/ 301!
/test/* https://ox-hugo-tests.netlify.com/:splat 200!
https://ox-hugo.netlify.com/* https://ox-hugo.scripter.co/:splat 301!

0 comments on commit 0ef84a2

Please sign in to comment.