- Hugo site configured and working - Story page with interactive collapsible timeline - CSS styling for journey/timeline layout - JavaScript for dynamic markdown-to-timeline conversion - Theme with responsive design - Content structure for Bitcoin education site Features: - Collapsible year sections with animations - Quick jump navigation between years - Mobile responsive design - Interactive timeline functionality
62 lines
No EOL
1.3 KiB
TOML
62 lines
No EOL
1.3 KiB
TOML
# Don't Be Ch.ad Netlify Configuration
|
|
|
|
[build]
|
|
publish = "public"
|
|
command = "hugo --minify"
|
|
|
|
[build.environment]
|
|
HUGO_VERSION = "0.121.0"
|
|
HUGO_ENV = "production"
|
|
|
|
[context.production]
|
|
command = "hugo --minify"
|
|
|
|
[context.deploy-preview]
|
|
command = "hugo --minify --buildFuture"
|
|
|
|
[context.branch-deploy]
|
|
command = "hugo --minify"
|
|
|
|
[[headers]]
|
|
for = "/*"
|
|
[headers.values]
|
|
X-Frame-Options = "DENY"
|
|
X-XSS-Protection = "1; mode=block"
|
|
X-Content-Type-Options = "nosniff"
|
|
Referrer-Policy = "strict-origin-when-cross-origin"
|
|
Permissions-Policy = "geolocation=(), microphone=(), camera=()"
|
|
|
|
[[headers]]
|
|
for = "/css/*"
|
|
[headers.values]
|
|
Cache-Control = "public, max-age=31536000, immutable"
|
|
|
|
[[headers]]
|
|
for = "/js/*"
|
|
[headers.values]
|
|
Cache-Control = "public, max-age=31536000, immutable"
|
|
|
|
[[headers]]
|
|
for = "/images/*"
|
|
[headers.values]
|
|
Cache-Control = "public, max-age=31536000, immutable"
|
|
|
|
[[headers]]
|
|
for = "/*.html"
|
|
[headers.values]
|
|
Cache-Control = "public, max-age=3600"
|
|
|
|
[[redirects]]
|
|
from = "/bitcoin-mistakes"
|
|
to = "/mistakes/"
|
|
status = 301
|
|
|
|
[[redirects]]
|
|
from = "/bitcoin-security"
|
|
to = "/guides/security-best-practices/"
|
|
status = 301
|
|
|
|
[[redirects]]
|
|
from = "/bitcoin-guide"
|
|
to = "/guides/getting-started/"
|
|
status = 301 |