* Bugfix: Use `clearfix` class in `listing.j2`. (Issue #156) * Bugfix: Use `relative_path` instead of url in `macros.j2`. (Issue #180)main
| @@ -1,3 +1,9 @@ | |||||
| Version 0.8.7a1 | |||||
| ============================================================ | |||||
| * Bugfix: Use `clearfix` class in `listing.j2`. (Issue #156) | |||||
| * Bugfix: Use `relative_path` instead of url in `macros.j2`. (Issue #180) | |||||
| Version 0.8.6 | Version 0.8.6 | ||||
| ============================================================ | ============================================================ | ||||
| @@ -1,4 +1,4 @@ | |||||
| Version 0.8.6 | |||||
| Version 0.8.7a1 | |||||
| A brand new **hyde** | A brand new **hyde** | ||||
| ==================== | ==================== | ||||
| @@ -307,7 +307,7 @@ class PaginatorPlugin(Plugin): | |||||
| then in the resource's content: | then in the resource's content: | ||||
| {% for res in resource.page.posts %} | {% for res in resource.page.posts %} | ||||
| {% refer to res.url as post %} | |||||
| {% refer to res.relative_path as post %} | |||||
| {{ post }} | {{ post }} | ||||
| {% endfor %} | {% endfor %} | ||||
| @@ -3,7 +3,7 @@ | |||||
| {% block main %} | {% block main %} | ||||
| {% block page_title %}<h1 class="title">{{ resource.meta.title }}</h1>{% endblock %} | {% block page_title %}<h1 class="title">{{ resource.meta.title }}</h1>{% endblock %} | ||||
| <ul class="listing clear"> | |||||
| <ul class="listing clearfix"> | |||||
| {% for res in resource.node.walk_resources_sorted_by_time() %} | {% for res in resource.node.walk_resources_sorted_by_time() %} | ||||
| <li> | <li> | ||||
| {{ render_excerpt(res) }} | {{ render_excerpt(res) }} | ||||
| @@ -1,5 +1,5 @@ | |||||
| {% macro render_excerpt(res, class=None) %} | {% macro render_excerpt(res, class=None) %} | ||||
| {% refer to res.url as post %} | |||||
| {% refer to res.relative_path as post %} | |||||
| <article {{'class='~class if class }}> | <article {{'class='~class if class }}> | ||||
| <h3><a href="{{ content_url(res.url) }}">{{ res.meta.title }}</a></h3> | <h3><a href="{{ content_url(res.url) }}">{{ res.meta.title }}</a></h3> | ||||
| <a href="{{ content_url(res.url) }}">{{ post.image|markdown|typogrify }}</a> | <a href="{{ content_url(res.url) }}">{{ post.image|markdown|typogrify }}</a> | ||||
| @@ -2,4 +2,4 @@ | |||||
| """ | """ | ||||
| Handles hyde version. | Handles hyde version. | ||||
| """ | """ | ||||
| __version__ = '0.8.6' | |||||
| __version__ = '0.8.7a1' | |||||