Harris Lapiroff 🔥 on Nostr: You can now view the source file for any blog post on my site by replacing the ...
You can now view the source file for any blog post on my site by replacing the trailing slash with .txt in the URL. You can also replace the trailing slash with the original file extension of the source. Most of my blog posts are composed in Markdown, so the extention will usually be .md, but my setup also supports the occasional .ojs or .html post. But .txt will always work.
https://chromamine.com/2024/08/making-blog-post-source-files-available-with-11ty/#11ty #indieweb #code #web
Published at
2024-09-01 03:58:23Event JSON
{
"id": "8c73e74875f10098848afd183c9703e04a61e892733bbebf1153fad21d98b83f",
"pubkey": "f2e15ad6a570214535a3262db4ad0e9a08063401b57d80002255424929beaa27",
"created_at": 1725163103,
"kind": 1,
"tags": [
[
"t",
"11ty"
],
[
"t",
"indieweb"
],
[
"t",
"code"
],
[
"t",
"web"
],
[
"proxy",
"https://social.coop/users/harris/statuses/113060289182699491",
"activitypub"
]
],
"content": "You can now view the source file for any blog post on my site by replacing the trailing slash with .txt in the URL. You can also replace the trailing slash with the original file extension of the source. Most of my blog posts are composed in Markdown, so the extention will usually be .md, but my setup also supports the occasional .ojs or .html post. But .txt will always work.\n\nhttps://chromamine.com/2024/08/making-blog-post-source-files-available-with-11ty/\n\n#11ty #indieweb #code #web",
"sig": "67fcfd4b72284bb54556efefef3d83b9caaeb2391445799caf3fff4eb298a34fd8ab2b9c0735d65fa262c9be93a6ebbd27be3a4d108c21e8e7f3e702c8672214"
}