diff options
| author | Anoduck, The Anonymous Duck <9925396+anoduck@users.noreply.github.com> | 2025-02-16 09:16:39 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-16 09:16:39 +0000 |
| commit | b5290138e1f73a7a56578f9975ba3b50829ca8d4 (patch) | |
| tree | b4d2d0d4a5b10754f0d075248f97f63f74bbb9aa /config | |
| parent | 5354e537b7e02b96cf0b842adfc5faaae5d1a862 (diff) | |
| parent | 5086a041c02412f1a5f811325d4798c49acd328b (diff) | |
Merge pull request #77 from anoduck/develop
Regardless of failed style linting pulling this shit.
Diffstat (limited to 'config')
| -rw-r--r-- | config/_default/hugo.toml | 9 | ||||
| -rw-r--r-- | config/_default/params.toml | 18 | ||||
| -rw-r--r-- | config/_default/server.toml | 18 |
3 files changed, 34 insertions, 11 deletions
diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index 215e255..80ff47a 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -57,6 +57,8 @@ home = ["HTML", "RSS", "REDIR"] disableInlineCSS = true [services.googleAnalytics] ID ="G-QZ7FLNSTXT" + [services.disqus] + shortname = 'corruptlamar' [outputFormats] [outputFormats.XML] @@ -76,6 +78,7 @@ home = ["HTML", "RSS", "REDIR"] keepWhitespace = true [module] + replacements = "github.com/anoduck/mod-popup --> ../../mod-popup" [module.hugoVersion] extended = true min = "0.134.0" @@ -110,4 +113,10 @@ home = ["HTML", "RSS", "REDIR"] path = "github.com/anoduck/mod-timelinejs" [[module.imports]] path = "github.com/anoduck/mod-alwaysdark" + [[module.imports]] + path = "github.com/anoduck/mod-countup" + [[module.imports]] + path = "github.com/anoduck/mod-popup" + [[module.imports]] + path = "github.com/anoduck/mod-juxtapose" diff --git a/config/_default/params.toml b/config/_default/params.toml index a6a2d5c..1ef9adc 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -271,8 +271,22 @@ theytookourhome = "https://theytookourhome.com" contact = "https://contact.corruptlamar.com" +[footer] + license = "All rights reserved. Corrupt Lamar 2024" + [modules.fontawesome] skipMissing = true -[footer] - license = "All rights reserved. Corrupt Lamar 2024" +[modules.countup] + debug = false + +[modules.timelinejs] + debug = false + +[modules.popup] + debug = false + title = "Corrupt Lamar is constantly evolving." + btnlabel = "Close" + image = "https://res.cloudinary.com/solardump/image/upload/v1738747178/under_construction_PNG46_rajllh.png" + alt = "Site Under Construction" + content = "Our site is ever changing. We are always revising, adding stuff, and making corrections. As long as you are aware of this, click the button below to go ahead." diff --git a/config/_default/server.toml b/config/_default/server.toml index c80d88d..e072c6c 100644 --- a/config/_default/server.toml +++ b/config/_default/server.toml @@ -6,20 +6,20 @@ for = '/**' X-XSS-Protection = "1; mode=block" Content-Security-Policy = """\ default-src 'self'; \ - script-src 'self' https://*.google-analytics.com https://*.googletagmanager.com; \ - style-src 'self' https://fonts.googleapis.com https://www.youtube.com; \ + child-src 'self' app.netlify.com; \ + script-src 'unsafe-eval' 'unsafe-inline' 'self' *.netlify.app app.netlify.com netlify-cdp-loader.netlify.app https://*.google-analytics.com https://*.x.com https://*.twitter.com https://*.youtube.com https://*.flickr.com https://*.googletagmanager.com; \ + style-src 'unsafe-inline' 'self' *.netlify.app app.netlify.com netlify-cdp-loader.netlify.app https://*.knightlab.com https://fonts.googleapis.com https://www.youtube.com; \ object-src 'none'; \ base-uri 'self'; \ - connect-src 'self' - https://*.google-analytics.com https://*.analytics.google.com https://*.googletagmanager.com; \ - font-src 'self' https://fonts.gstatic.com; \ - frame-src 'self' https://www.youtube-nocookie.com https://www.youtube.com; \ - img-src 'self' data: https://i.vimeocdn.com https://i.ytimg.com https://*.google-analytics.com https://*.googletagmanager.com https://tile.openstreetmap.org; \ + connect-src 'self' https://*.google-analytics.com https://*.analytics.google.com https://*.googletagmanager.com https://*.knightlab.com; \ + font-src 'self' https://*.netlify.app https://fonts.gstatic.com; \ + frame-src 'self' https://www.youtube-nocookie.com https://www.youtube.com https://*.netlify.com https://*.google.com; \ + img-src 'self' data: https: https://*.netlify.app https://i.vimeocdn.com https://i.ytimg.com https://*.cloudinary.com https://*.google-analytics.com https://*.googletagmanager.com https://tile.openstreetmap.org; \ manifest-src 'self'; \ - media-src 'self' \ + media-src 'self' https://*.netlify.app https://*.cloudinary.com https://*.youtube.com; \ """ X-Frame-Options = "SAMEORIGIN" - Referrer-Policy = "strict-origin" + Referrer-Policy = "strict-origin-when-cross-origin" Permissions-Policy = """\ geolocation=(), \ midi=(), \ |
