strftime()now parses its time argument as a string, if it detects that it is not a UNIX epoch timestamp. Turns out, most people don't think of time as a single tally of seconds since Jan 1 1970, and would rather specify dates and things in
YYYY mmm dd, and other human-friendly formats.
- Fix uninitialized value warnings for
[% filter markdown %]blocks that don't have undef / null bodies.
- Treat undefined values as the empty string in conditional
writefprimitives for dealing with unusual rendering requirements (like wrapping upstream HTML) in themes.
[render] $template :: $pathoutput is now skipped if
renderis called without an
atargument (and should therefore return its output to the caller as a string).
markdownfilter for converting Markdown into HTML, inside the template.
uridecodefilter, for those times when you need to embed URLs in other URLs (i.e. for social media links).
We have a Docker image now! https://hub.docker.com/r/huntprod/verse/
To use it, just reference huntprod/verse:latest, or huntprod/verse:0.10.0.
New Template language that doesn't depend on Template Toolkit, and is
more redistributable as a result. Don't worry, though, it looks like the same
templates you're used to, with some new hotness.
verse runnow takes a port number for adjusting the listening bind.
Try it out:
verse run 8080
A minimalist, yet beautiful default theme replaces the existing variadic
theme. The new default theme is more lightweight (no images) and
Removed dependencies on File::Slurp, which is going to have some problems
when Perl 5.30 comes around (at least, according to Perl 5.26).
verse newno longer tries to execute the site.yml if you have no
environment variable defined.
Let's start releasing Verse via Github's Releases feature!
This marks the first public release of Verse, at version 0.9.0. The attached
verse script should be portable across mot systems, as long as they have a new enough vintage of Perl itself. We're using the excellent App::FatPacker module to pack up all of our Perl libdeps into a single script, and we've moved away from XS modules like YAML::XS that require a compiler to build.
Also, you can now
verse -v or
verse version to find the version of Verse you are running.