brennan / 11ty-troubleshooting.md
Последняя активность 1 month ago
The likely culprit is a mismatch between JSON syntax and the front-matter syntax used earlier in the tutorial.
The two syntaxes look similar but aren't interchangeable. Front matter (the --- block at the top of an .md or .html file) is YAML, so unquoted keys like layout: layout.html are fine.
A posts.json file is actual JSON, which requires double quotes around every key and string value, and no trailing commas. If it was typed the same way as front matter, { layout: layout.html } then that's invalid JSON and Eleventy either throws a parse error or silently fails to apply it, which matches what you're describing (title not filling in, index not building).
Here's a working reference setup:
posts/posts.json
brennan / relationship-unicode.md
Последняя активность 3 months ago
Relationship Symbol Key
One symbol goes between two character names in place of / or &.
Pick the one that best describes the core nature of the bond.
If you need more nuance, you can add a modifier symbol from the bottom of the table.
Two symbols total, never more.
Examples:
Alice ♥ Bob: romantic/sexual pairing
Alice ♥→ Bob: one-sided romantic feelings (list the pursuer first)
brennan / simple-windows-hosting.md
Последняя активность 3 months ago
- Get yr site files ready
mkdir C:\sites\skaia-library
Drop yr index.html in there.
- Install Caddy
brennan / indieauth-example.html
Последняя активность 3 months ago
| 1 | <!-- Works with indielogin.com (hosted, no self-hosting needed) --> |
| 2 | <link rel="me" href="https://github.com/YOUR_USERNAME"> |
| 3 | <link rel="me" href="mailto:you@yourdomain.com"> |
| 4 | <link rel="me" href="https://yourdomain.com/key.asc"> <!-- PGP key, raw ASCII-armored public key file --> |
| 5 | |
| 6 | <!-- Also listed by indielogin.com, but unreliable since X locked down API auth --> |
| 7 | <link rel="me" href="https://twitter.com/YOUR_USERNAME"> |
| 8 | |
| 9 | <!-- Only works if YOU run your own RelMeAuth/IndieAuth endpoint (e.g. hawx.me/relme-auth) --> |
| 10 | <link rel="me" href="https://www.flickr.com/people/YOUR_ID"> |