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

override block gets duplicated #80

Open
arundhaj opened this issue Oct 25, 2012 · 0 comments
Open

override block gets duplicated #80

arundhaj opened this issue Oct 25, 2012 · 0 comments

Comments

@arundhaj
Copy link

in file layout/base.j2, I have a block in head tag

  {% block syntaxhighlighter_css %}
  {% endblock syntaxhighlighter_css %}

in file content/blog/post-name.html

overriding the block with following content,


{% block syntaxhighlighter_css %}
<link rel="stylesheet" href="{{ media_url('css/shCore.css') }}" type="text/css" />
<link rel="stylesheet" href="{{ media_url('css/shThemeDefault.css') }}" type="text/css" />
{% endblock syntaxhighlighter_css %}

after generating with hyde gen, in the file deploy/blog/post-name.html
the link tags are duplicated in both head tag as-well-as in body tag.

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

1 participant