Bliss is a single-column blog template for Eleventy static site generator with strong focus on simplicity without sacrificing functionality.
It is a modified and improved version of the theme running Offbeat Bits - my personal blog.
- light / dark mode switcher + honoring browser color scheme preference
- sharing buttons for popular social media (including Mastodon!) + copying post URL to clipboard
- Mastodon integration: generating
.well-known/webfinger
file + automatic generation of<link rel="me">
tags for site ownership verification - translation ready (support for custom language tags + separate file with static phrases)
- manifest file for PWA
- code syntax highlighting with PrismJS using Eleventy syntax highlighting plugin
- HTML, JS, JSON, CSS optimizations
- RSS, JSON, Twtxt.txt feeds + JSON-LD data
- accessibility features
- HSL color palette and CSS variables for straightforward personalization
- modular CSS augmented with SASS
- custom disclaimers alongside post content
- and more
Features I'm currently exploring (no promises or anything yet ;)):
- improved OpenGraph support (automatic generation + support for custom images)
On Netlify: https://eleventy-bliss.netlify.app/
On Vercel: https://eleventy-bliss.vercel.app/
Netlify:
Vercel:
See siteConfig.js
. Inline documentation is available in the file.
See phrases.js
for the list of translatable static phrases.
Non-exhaustive list of steps to make the template your own. Some of them are optional, others are highly recommended:
- Fill in all relevant information in
siteConfig.js
- site title, description, custom logo, author information, etc. - Modify production URL - either by hardcoding it in
siteConfig.js
or viaprocess.env.URL
environment variable - Replace site logo or remove the existing one to use site title as text in your header
- Modify color palette to your liking - edit relevant variables in
_variables.scss
- If you changed the color palette - modify theme color and background color for PWA manifest - see
siteConfig.js
- If you changed the color palette - modify base color for RSS XSL stylesheet - see
siteConfig.js
- Add your own posts - use the existing placeholder posts as a reference
- If you use post disclaimers at the beginning of your posts - consider using the built-in disclaimer feature - see
06-10-sample-post-33-disclaimer.md
or05-31-sample-post-32-linked-disclaimer.md
for reference - Add your own pages - use one of the existing placeholder pages as a reference
- Add / remove meta pages in the footer - see
siteConfig.js
- Replace favicon files (
favicon.ico
,favicon.svg
,icon-192.png
,icon-512.png
,apple-touch-icon.png
) with ones relevant to your site - Replace OpenGraph images with ones relevant to your site
- Copy your existing static assets to
assets
folder. Note that the top ofassets
folder corresponds to the root directory of your site (_site
) - Modify anything else you don't like about the theme to match your preferences
- Enjoy! :)
Contributions of the following kind are welcome:
- bug reports / fixes
- documentation improvements
- improvements of existing features
I consider the project complete and apart from specific exceptions, no new features are planned.
Before contributing be sure to read Code of Conduct.
Licensed under the MIT license.