Skip to content

override block gets duplicated #80

@arundhaj

Description

@arundhaj

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions