An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

[![Clojars Project](https://img.shields.io/clojars/v/perun-selmer.svg)](https://clojars.org/perun-selmer)
[![Build Status](https://travis-ci.org/rwstauner/perun-selmer.svg?branch=master)](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.