diff options
author | tdro <tdro@noreply.example.com> | 2022-06-23 01:48:06 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-06-23 01:48:06 -0400 |
commit | 8a097206fcbf3931614ad0b36a8ad4ddc9679f27 (patch) | |
tree | 6bb8e0994fc452bfa355fc140ee7ee620a495e4a /content | |
parent | e397c9181f0d4442d229ca0c7896608965c4afb9 (diff) | |
download | canory-8a097206fcbf3931614ad0b36a8ad4ddc9679f27.tar.gz canory-8a097206fcbf3931614ad0b36a8ad4ddc9679f27.tar.bz2 canory-8a097206fcbf3931614ad0b36a8ad4ddc9679f27.zip |
themes/default/layouts: Translate raw into generated content
Reuse short code for markdown embeds.
Diffstat (limited to 'content')
-rw-r--r-- | content/canory/messages/markdown.md | 10 | ||||
-rw-r--r-- | content/canory/messages/selfdestruct.md | 6 |
2 files changed, 7 insertions, 9 deletions
diff --git a/content/canory/messages/markdown.md b/content/canory/messages/markdown.md index 2fbffb0..032f5e5 100644 --- a/content/canory/messages/markdown.md +++ b/content/canory/messages/markdown.md @@ -7,9 +7,9 @@ author = "canory" [//]: # "That's a comment alright, hiding in plain sight." -The `metadata` :arrow_up: has a [`raw`](/raw/canory/messages/markdown.md) link -to the [`markdown`](https://www.markdownguide.org/cheat-sheet/) that generates -this message --- might as well show my internals. Casual users will frown, power users -will delight. +The `metadata` :arrow_up: has a link to the raw +[Markdown](https://www.markdownguide.org/cheat-sheet/) file {{< markdown >}} +that generates this message --- might as well show my internals. Casual users +will frown, power users will delight. -{{< self "/raw/canory/messages/markdown.md" >}} +{{< markdown embed=true >}} diff --git a/content/canory/messages/selfdestruct.md b/content/canory/messages/selfdestruct.md index a793638..c4bb726 100644 --- a/content/canory/messages/selfdestruct.md +++ b/content/canory/messages/selfdestruct.md @@ -22,9 +22,7 @@ controversy. This is not to be indexed --- search engine bots {{< smallcaps "shall not pass" >}} (hopefully), neither will this message propogate through `JSON` and `RSS` feeds. -This -[hidden message](/raw/canory/messages/selfdestruct.md "hidden in plain sight") -will only disappear in my timeline because I'm an intergalactic time traveler. - +This {{< markdown title="hidden in plain sight" >}} will only disappear in my +timeline because I'm an intergalactic time traveler. ![Isaac Asimov](/canory/media/internet-is-serious.jpg) |