diff options
Diffstat (limited to 'config')
| -rw-r--r-- | config/_default/hugo.toml | 17 | ||||
| -rw-r--r-- | config/_default/menus/menus.en.toml | 43 | ||||
| -rw-r--r-- | config/_default/params.toml | 11 |
3 files changed, 11 insertions, 60 deletions
diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index 5eb4122..215e255 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -4,7 +4,7 @@ enableGitInfo = false # additional settings baseURL = "https://corruptlamar.com/" -canonifyURLs = false +canonifyURLs = true enableEmoji = true enableRobotsTXT = true enableInlineShortcodes = true @@ -20,15 +20,6 @@ languageCode = "en-us" defaultContentLanguage = "en" defaultContentLanguageInSubdir = false -[outputFormats.REDIR] -mediaType = "text/netlify" -baseName = "_redirects" -isPlainText = true -notAlternative = true - -[mediaTypes."text/netlify"] -delimiter = "" - [outputs] home = ["HTML", "RSS", "REDIR"] @@ -85,7 +76,6 @@ home = ["HTML", "RSS", "REDIR"] keepWhitespace = true [module] - # replacements = "github.com/anoduck/mod-timelinejs -> ../../mod-timelinejs" [module.hugoVersion] extended = true min = "0.134.0" @@ -117,6 +107,7 @@ home = ["HTML", "RSS", "REDIR"] [[module.imports]] path = "github.com/gethinode/mod-mermaid" [[module.imports]] - path = "github.com/gethinode/mod-leaflet" - [[module.imports]] path = "github.com/anoduck/mod-timelinejs" + [[module.imports]] + path = "github.com/anoduck/mod-alwaysdark" + diff --git a/config/_default/menus/menus.en.toml b/config/_default/menus/menus.en.toml index 22971e5..f95036a 100644 --- a/config/_default/menus/menus.en.toml +++ b/config/_default/menus/menus.en.toml @@ -3,16 +3,10 @@ # Main Menu [[main]] - name = "Home" - pageRef = "/" - weight = 10 - -[[main]] name = "Tips" pageRef = "/tips/" - weight = 15 + weight = 10 -# Evidence Submenu [[main]] name = "Evidence" pageRef = "/evidence/" @@ -187,38 +181,3 @@ url = "https://twitter.com/solar_dump" parent = "Our Network" weight = 40 - -# # External Links -# [[footer]] -# name = "Other Sites" -# weight = 40 - -# [[footer]] -# name = "Lamar County Code" -# url = "https://library.municode.com/ga/lamar_county/codes/code_of_ordinances" -# parent = "Other Sites" -# weight = 10 - -# [[footer]] -# name = "Lamar County Commissioners" -# url = "https://lamarcountyga.com" -# parent = "Other Sites" -# weight = 20 - -# [[footer]] -# name = "Lamar Co Online Tax Records" -# url = "https://qpublic.net/ga/lamar/" -# parent = "Other Sites" -# weight = 30 - -# [[footer]] -# name = "2023 Georgia Code" -# url = "https://law.justia.com/codes/georgia/2023/" -# parent = "Other Sites" -# weight = "40" - -# [[footer]] -# name = "2022 Federal Code" -# url = "https://law.justia.com/codes/us/2022/" -# parent = "Other Sites" -# weight = 50
\ No newline at end of file diff --git a/config/_default/params.toml b/config/_default/params.toml index 8df28e1..a6a2d5c 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -4,7 +4,7 @@ enableDarkMode = true enableLanguageSelectionStorage = false modes = ["light", "dark"] - canonifyAssetsURLs = false + canonifyAssetsURLs = true endorse = false footerBelowFold = false loading = "eager" @@ -24,8 +24,9 @@ purgeHTMLComments = false [docs] - github = "https://github.com/anoduck/hinode-template" - release = "https://github.com/anoduck/hinode-template/releases/tag/" + contentPath = "/docs/" + github = "https://github.com/anoduck/CL-Docs" + release = "https://github.com/anoduck/CL-Docs/releases/tag/" checkVersion = false [home] @@ -48,7 +49,7 @@ fixed = true offset = "5.5rem" search = true - searchModal = false + searchModal = true breadcrumb = true toc = true sidebar = true @@ -274,4 +275,4 @@ skipMissing = true [footer] - license = "All rights reserved. Corrupt Lamar 2024"
\ No newline at end of file + license = "All rights reserved. Corrupt Lamar 2024" |
