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
hi.
i just used the default template, and from the code of content/blog/blog.html and _listing.html and _innerlisting.html, i expect to see some excerpts in deploy/blog/blog.html once i run ./hyde.py -g
but there is none.
in fact, if i look at _layout/skeleton/innerlisting.html, this seems wrong
{% if page.excerpt %}
{% render_excerpt list_page %}
{%endif%}
shouldn't it be {% if list_page.excerpt %} ? but this does not work either. in fact list_page does not seems to have excerpt_title or excerpt_url either. niether page.
the only way to make it work is to simple remove the if test keeping only
{% render_excerpt list_page %}
and this, at last, works as expected.
However, by looking at hydeengine/templatetags/hydetags.py, i have easily spotted an error:
line 170:
hi.
i just used the default template, and from the code of content/blog/blog.html and _listing.html and _innerlisting.html, i expect to see some excerpts in deploy/blog/blog.html once i run ./hyde.py -g
but there is none.
in fact, if i look at _layout/skeleton/innerlisting.html, this seems wrong
shouldn't it be {% if list_page.excerpt %} ? but this does not work either. in fact list_page does not seems to have excerpt_title or excerpt_url either. niether page.
the only way to make it work is to simple remove the if test keeping only
and this, at last, works as expected.
However, by looking at hydeengine/templatetags/hydetags.py, i have easily spotted an error:
line 170:
should be
but this does not seems to cause problem at all...
The text was updated successfully, but these errors were encountered: