A pico plugin to take the creation date from the file last write time.
Features 100% test coverage (without wrappers and connectors)
Pull requests welcome!
Install via composer composer require jflepp/picofiletime
{% for page in pages %}
<li>{{ page.id }} - <a href="{{ page.url }}">{{ page.url }}</a> - {{ page.meta.creation_date }}</li>
{% endfor %}
{{ current_page.meta.creation_date }}
PicoFileTime provides no additional configuration, but you can use Picos inbuilt configuration to sort pages according to their creation date:
pages_order_by_meta: creation_date
pages_order_by: meta
pages_order: desc