4 ms·
That sounds interesting, and I'd like to hear more
by monknomo 1y ago
That sounds interesting, and I'd like to hear more
- righthand 1y agoWell it’s all in a single directory: ``` static/ js/ css/ log/ my-post.xml my-post.xsl index.html ``` Caddyfile: ``` :8080 try_files {path}.xml {path}.html file_server { index index.xml index.html root static } ``` XSLT work is all based off of a repository someone wrote with a grug brain explainer: https://github.com/pacocoursey/xslt https://github.com/pacocoursey/xslt The next step is to generate all of the `static` dir from markdown files and probably a new markdown-like format for registering templates to generate xsl/xml files for special html blocks and template parts or generating blog listing pages.
- righthand 1y agoAlso the MDN docs are helpful for more templating functions and features. https://developer.mozilla.org/en-US/docs/Web/XML/XSLT https://developer.mozilla.org/en-US/docs/Web/XML/XSLT