https://github.com/rwstauner/perun-selmer
Perun boot task to process selmer templates
https://github.com/rwstauner/perun-selmer
boot-task clojure perun
Last synced: 10 months ago
JSON representation
Perun boot task to process selmer templates
- Host: GitHub
- URL: https://github.com/rwstauner/perun-selmer
- Owner: rwstauner
- License: epl-1.0
- Created: 2018-11-17T03:23:06.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-24T18:24:48.000Z (over 7 years ago)
- Last Synced: 2025-09-24T17:05:27.520Z (10 months ago)
- Topics: boot-task, clojure, perun
- Language: Clojure
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://clojars.org/perun-selmer)
[](https://travis-ci.org/rwstauner/perun-selmer)
# perun-selmer
[](dependency)
```clojure
[perun-selmer "0.1.0"] ;; latest release
```
[](/dependency)
A boot task that uses `io.perun` to process `selmer` templates.
## Usage
(require '[perun-selmer.core :refer [selmer]])
and use the `(selmer)` task in your build pipeline
to process `.selmer` files into `.html` (with yaml front matter).
The `(selmer*)` task does not process yaml metadata.
Each take the following options (with these defaults):
{:out-dir "public"
:out-ext ".html"
:extensions [".selmer"]
:filterer identity
:meta {:original true
:include-rss true
:include-atom true}}
## License
Copyright © 2018 Randy Stauner
Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.