You're mutually oblivious.
+You're mutually oblivious.
a root-relative link to unbelievable a file-relative link to unbelievable
-diff --git a/pelican/tests/output/basic/a-markdown-powered-article.html b/pelican/tests/output/basic/a-markdown-powered-article.html index 9053d5fe..3433b328 100644 --- a/pelican/tests/output/basic/a-markdown-powered-article.html +++ b/pelican/tests/output/basic/a-markdown-powered-article.html @@ -1,65 +1,68 @@ -
+You're mutually oblivious.
+You're mutually oblivious.
a root-relative link to unbelievable a file-relative link to unbelievable
-Article 1
+Article 1
-Article 2
+Article 2
-Article 3
+Article 3
-After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst ! YEAH !
After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst ! YEAH !
You're mutually oblivious.
a root-relative link to unbelievable -a file-relative link to unbelievable
Some cool stuff!
-Or completely awesome. Depends the needs.
+Or completely awesome. Depends the needs.
a root-relative link to markdown-article a file-relative link to markdown-article
This will now have a line number in 'custom' since it's the default in pelican.conf, it will …
Some content here !
→ And now try with some utf8 hell: ééé
This is a draft article, it should live under the /drafts/ folder and not be +
This is a draft article, it should live under the /drafts/ folder and not be listed anywhere else.
-Some cool stuff!
+Some cool stuff!
-Some cool stuff!
-You're mutually oblivious.
+You're mutually oblivious.
a root-relative link to unbelievable a file-relative link to unbelievable
- read more -After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst ! YEAH !
Or completely awesome. Depends the needs.
+Or completely awesome. Depends the needs.
a root-relative link to markdown-article a file-relative link to markdown-article
This will now have a line number in 'custom' since it's the default in pelican.conf, it will …
After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst ! YEAH !
Ceci est un article, en français.
+Ceci est un article, en français.
-This is some article, in english
+This is some article, in english
-This is some article, in english
-After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst ! YEAH !
This article overrides the listening of the articles under the baz tag.
+This article overrides the listening of the articles under the baz tag.
-This is some article, in english
-Some content here !
→ And now try with some utf8 hell: ééé
After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst ! YEAH !
Some content here !
+ +Some content here !
And here comes the cool stuff.
@@ -56,27 +61,27 @@→ And now try with some utf8 hell: ééé
Or completely awesome. Depends the needs.
+Or completely awesome. Depends the needs.
a root-relative link to markdown-article a file-relative link to markdown-article
Lovely.
+
You're mutually oblivious.
+You're mutually oblivious.
a root-relative link to unbelievable a file-relative link to unbelievable
-
+
+
Article 1
+Article 1
-
+
Article 2
+Article 2
-
+
Article 3
+Article 3
-
+
Some cool stuff!
-There are comments.
There are comments.
+You're mutually oblivious.
+You're mutually oblivious.
a root-relative link to unbelievable a file-relative link to unbelievable
- read more -There are comments.
There are comments.
+Page 1 / 3 »
-
+
After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst ! YEAH !
There are comments.
There are comments.
+
+
Or completely awesome. Depends the needs.
+Or completely awesome. Depends the needs.
a root-relative link to markdown-article a file-relative link to markdown-article
This will now have a line number in 'custom' since it's the default in pelican.conf, it will …
There are comments.
There are comments.
+« Page 3 / 3
-
+
+
+
There are comments.
There are comments.
+
+
You're mutually oblivious.
a root-relative link to unbelievable -a file-relative link to unbelievable
There are comments.
There are comments.
+
+
Some cool stuff!
-There are comments.
There are comments.
+Or completely awesome. Depends the needs.
+Or completely awesome. Depends the needs.
a root-relative link to markdown-article a file-relative link to markdown-article
This will now have a line number in 'custom' since it's the default in pelican.conf, it will …
There are comments.
There are comments.
+
+
Some content here !
→ And now try with some utf8 hell: ééé
There are comments.
There are comments.
+
+
This is a draft article, it should live under the /drafts/ folder and not be +
This is a draft article, it should live under the /drafts/ folder and not be listed anywhere else.
-
+
Some cool stuff!
+Some cool stuff!
-
+
Some cool stuff!
-There are comments.
There are comments.
+You're mutually oblivious.
+You're mutually oblivious.
a root-relative link to unbelievable a file-relative link to unbelievable
- read more -There are comments.
There are comments.
+Page 1 / 3 »
-
+
After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst ! YEAH !
There are comments.
There are comments.
+
+
Or completely awesome. Depends the needs.
+Or completely awesome. Depends the needs.
a root-relative link to markdown-article a file-relative link to markdown-article
This will now have a line number in 'custom' since it's the default in pelican.conf, it will …
There are comments.
There are comments.
+« Page 3 / 3
-
+
+
Et voila du contenu en français
+Et voila du contenu en français
-
+
After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst ! YEAH !
+
+
+
+
Ceci est un article, en français.
+Ceci est un article, en français.
-
+
This is some article, in english
+This is some article, in english
-
+
This is some article, in english
-There are comments.
There are comments.
+After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst ! YEAH !
There are comments.
There are comments.
+
+
This article overrides the listening of the articles under the baz tag.
+This article overrides the listening of the articles under the baz tag.
-
+
This is some article, in english
-There are comments.
There are comments.
+
+
Some content here !
→ And now try with some utf8 hell: ééé
There are comments.
There are comments.
+
+
+
There are comments.
There are comments.
+
+
+
Some content here !
+ +Some content here !
And here comes the cool stuff.
@@ -60,56 +65,56 @@→ And now try with some utf8 hell: ééé
+
Or completely awesome. Depends the needs.
+Or completely awesome. Depends the needs.
a root-relative link to markdown-article a file-relative link to markdown-article
Lovely.
+
+
Some cool stuff!
-There are comments.
There are comments.
+You're mutually oblivious.
+You're mutually oblivious.
a root-relative link to unbelievable a file-relative link to unbelievable
- read more -There are comments.
There are comments.
+Page 1 / 3 »
-
+
After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst ! YEAH !
There are comments.
There are comments.
+
+
Or completely awesome. Depends the needs.
+Or completely awesome. Depends the needs.
a root-relative link to markdown-article a file-relative link to markdown-article
This will now have a line number in 'custom' since it's the default in pelican.conf, it will …
There are comments.
There are comments.
+« Page 3 / 3
-
+
+
+
There are comments.
There are comments.
+
+
You're mutually oblivious.
a root-relative link to unbelievable -a file-relative link to unbelievable
There are comments.
There are comments.
+
+
Some cool stuff!
-There are comments.
There are comments.
+Or completely awesome. Depends the needs.
+Or completely awesome. Depends the needs.
a root-relative link to markdown-article a file-relative link to markdown-article
This will now have a line number in 'custom' since it's the default in pelican.conf, it will …
There are comments.
There are comments.
+
+
Some content here !
→ And now try with some utf8 hell: ééé
There are comments.
There are comments.
+
+
This is a draft article, it should live under the /drafts/ folder and not be +
This is a draft article, it should live under the /drafts/ folder and not be listed anywhere else.
-
+
Some cool stuff!
-There are comments.
There are comments.
+You're mutually oblivious.
+You're mutually oblivious.
a root-relative link to unbelievable a file-relative link to unbelievable
- read more -There are comments.
There are comments.
+Page 1 / 3 »
-
+
After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst ! YEAH !
There are comments.
There are comments.
+
+
Or completely awesome. Depends the needs.
+Or completely awesome. Depends the needs.
a root-relative link to markdown-article a file-relative link to markdown-article
This will now have a line number in 'custom' since it's the default in pelican.conf, it will …
There are comments.
There are comments.
+« Page 3 / 3
-
+
+
Et voila du contenu en français
+Et voila du contenu en français
-
+
+
+
+
Some content here !
+ +Some content here !
And here comes the cool stuff.
@@ -60,56 +65,56 @@→ And now try with some utf8 hell: ééé
+
Or completely awesome. Depends the needs.
+Or completely awesome. Depends the needs.
a root-relative link to markdown-article a file-relative link to markdown-article
Lovely.
+
After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst ! YEAH !
+
You're mutually oblivious.
+You're mutually oblivious.
a root-relative link to unbelievable a file-relative link to unbelievable
-
+
Article 1
+Article 1
-
+
Article 2
+Article 2
-
+
Article 3
+Article 3
-
+
This is some article, in english
+This is some article, in english
-
+
Some cool stuff!
+Some cool stuff!
-
+
Ceci est un article, en français.
+Ceci est un article, en français.
-
+
This is some article, in english
-There are comments.
There are comments.
+After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst ! YEAH !
There are comments.
There are comments.
+
+
This article overrides the listening of the articles under the baz tag.
+This article overrides the listening of the articles under the baz tag.
-
+
This is some article, in english
-There are comments.
There are comments.
+
+
Some content here !
→ And now try with some utf8 hell: ééé
There are comments.
There are comments.
+
+
+
There are comments.
There are comments.
+
+
There are comments.
{% endif %} +{% if DISQUS_SITENAME %} +There are comments.
+{% endif %} diff --git a/pelican/themes/notmyidea/templates/github.html b/pelican/themes/notmyidea/templates/github.html index ccc401fe..7e418947 100644 --- a/pelican/themes/notmyidea/templates/github.html +++ b/pelican/themes/notmyidea/templates/github.html @@ -1,9 +1,9 @@ {% if GITHUB_URL %} -{% if GITHUB_POSITION != "left" %} -
-{% else %}
-
-{% endif %}
+ {% if GITHUB_POSITION != "left" %}
+
+ {% else %}
+
+ {% endif %}
{% endif %}
diff --git a/pelican/themes/notmyidea/templates/index.html b/pelican/themes/notmyidea/templates/index.html
index 20ca7eee..77c6ed94 100644
--- a/pelican/themes/notmyidea/templates/index.html
+++ b/pelican/themes/notmyidea/templates/index.html
@@ -1,59 +1,67 @@
+{# NOTE: To better show the structure of the output HTML, this template is
+indented ignoring Jinja blocks. #}
{% extends "base.html" %}
{% block content_title %}{% endblock %}
{% block content %}
{% if articles %}
- {% for article in articles_page.object_list %}
+{% for article in articles_page.object_list %}
- {# First item #}
- {% if loop.first and not articles_page.has_previous() %}
- tags: {% for tag in article.tags %}{{ tag | escape }} {% endfor %}
{% endif %} +{% if article.tags %} +tags: {% for tag in article.tags %}{{ tag | escape }} {% endfor %}
+{% endif %} diff --git a/pelican/themes/notmyidea/templates/translations.html b/pelican/themes/notmyidea/templates/translations.html index 1eec7c43..c6dc99cd 100644 --- a/pelican/themes/notmyidea/templates/translations.html +++ b/pelican/themes/notmyidea/templates/translations.html @@ -1,6 +1,6 @@ {% macro translations_for(article) %} {% if article.translations %} -Translations: + Translations: {% for translation in article.translations %} {{ translation.lang }} {% endfor %} @@ -9,8 +9,8 @@ Translations: {% macro entry_hreflang(entry) %} {% if entry.translations %} - {% for translation in entry.translations %} - - {% endfor %} + {% for translation in entry.translations %} + + {% endfor %} {% endif %} {% endmacro %} diff --git a/pelican/themes/simple/templates/article.html b/pelican/themes/simple/templates/article.html index 5a1c093d..3bcbdb40 100644 --- a/pelican/themes/simple/templates/article.html +++ b/pelican/themes/simple/templates/article.html @@ -4,64 +4,65 @@ {% block title %}{{ SITENAME }} - {{ article.title }}{% endblock %} {% block head %} - {{ super() }} +{{ super() }} - {% import 'translations.html' as translations with context %} - {% if translations.entry_hreflang(article) %} +{% import 'translations.html' as translations with context %} +{% if translations.entry_hreflang(article) %} {{ translations.entry_hreflang(article) }} - {% endif %} +{% endif %} - {% if article.description %} +{% if article.description %} - {% endif %} +{% endif %} - {% for tag in article.tags %} +{% for tag in article.tags %} - {% endfor %} +{% endfor %} {% endblock %} {% block content %}- Last updated: {{ page.locale_modified }} -
- {% endif %} +{% if page.modified %} +Last updated: {{ page.locale_modified }}
+{% endif %} {% endblock %} diff --git a/pelican/themes/simple/templates/tags.html b/pelican/themes/simple/templates/tags.html index b90b0ac3..cebf11b3 100644 --- a/pelican/themes/simple/templates/tags.html +++ b/pelican/themes/simple/templates/tags.html @@ -3,10 +3,10 @@ {% block title %}{{ SITENAME }} - Tags{% endblock %} {% block content %} -
Comments !
- - - -