By | ~fr33domlover |
At | 2020-05-19 |
Title | Publish as2-ext content for Vervis vocabulary extensions |
Description |
Edit file site.hs 33188 → 33188
- 1 {- Written in 2017, 2019 by fr33domlover <fr33domlover@riseup.net>.
+ 1 {- Written in 2017, 2019, 2020 by fr33domlover <fr33domlover@riseup.net>.
2 2 -
3 3 - ♡ Copying is an act of love. Please copy, reuse and share.
4 4 -
5 5 - The author(s) have dedicated all copyright and related and neighboring
6 6 - rights to this software to the public domain worldwide. This software is
… … … … 147 147 148 148 makeItem ""
149 149 >>= loadAndApplyTemplate "templates/private.html" poemCtx
150 150 >>= loadAndApplyTemplate "templates/default.html" poemCtx
151 151 >>= relativizeUrls
+ 152 + 153 match "as2-ext.jsonld" $ do
+ 154 route $ customRoute $ dropExtension . toFilePath
+ 155 compile copyFileCompiler
152 156 153 157 match "index.md" $ do
154 158 route $ setExtension "html"
155 159 compile $ pandocCompiler
156 160 >>= loadAndApplyTemplate "templates/default.html" defaultContext
… … … … Add file as2-ext.jsonld 33188
+ 1 {"@context":{}}