-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Saga 11 is a system to build small static web.
Saga11 is a small system build for webdesigners to build small brochure websites / blogs etc. Its build on top of 11ty and with netlifycms as a backend for online editing.
- No Database - Flatfile based
- 100% Markup control
- Small tech stack (yeah right)
- Build for Web Designers
- Easy to hand down over developers
- Able to deploy on netlify/github pages or move to other host for simple sftp deployment
- Easy to build the site with no interfearence from a system
- At the end "its just html, css, js" :)
- 11ty generating the html.
- Markdown, json and nunjucks.
- Github for storage
- Netlifycms for online editing
- Tailwind for css cause devs likes it
- Vanilla js
- get 11ty
npm install -g @11ty/eleventy
- install saga
npm install
- spin up the site
npm run start
- build the production site
npm run build
Saga is build with netlify cms for online editing To make it work work locally
npm run admin
https://mozilla.github.io/nunjucks/templating.html
Tailwin config /tailwin.config.js setup all the specific here
The is where 11ty compiles the website. for sweet n easy sftp the content is autogenerated
This is where all the files to generate _site is places - this is where we all the work.
- /_data/ Site Config
- /_templates/ - All the awesome magic lives here
- /_admin/ netlifycms lives here
- /assets/
- /assets/css/
- /assets/fonts/
- /assets/img/favicon/
- /assets/img/opengraph/
- /assets/js/
- /content/
Add all content markdown here
Images to the content is living in the /images folder
- /images/ uploaded images from cms
/systempages/ -
1 Push code to github 2 Create site on netlify - get site from github 3 Enable identity https://app.netlify.com/sites/[SITE]/identity 4 add external providers (ex google) https://app.netlify.com/sites/[SITE]/settings/identity#external-providers 5 Add Git Gateway https://app.netlify.com/sites/[SITE]/settings/identity#git-gateway
Pages can be used for single pages
- Section page (list of post with a tag)
- contact page
- gallery page a page have a specfic url custom url site/foo-bar/
Post can be used to create collections of data ex blog post, products collections Post can be tagged and be collected in a section
Heres the different templates that a post can select in netlifycms the templates get add automatically id they are put into _templates/post/{template}.njk
configured in admin/config.yml post posttemplates
-
eleventy https://11ty.dev
-
Nunjucks https://mozilla.github.io/nunjucks/
-
Netlifycms https://www.netlifycms.org/
-
tailwindcss https://tailwindcss.com/