From 8c72811789f2d71c2b7863afb961fcdcd7898c47 Mon Sep 17 00:00:00 2001 From: anoduck <9925396+anoduck@users.noreply.github.com> Date: Fri, 7 Mar 2025 20:30:09 -0500 Subject: Created News and Docs folders --- config/_default/hugo.toml | 16 ++++++++------ config/_default/languages.toml | 4 ++-- config/_default/menus/menus.en.toml | 10 +++++++++ config/_default/params.toml | 44 ++++++++++++++++++++++++++++++++----- 4 files changed, 60 insertions(+), 14 deletions(-) (limited to 'config') diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index 80ff47a..742cd54 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -1,5 +1,5 @@ title = "Corrupt Lamar" -copyright = "Copyright © 2024 Corrupt Lamar." +copyright = "Copyright © 2025 Corrupt Lamar." enableGitInfo = false # additional settings @@ -37,7 +37,7 @@ home = ["HTML", "RSS", "REDIR"] disabled = false simple = true - [privacy.twitter] + [privacy.x] disabled = false enableDNT = true simple = true @@ -53,7 +53,7 @@ home = ["HTML", "RSS", "REDIR"] [services] [services.instagram] disableInlineCSS = true - [services.twitter] + [services.x] disableInlineCSS = true [services.googleAnalytics] ID ="G-QZ7FLNSTXT" @@ -78,7 +78,7 @@ home = ["HTML", "RSS", "REDIR"] keepWhitespace = true [module] - replacements = "github.com/anoduck/mod-popup --> ../../mod-popup" +# replacements = "github.com/anoduck/mod-popup --> ../../mod-popup" [module.hugoVersion] extended = true min = "0.134.0" @@ -102,9 +102,11 @@ home = ["HTML", "RSS", "REDIR"] excludeFiles = "emails/*" source = "static" target = "static" - [[module.mounts]] - source = "netlify.toml" - target = "assets/config/netlify.toml" + # [[module.mounts]] + # source = "netlify.toml" + # target = "assets/config/netlify.toml" + [[module.imports]] + path = "github.com/gethinode/mod-cookieyes" [[module.imports]] path = "github.com/gethinode/hinode" [[module.imports]] diff --git a/config/_default/languages.toml b/config/_default/languages.toml index 5f18c96..2f7d74f 100644 --- a/config/_default/languages.toml +++ b/config/_default/languages.toml @@ -3,9 +3,9 @@ contentDir = "content" weight = 1 [en.params.head] - tagline = "The evidence surrounding the loss of our home." + tagline = "How a group of individuals persecuted our family and violated the law in order to run out of the county, and the county out of millions." [en.params.social] title = "Follow us on X" caption = "Show your support." - [en.params.footer] + # [en.params.footer] # license = "Licensed under Creative Commons (CC BY-NC-SA 4.0)." diff --git a/config/_default/menus/menus.en.toml b/config/_default/menus/menus.en.toml index f95036a..010c6ad 100644 --- a/config/_default/menus/menus.en.toml +++ b/config/_default/menus/menus.en.toml @@ -7,6 +7,11 @@ pageRef = "/tips/" weight = 10 +[[main]] + name = "Info" + pageRef = "/docs/" + weight = 15 + [[main]] name = "Evidence" pageRef = "/evidence/" @@ -28,6 +33,11 @@ pageRef = "/communication" weight = 50 +[[main]] + name = "News" + pageRef = "/news/" + weight = 55 + [[main]] name = "Posts" pageRef = "/posts/" diff --git a/config/_default/params.toml b/config/_default/params.toml index 1ef9adc..08e7156 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -1,6 +1,6 @@ [main] separator = "-" - description = "The evidence surrounding the loss of our home." + description = "How a group of individuals persecuted our family and violated the law in order to run out of the county, and the county out of millions." enableDarkMode = true enableLanguageSelectionStorage = false modes = ["light", "dark"] @@ -30,7 +30,7 @@ checkVersion = false [home] - sections = [ "reasons", "fpnav", "evidence", "legal", "communication", "posts" ] + sections = [ "reasons", "fpnav", "docs", "evidence", "legal", "communication", "posts", "news" ] fullCover = true centerHeadline = true style = "gradient-featured" @@ -106,8 +106,25 @@ # toml-docs-start sections # This determines the layout format for each secton of the site. [sections] + [sections.docs] + title = "Docs" + reference = "Documentation" + layout = "card" + sort = "date" + reverse = true + nested = true + cols = 3 + background = "" + color = "" + padding = "0" + header = "full" + footer = "none" + orientation = "stacked" + style = "border-0 card-zoom" + homepage = 3 + separator = true [sections.evidence] - title = "Evidence and Records" + title = "Evidence" reference = "More Evidence" layout = "card" sort = "date" @@ -124,7 +141,7 @@ homepage = 3 separator = true [sections.posts] - title = "News and Commentary" + title = "Posts" reference = "More Posts" layout = "card" sort = "date" @@ -179,7 +196,7 @@ # homepage = 3 # separator = true [sections.legal] - title = "Legal Sources and Topics" + title = "Legal" reference = "More On Legal" layout = "card" sort = "title" @@ -212,6 +229,23 @@ style = "border-0 card-zoom" homepage = 3 separator = true + [sections.news] + title = "News" + reference = "Recent News" + layout = "card" + sort = "date" + reverse = true + nested = true + cols = 3 + background = "" + color = "" + padding = "0" + header = "full" + footer = "none" + orientation = "stacked" + style = "border-0 card-zoom" + homepage = 3 + separator = true [sections.reasons] title = "Reasons why it matters to you:" layout = "list" -- cgit v1.2.3