Browse Source

Update hyde/layouts/basic/layout/atom.j2

Fix to the atom.j2 layout to keep the article 'resource' scope, thus fixing some issues that may occur if you had references to the 'resource' variable within the article content.
main
Alexandre Dubé 12 years ago
parent
commit
e01c289922
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      hyde/layouts/basic/layout/atom.j2

+ 2
- 2
hyde/layouts/basic/layout/atom.j2 View File

@@ -34,7 +34,7 @@
{% endfor %}

<content type="html">
{% refer to res.url as article -%}
{% refer to res.relative_path as article -%}
{% filter forceescape -%}
{% if resource.meta.excerpts_only -%}
{{ article.image|markdown|typogrify }}
@@ -46,4 +46,4 @@
</content>
</entry>
{% endfor %}
</feed>
</feed>

Loading…
Cancel
Save