Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Files in the content dir that start with and '_' should not be processed at all #36

Open
eugenkiss opened this issue Oct 17, 2010 · 1 comment

Comments

@eugenkiss
Copy link

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.

@navilan
Copy link
Member

navilan commented Oct 18, 2010

Agreed. This needs to be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants