self-promotion: Reddit, Crossdreamers, Third Way Trans
Pelican bug report or patch re spacing in file
favicon
-CSS size (my browser things look better at 90%)
-"Read more" breaks
-paginate main site
+"Read more" breaks (problem: plugin for this uses fixed length cutoff)
+
+
('My Only Path to Power', "https://transwidow.wordpress.com/"),
)
-DEFAULT_PAGINATION = 12
+DEFAULT_PAGINATION = 20
WITH_FUTURE_DATES = False
{% block content %}
-{% for article in articles %}
+{% for article in articles_page.object_list %}
<article>
<h1><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h1>
{% include 'metadata.inc.html' %}
<hr />
{% endfor %}
+{% include 'pagination.inc.html' %}
+
{% endblock content %}
<div class="pagination">
{% if articles_page.has_previous() %}
{% if articles_page.previous_page_number() == 1 %}
- <a href="{{ SITEURL }}/{{ page_name }}">«</a>
+ <a href="{{ SITEURL }}/{{ page_name }}">«</a>
{% else %}
+ {% if page_name == "index" %}
+ <a href="{{ SITEURL }}/page/{{ articles_page.previous_page_number() }}/">«</a>
+ {% else %}
<a href="{{ SITEURL }}/{{ page_name }}page/{{ articles_page.previous_page_number() }}/">«</a>
+ {% endif %}
{% endif %}
{% endif %}
Page {{ articles_page.number }} / {{ articles_paginator.num_pages }}
{% if articles_page.has_next() %}
+ {% if page_name == "index" %}
+ <a href="{{ SITEURL }}/page/{{ articles_page.next_page_number() }}/">»</a>
+ {% else %}
<a href="{{ SITEURL }}/{{ page_name }}page/{{ articles_page.next_page_number() }}/">»</a>
+ {% endif %}
{% endif %}
</div>
{% endif %}