markdbenson / dapper Goto Github PK
View Code? Open in Web Editor NEWA publishing tool for static websites.
Home Page: http://markbenson.io/dapper/
A publishing tool for static websites.
Home Page: http://markbenson.io/dapper/
t/00-load.t ...... Can't locate Template/Alloy.pm in @inc
From: https://travis-ci.org/github/markdbenson/dapper/jobs/774529152
It would be nice if the files in _output/
could be assigned a dir and file name matching their calculated url
variable.
I'm trying to create a blog, and was hoping that I could write blog posts as files named like:
_source/posts/0001.md
_source/posts/0002.md
...and have them automatically outputted as:
_output/2015/08/foo-bar-baz.html
_output/2015/08/yada-yada-yada.html
But alas, even though dapper calculates the correct url
variable (thanks to the urlpattern
setting) it always writes the output files using the same filenames as the source files:
_output/posts/0001.md
_output/posts/0002.md
How is the web server supposed to know about the correct URL to serve them under, then?
The README section on "Variables" has this to say about the site
hash: "All site variables are defined in _config.yml, and are available in layouts as [% site.* %]".
However, there is at least one important site variable which is not defined in _config.yml, namely site.pages
. I only found out about it because a completely unrelated example in that README happens to use it to demonstrate a for
statement. It would be nice if all the available variables were properly documented in the "Variable" section.
App/Dapper/Serve.pm is not on CPAN only in GitHub.
Due to the way the initialisation and parsing is done, most of the dapper commands will not read the _config.yaml at all and therefore will not use the correct directories, especially the output Directory.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.