--- layout: ../Site.layout.js --- # Using a simple kitten layout in md pages Kittens naturally html-page-ify anything with a `.page.md` extension. So in practice my `index.page.js` is like ```
``` # javascript is just kitten's host language Note that it is Kitten's dynamic static page generation's host language that is javascript; you can visit my page in `emacs` `eww` or the best browser, `links2` or with javascript otherwise disabled no problem. I think there is some syntax highlighting javascript cooked in that I have personally never seen. # Generating *more complete* markdown web pages [Aral](https://ar.al) (personally) wrote me three lines of whatever a *web page layout* is which I then butchered, Site.layout.js. For the kitten to consume it in a markdown file, you make the markdown file like this, with a block like ``` --- layout: ../Site.layout.js --- ``` in it. # Here is this whole markdown document except for this: ```markdown-kitten-front-matter.page.md --- layout: /Site.layout.js --- # Using a simple kitten layout in md pages Kittens naturally html-page-ify anything with a `.page.md` extension. So in practice my `index.page.js` is like ''' ''' # javascript is just kitten's host language Note that it is Kitten's dynamic static page generation's host language that is javascript; you can visit my page in `emacs` `eww` or the best browser, `links2` or with javascript otherwise disabled no problem. I think there is some syntax highlighting javascript cooked in that I have personally never seen. # Generating *more complete* markdown web pages [Aral](https://ar.al) (personally) wrote me three lines of whatever a *web page layout* is, Site.layout.js. For the kitten to consume it in a markdown file, you make the markdown file like this, with a block like ''' --- layout: /Site.layout.js --- ''' in it. Here is this whole document except for this: '''markdown-kitten-front-matter.page.md ''' # Fin. Hope this helps / see you on the Mastodon. I want to do federating kitten tls things with everyone soon. We will use mnl's parenscript to generate the kitten host javascript. ``` # Fin. Hope this helps / see you [on the Mastodon](https://gamerplus.org/@screwlisp/114567813684582856). I want to do federating kitten tls things with everyone soon. We will use mnl's parenscript to generate the kitten host javascript.