America's favorite Eleventy blog template.
America's favorite Eleventy blog template.
.eleventy.js
.tailwind.config.js
and src/styles/tailwind.css
.src/styles/base.css
for the theme; and src/scripts/copy.js
, which is used by main.js
.rollup.config.js
.src/scripts/privacy-policy.js
, which is used by main.js
.deploy.sh
, using the gh-pages
branch. Be sure to edit said script to work with your repository. Remember to also configure the repository appropriately.src/globals/site.json
, including the images in public/
.git clone [email protected]:reeseschultz/11r.git
cd 11r && npm i
npm run dev
to serve the site.npm run build
to build the site../deploy.sh
to deploy the site to GitHub Pages (includes build).Tags are styled in src/styles/tags.css
. Coloring custom tags works as such:
...
.tag.beer {
@apply bg-blue-500;
}
.tag.spirituality {
@apply bg-indigo-500;
}
.tag.orcas {
@apply bg-purple-500;
}
...
All contributions to this repository are licensed under MIT.