Open dckc opened 2 years ago
Prompted by bumping into Kenton today, I picked up cloudflare pages and ran across Eleventy again:
so I gave it a try:
I'm struggling to reconcile these:
tool | file path | url path |
---|---|---|
frozen-flask | ./pages/2019/x.md |
/2019/x.html |
11ty | ./posts/xyz.md |
/posts/xyz/ |
The .html
part is straightforward, provided I can find a way to avoid copying it into every post:
permalink: "{{ page.filePathStem }}.html"
There are lots of features to migrate:
vs.
Prompted by a nice looking blog item, I tried Eleventy, a simpler static site generator.
It tried to treat breadcrumbs_0089.md, an html-in-markdown file exported from drupal, as a liquid template and failed.
When I changed
{{
to{ {
, it didn't crash, but the yaml metadata at the top was treated as markdown content.