Browse Source

Fix issues in the BASIC layout.

*   Bugfix: Use `clearfix` class in `listing.j2`. (Issue #156)
*   Bugfix: Use `relative_path` instead of url in `macros.j2`.
    (Issue #180)
main
Lakshmi Vyasarajan 11 years ago
parent
commit
a6636f03be
6 changed files with 11 additions and 5 deletions
  1. +6
    -0
      CHANGELOG.rst
  2. +1
    -1
      README.rst
  3. +1
    -1
      hyde/ext/plugins/structure.py
  4. +1
    -1
      hyde/layouts/basic/layout/listing.j2
  5. +1
    -1
      hyde/layouts/basic/layout/macros.j2
  6. +1
    -1
      hyde/version.py

+ 6
- 0
CHANGELOG.rst View File

@@ -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
============================================================



+ 1
- 1
README.rst View File

@@ -1,4 +1,4 @@
Version 0.8.6
Version 0.8.7a1

A brand new **hyde**
====================


+ 1
- 1
hyde/ext/plugins/structure.py View File

@@ -307,7 +307,7 @@ class PaginatorPlugin(Plugin):
then in the resource's content:

{% for res in resource.page.posts %}
{% refer to res.url as post %}
{% refer to res.relative_path as post %}
{{ post }}
{% endfor %}



+ 1
- 1
hyde/layouts/basic/layout/listing.j2 View File

@@ -3,7 +3,7 @@
{% block main %}
{% 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() %}
<li>
{{ render_excerpt(res) }}


+ 1
- 1
hyde/layouts/basic/layout/macros.j2 View File

@@ -1,5 +1,5 @@
{% macro render_excerpt(res, class=None) %}
{% refer to res.url as post %}
{% refer to res.relative_path as post %}
<article {{'class='~class if class }}>
<h3><a href="{{ content_url(res.url) }}">{{ res.meta.title }}</a></h3>
<a href="{{ content_url(res.url) }}">{{ post.image|markdown|typogrify }}</a>


+ 1
- 1
hyde/version.py View File

@@ -2,4 +2,4 @@
"""
Handles hyde version.
"""
__version__ = '0.8.6'
__version__ = '0.8.7a1'

Loading…
Cancel
Save