mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge branch 'master' of https://github.com/ametaireau/pelican into fix-functional-tests
This commit is contained in:
commit
5ffdee42e2
7 changed files with 26 additions and 38 deletions
10
CHANGELOG
10
CHANGELOG
|
|
@ -1,10 +1,18 @@
|
||||||
X.X
|
3.0 - XX/XX/XXXX
|
||||||
|
|
||||||
* Refactored the way URL are handled.
|
* Refactored the way URL are handled.
|
||||||
* Improved the english documentation
|
* Improved the english documentation
|
||||||
* Fixed packaging using setuptools entrypoints
|
* Fixed packaging using setuptools entrypoints
|
||||||
* Added typogrify support
|
* Added typogrify support
|
||||||
* Added a way to disable feed generation
|
* Added a way to disable feed generation
|
||||||
|
* Added support for DIRECT_TEMPLATES
|
||||||
|
* Allow multiple extensions for content files
|
||||||
|
* Added less support
|
||||||
|
* Improved the import script
|
||||||
|
* Fixed a bunch of bugs :-)
|
||||||
|
* Added functional tests
|
||||||
|
* Rsync support in the generated Makefile
|
||||||
|
* Improved feed support (easily pluggable with feedburner for instance)
|
||||||
|
|
||||||
2.8
|
2.8
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
{% extends "base.html" %}
|
|
||||||
{% block content %}
|
|
||||||
<ul>
|
|
||||||
{% for category, articles in categories %}
|
|
||||||
<li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></li>
|
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
|
||||||
{% endblock %}
|
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% for cat, null in categories %}
|
{% for cat, null in categories %}
|
||||||
<li{% if cat == category %} class="active"{% endif %}><a href="{{ SITEURL }}/category/{{ cat }}.html">{{ cat }}</a></li>
|
<li{% if cat == category %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</ul></nav><!-- /#menu -->
|
</ul></nav><!-- /#menu -->
|
||||||
|
|
|
||||||
|
|
@ -17,18 +17,6 @@
|
||||||
</article></li>
|
</article></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ol><!-- /#posts-list -->
|
</ol><!-- /#posts-list -->
|
||||||
<p class="paginator">
|
{% include 'pagination.html' %}
|
||||||
{% if articles_page.has_previous() %}
|
|
||||||
{% if articles_page.previous_page_number() == 1 %}
|
|
||||||
<a href="{{ SITEURL }}/{{ page_name }}.html">«</a>
|
|
||||||
{% else %}
|
|
||||||
<a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.previous_page_number() }}.html">«</a>
|
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
|
||||||
Page {{ articles_page.number }} / {{ articles_paginator.num_pages }}
|
|
||||||
{% if articles_page.has_next() %}
|
|
||||||
<a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.next_page_number() }}.html">»</a>
|
|
||||||
{% endif %}
|
|
||||||
</p>
|
|
||||||
</section><!-- /#content -->
|
</section><!-- /#content -->
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue