all repos — zola-bearblog @ 477ace19bec1d36af77aa445ffb3e179038e5854

Port of bear blog theme to zola

remove vercel

Alan Pearce
commit

477ace19bec1d36af77aa445ffb3e179038e5854

parent

0fe1c169b6f24040fc837be469a6c5cde8663a0d

4 files changed, 1 insertion(+), 54 deletions(-)

changed files
M .gitignore.gitignore
@@ -1,2 +1,1 @@
/public/ -.vercel
M README.mdREADME.md
@@ -1,7 +1,6 @@
# Zola ʕ•ᴥ•ʔ Bear Blog [![Netlify Deploy](http://img.shields.io/netlify/121b53ce-c913-4604-9179-eb3cca31cd2c?logo=netlify)](https://app.netlify.com/sites/zola-bearblog/deploys) -[![Vercel Deploy](https://deploy-badge.vercel.app/vercel/zola-bearblog)](https://zola-bearblog.vercel.app/_logs) [![Forgejo Actions Status](https://codeberg.org/alanpearce/zola-bearblog/badges/workflows/zola.yaml/badge.svg)](https://codeberg.org/alanpearce/zola-bearblog/actions) [![Gitlab Pipeline Status](https://gitlab.com/alanpearce/zola-bearblog/badges/main/pipeline.svg)](https://gitlab.com/alanpearce/zola-bearblog/-/commits/main)
@@ -24,7 +23,6 @@ ### Not recommended
These providers' build environments aren't yet compatible with Zola 0.21.0. - [Cloudflare Pages](https://zola-bearblog.pages.dev/) -- [Vercel](https://zola-bearblog.vercel.app/) ## Screenshot
M theme.tomltheme.toml
@@ -5,7 +5,7 @@ homepage = "https://codeberg.org/alanpearce/zola-bearblog"
# The minimum version of Zola required min_version = "0.4.0" # An optional live demo URL -demo = "https://zola-bearblog.vercel.app/" +demo = "https://zola-bearblog.netlify.app/" # Any variable there can be overridden in the end user `config.toml` # You don't need to prefix variables by the theme name but as this will
D vercel.json
@@ -1,50 +0,0 @@
-{ - "$schema": "https://openapi.vercel.sh/vercel.json", - "framework": "zola", - "build": { - "env": { - "ZOLA_VERSION": "0.21.0" - } - }, - "cleanUrls": true, - "trailingSlash": true, - "headers": [ - { - "source": "/(.*)", - "headers": [ - { - "key": "X-Frame-Options", - "value": "DENY" - }, - { - "key": "X-Content-Type-Options", - "value": "nosniff" - }, - { - "key": "X-XSS-Protection", - "value": "1; mode=block" - }, - { - "key": "Cross-Origin-Resource-Policy", - "value": "same-site" - }, - { - "key": "Referrer-Policy", - "value": "strict-origin-when-cross-origin" - }, - { - "key": "Strict-Transport-Security", - "value": "max-age=63072000; includeSubDomains; preload" - }, - { - "key": "Content-Security-Policy", - "value": "default-src 'none'; img-src 'self'; object-src 'none'; script-src 'none'; style-src 'sha256-p5EfRIhWJi7Zh7WJil3mpIVCZvcu+zebWbMe6B0so8A='; form-action 'none'; base-uri 'self'; frame-ancestors 'none'" - }, - { - "key": "Cache-Control", - "value": "max-age=300, s-maxage=86400, stale-while-revalidate" - } - ] - } - ] -}