- can be hosted as GitHub Pages
- simple-ish to setup and to create posts
- an RSS feed would be very nice
@justvanrossum Eleventy reminds me of Robofont in that it doesn’t force you to do things a certain way or make a lot of assumptions. Very easily extensible and lots of great plugins. I just added RSS to my site and it was very simple.
My site is connected to a git repo and it’s hosted by Netlify on their free tier, works great
@justvanrossum Hmm, I started by building everything in html and css and then copy/pasting things into template pages as needed. My templating was based on this boilerplate site: https://github.com/danurbanowicz/eleventy-netlify-boilerplate/
Most of my site templating happens in base.njk (from _includes/layouts/) and the <head> is included like this: {% include "components/head.njk" %}
which references head.njk (from _includes/components/) where I copy/pasted the <head> from my html file. Hope that helps!
@justvanrossum If it's an SVG it could in theory be pasted inline, right?
Or for the normal way of linking to an image, I have this code in my eleventy config file: eleventyConfig.addPassthroughCopy("images");
(It might need to be"./images" depending on your setup). Then whatever I put in the "images" folder in my base directory will get copied into my "_site/images/" folder when the site is built.
Config file:
https://github.com/11ty/eleventy-base-blog/blob/main/eleventy.config.js
addPassthroughCopy info:
https://www.11ty.dev/docs/copy/
@cjtype Thanks!
In that config file /public/ is already pass through, and when I place an image in /public/img/ I do see that it gets included the output tree (https://blog.fontra.xyz/img/fontra-icon.svg), however, I can't seem to find how to *reference* that image correctly in _includes/layouts
/base.njk. https://github.com/11ty/eleventy-base-blog/issues/200