Release v0.035
Almost ready for the beta announcement now! Only a few issues remain before we can announce beta.
Content is now always processed through the template parser. This lets us have includes in the content, so we can have widget templates or plugins that generate related posts for example. This is a new feature, so I'm excited to see what can be done with it.
There was some cleanup on the URLs we generate: Directories are being preferred
to files, so that the URLs are a bit easier to read. /blog/page-2.html
is now
/blog/page/2
, and /blog/tag/mytag/page-2.html
is now
/blog/tag/mytag/page/2
A new help file was added, all about deploying
Statocles. As part of that, a lot of defaults were
updated to be more intuitive: The build directory gets automatically created, and the
default build directory is set to .statocles-build
.
A bunch of things were fixed for Windows development, along with a nasty
platform difference in strftime()
.
The bundle theme
command is now actually useful and allows you to specify
where you want the theme to be copied. So now, if you want to customize the
default theme, you can statocles bundle theme default mytheme
to copy the
default theme to the mytheme
directory.
Full changelog below
- update Mojolicious to 5.57 for improved map()
- make
bundle theme
copy to given directory (#204) - fix extra blank line in robots.txt test
- ignore vim swap files on windows
- fix strftime for Windows (#185)
- fix test reading files without utf-8 flag
- redo the setup help for new defaults (#231)
- make blog pagination use directories (#240)
- allow list pages to consist of directories (#240)
- automatically remove "index.html" from URLs (#165)
- update Beam::Wire to fix warning on perl 5.20 (#190)
- process document content as a template (#213)
- allow arguments to included templates
- add a theme method to build template from string (#213)
- do not watch built-in theme dirs for changes (#182)
- add deploy help documentation (#211)
- add remote attr to git deploy (#236)
- test that git deploy's path has a default
- set a default build dir and auto-create it (#233, #234)
- make site theme default to bundled default theme (#235)
- make file deploy default to the current directory (#237)
- Merge pull request #232 from vlet/master
- fix categories in atom feed
- fix default theme list bullets on a separate line
- fix static app builds hidden directories like .git
- show an error if no theme name given to bundle (#203)
- allow pod from things without .pm, .pl, or .pod (#206)
- add missing DESCRIPTION to some modules