A website making use of Static CMS, Eleventy, & Tailwind CSS that is deployed to GitHub Pages
To start working locally, clone this repository:
git clone https://github.com/r-angeles/r-angeles.github.io.git insert-project-name
Go to the project directory and install Node dependencies:
npm install
Start development:
npm run dev
Check http://localhost:8080 to see the site live
Generate a production-ready build:
npm run build
When ready, push to GitHub. Note that this website is set up on GitHub pages. It uses GitHub Actions to deploy to GitHub Pages.
Go to Settings -> Pages -> Build and deployment
then change Source
to GitHub Actions
.
To start editing locally with Static CMS, run:
npm run local
Then visit http://localhost:8080/admin
Configure the metadata through navigating to src -> _data
and modifying the files eg. metadata.yaml
, navigationLinks.yaml
OR, use Static CMS to edit _data
on a GUI by visiting your-site-name.gihub.io/admin
GitHub account will be used to log in to CMS. See the Static CMS docs to set it up.
Alternatively, Git Gateway can be used for authentication to edit files without logging in to GitHub. Visit the Static CMS docs for more details on setting it up (Note: The site must be hosted on Netlify first)
- Eleventy as main static site generator
- Static CMS for content management
- PostCSS and Tailwind CSS
- luxon
- html-minifier
- cssnano
- js-yaml
- Giscus comments system utilizing GitHub Discussions
- Static CMS 1.0.0 does not throw error if
config.yml
has typos, bugs, etc. Current workaround is switching the Static CMS CDN to the Netlify CMS CDN onadmin/index.html
to check for errors - Static CMS 1.0.0 have no current support for mobile editing
- SVG does not show
Copyright (c) 2023 Rae Angeles (@rae_angeles)
This project is licensed under the MIT License - visit the LICENSE.md file for more details