You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I understood files in the content dir that start with an underscore are supposed to be complelety ignored. In fact they won't be copied to the deploy folder. However, when adding hyde attributes to an underscore-prefixed file they are processed wich is not intuitive.
Here's an example:
_template.html
{% extends "_post.html" %}
{%hyde
title: Title
created: 2010-01-01
updated: 2010-01-01
categories: [dummy1, dummy2]
tags: []
%}
{% block excerpt %}
Put here the excerpt / introduction. This is going to be included in the real
post, too.
{% endblock %}
{% block article %}
Put here the main content
{% endblock %}
When using the category manager it lists the categories dummy1 and dummy2. Although you can easily circumvent the issue by omitting any categories in _template.html it is probably conceptionally cleaner if underscore-prefixed files would be totally ignored.
The text was updated successfully, but these errors were encountered:
As far as I understood files in the content dir that start with an underscore are supposed to be complelety ignored. In fact they won't be copied to the deploy folder. However, when adding hyde attributes to an underscore-prefixed file they are processed wich is not intuitive.
Here's an example:
_template.html
When using the category manager it lists the categories dummy1 and dummy2. Although you can easily circumvent the issue by omitting any categories in
_template.html
it is probably conceptionally cleaner if underscore-prefixed files would be totally ignored.The text was updated successfully, but these errors were encountered: