diff --git a/content/pages/about.md b/content/pages/about.md
index b82cc27..787afe5 100644
--- a/content/pages/about.md
+++ b/content/pages/about.md
@@ -13,4 +13,4 @@ Site réalisé par mes soins en utilisant [Pelican](https://blog.getpelican.com/
Hébergé chez OVH.
-Contact : [me@theo-lem.org](mailto:me@theo-lem.org)
\ No newline at end of file
+Contact : [me@theo-lem.org](mailto:me@theo-lem.org)
diff --git a/output/archives.html b/output/archives.html
index cc92a4b..1c8d035 100644
--- a/output/archives.html
+++ b/output/archives.html
@@ -29,107 +29,107 @@
ven. 04 septembre 2020
- Cœur charbon
+ Cœur charbon
mer. 19 août 2020
- Synecdoche, New York
+ Synecdoche, New York
sam. 11 juillet 2020
- Retour sur la manif #NousToutes du 10 juillet 2020 à Lyon
+ Retour sur la manif #NousToutes du 10 juillet 2020 à Lyon
dim. 14 juin 2020
- Ne rentre pas
+ Ne rentre pas
lun. 01 juin 2020
- La fumée
+ La fumée
lun. 01 juin 2020
- Un festival et un calendrier
+ Un festival et un calendrier
jeu. 07 mai 2020
- Et vous, vous proposez quoi ?
+ Et vous, vous proposez quoi ?
mer. 05 septembre 2018
- Ce que ça fait de moi
+ Ce que ça fait de moi
mer. 05 septembre 2018
- Mardi TLJ/TLH
+ Mardi TLJ/TLH
lun. 11 juin 2018
- Ciel chargé
+ Ciel chargé
lun. 21 mai 2018
- Gardav
+ Gardav
sam. 11 novembre 2017
- Nul espoir n'est perdu
+ Nul espoir n'est perdu
sam. 11 novembre 2017
- Tournoie tournoie
+ Tournoie tournoie
lun. 02 octobre 2017
- L'art de soulever les montagnes
+ L'art de soulever les montagnes
dim. 03 septembre 2017
- Revoir ma vallée
+ Revoir ma vallée
jeu. 18 mai 2017
- Remembering you dearly
+ Remembering you dearly
ven. 05 mai 2017
- C'est une bien longue nuit
+ C'est une bien longue nuit
ven. 05 mai 2017
- Cordes de chanvre
+ Cordes de chanvre
ven. 05 mai 2017
- Malléable
+ Malléable
ven. 05 mai 2017
- Viscéral
+ Viscéral
lun. 13 février 2017
- On n'entend pas l'eau qui coule
+ On n'entend pas l'eau qui coule
ven. 03 février 2017
- ||||
+ ||||
ven. 03 février 2017
- Pourrir
+ Pourrir
ven. 27 janvier 2017
- La lumière du jour...
+ La lumière du jour...
ven. 27 janvier 2017
- Obus sur la ville
+ Obus sur la ville
ven. 27 janvier 2017
- Wak wak
+ Wak wak
mar. 03 janvier 2017
- Andréa (1)
+ Andréa (1)
mar. 03 janvier 2017
- Andréa (2)
+ Andréa (2)
mar. 03 janvier 2017
- Andréa (3)
+ Andréa (3)
mar. 03 janvier 2017
- Andréa (4)
+ Andréa (4)
mer. 28 décembre 2016
- Chat noir, ours blanc
+ Chat noir, ours blanc
lun. 28 novembre 2016
- Eternel, immortel
+ Eternel, immortel
lun. 28 novembre 2016
- Une nuit sur la route
+ Une nuit sur la route
mar. 20 septembre 2016
- Mer de la tranquilité
+ Mer de la tranquilité
mer. 02 mars 2016
- Si tu pouvais...
+ Si tu pouvais...
mar. 02 février 2016
- Visite
+ Visite
mar. 26 janvier 2016
- Les échassiers
+ Les échassiers
sam. 26 septembre 2015
- Que celui...
+ Que celui...
lun. 16 février 2015
- Perrine
+ Perrine
mar. 30 décembre 2014
- A un ami (2)
+ A un ami (2)
dim. 14 décembre 2014
- Léa
+ Léa
dim. 14 décembre 2014
- Quatre astres
+ Quatre astres
dim. 14 décembre 2014
- Une petite pièce à l'encre rouge
+ Une petite pièce à l'encre rouge
lun. 03 novembre 2014
- PØLÅIR
+ PØLÅIR
dim. 02 novembre 2014
- A un ami (1)
+ A un ami (1)
dim. 02 novembre 2014
- je perdurerai
+ je perdurerai
mer. 22 octobre 2014
- te verrais-je alors ?
+ te verrais-je alors ?
jeu. 16 octobre 2014
- Coltrane sharp
+ Coltrane sharp
jeu. 09 octobre 2014
- Dans la plaine les moai dansent
+ Dans la plaine les moai dansent
jeu. 28 août 2014
- The woods
+ The woods
lun. 11 août 2014
- Ants
+ Ants
diff --git a/output/author/theo2.html b/output/author/theo2.html
new file mode 100644
index 0000000..e69de29
diff --git a/output/author/theo3.html b/output/author/theo3.html
new file mode 100644
index 0000000..e69de29
diff --git a/output/author/theo4.html b/output/author/theo4.html
new file mode 100644
index 0000000..e69de29
diff --git a/output/author/theo5.html b/output/author/theo5.html
new file mode 100644
index 0000000..e69de29
diff --git a/output/author/theo6.html b/output/author/theo6.html
new file mode 100644
index 0000000..e69de29
diff --git a/output/category/poemes.html b/output/category/poemes.html
index 026124b..9e54f8d 100644
--- a/output/category/poemes.html
+++ b/output/category/poemes.html
@@ -26,150 +26,95 @@
-
-
04.09.2020
-
---
-
-
19.08.2020
-
---
-
-
14.06.2020
-
---
-
-
01.06.2020
-
---
-
-
05.09.2018
-
---
-
-
05.09.2018
-
---
-
-
11.06.2018
-
---
-
-
21.05.2018
-
---
-
-
11.11.2017
-
---
-
-
11.11.2017
-
---
-
-
02.10.2017
-
---
-
-
03.09.2017
-
---
-
-
18.05.2017
-
---
-
-
05.05.2017
-
---
-
-
05.05.2017
-
---
-
-
05.05.2017
-
---
-
-
05.05.2017
-
---
-
-
13.02.2017
-
---
-
-
03.02.2017
-
---
-
-
03.02.2017
-
---
-
-
27.01.2017
-
---
-
-
27.01.2017
-
---
-
-
27.01.2017
-
---
-
-
03.01.2017
-
---
-
-
03.01.2017
-
---
-
-
03.01.2017
-
---
-
-
03.01.2017
-
---
-
-
28.12.2016
-
---
-
-
28.11.2016
-
---
-
-
28.11.2016
-
---
-
-
20.09.2016
-
---
-
-
02.03.2016
-
---
-
-
02.02.2016
-
---
-
-
26.01.2016
-
---
-
-
26.09.2015
-
---
-
-
16.02.2015
-
---
-
-
30.12.2014
-
---
-
-
14.12.2014
-
---
-
-
14.12.2014
-
---
-
-
14.12.2014
-
---
-
-
03.11.2014
-
---
-
-
02.11.2014
-
---
-
-
02.11.2014
-
---
-
-
22.10.2014
-
---
-
-
16.10.2014
-
---
-
-
09.10.2014
-
---
-
-
28.08.2014
-
---
-
-
11.08.2014
-
---
+
+
+
+
+
+
04.09.2020
+
---
+
+
19.08.2020
+
---
+
+
14.06.2020
+
---
+
+
01.06.2020
+
---
+
+
05.09.2018
+
---
+
+
05.09.2018
+
---
+
+
11.06.2018
+
---
+
+
21.05.2018
+
---
+
+
11.11.2017
+
---
+
+
11.11.2017
+
---
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/output/category/poemes2.html b/output/category/poemes2.html
new file mode 100644
index 0000000..89e32ed
--- /dev/null
+++ b/output/category/poemes2.html
@@ -0,0 +1,136 @@
+
+
+
+
+ theo lem | poèmes
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
02.10.2017
+
---
+
+
03.09.2017
+
---
+
+
18.05.2017
+
---
+
+
05.05.2017
+
---
+
+
05.05.2017
+
---
+
+
05.05.2017
+
---
+
+
05.05.2017
+
---
+
+
13.02.2017
+
---
+
+
03.02.2017
+
---
+
+
03.02.2017
+
---
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/output/category/poemes3.html b/output/category/poemes3.html
new file mode 100644
index 0000000..c4dac9b
--- /dev/null
+++ b/output/category/poemes3.html
@@ -0,0 +1,136 @@
+
+
+
+
+ theo lem | poèmes
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
27.01.2017
+
---
+
+
27.01.2017
+
---
+
+
27.01.2017
+
---
+
+
03.01.2017
+
---
+
+
03.01.2017
+
---
+
+
03.01.2017
+
---
+
+
03.01.2017
+
---
+
+
28.12.2016
+
---
+
+
28.11.2016
+
---
+
+
28.11.2016
+
---
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/output/category/poemes4.html b/output/category/poemes4.html
new file mode 100644
index 0000000..fbe0127
--- /dev/null
+++ b/output/category/poemes4.html
@@ -0,0 +1,136 @@
+
+
+
+
+ theo lem | poèmes
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
20.09.2016
+
---
+
+
02.03.2016
+
---
+
+
02.02.2016
+
---
+
+
26.01.2016
+
---
+
+
26.09.2015
+
---
+
+
16.02.2015
+
---
+
+
30.12.2014
+
---
+
+
14.12.2014
+
---
+
+
14.12.2014
+
---
+
+
14.12.2014
+
---
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/output/category/poemes5.html b/output/category/poemes5.html
new file mode 100644
index 0000000..327d5cd
--- /dev/null
+++ b/output/category/poemes5.html
@@ -0,0 +1,129 @@
+
+
+
+
+ theo lem | poèmes
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
03.11.2014
+
---
+
+
02.11.2014
+
---
+
+
02.11.2014
+
---
+
+
22.10.2014
+
---
+
+
16.10.2014
+
---
+
+
09.10.2014
+
---
+
+
28.08.2014
+
---
+
+
11.08.2014
+
---
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/output/index2.html b/output/index2.html
new file mode 100644
index 0000000..89f4da8
--- /dev/null
+++ b/output/index2.html
@@ -0,0 +1,47 @@
+
+
+
+
+ theo lem
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Vous êtes sur mon site personnel. La peinture est encore fraiche, d'ailleurs il est encore en construction.
+
+
N'hésitez pas à me signaler tout dysfonctionnement, faute de grammaire, ou autre.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/output/index3.html b/output/index3.html
new file mode 100644
index 0000000..89f4da8
--- /dev/null
+++ b/output/index3.html
@@ -0,0 +1,47 @@
+
+
+
+
+ theo lem
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Vous êtes sur mon site personnel. La peinture est encore fraiche, d'ailleurs il est encore en construction.
+
+
N'hésitez pas à me signaler tout dysfonctionnement, faute de grammaire, ou autre.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/output/index4.html b/output/index4.html
new file mode 100644
index 0000000..89f4da8
--- /dev/null
+++ b/output/index4.html
@@ -0,0 +1,47 @@
+
+
+
+
+ theo lem
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Vous êtes sur mon site personnel. La peinture est encore fraiche, d'ailleurs il est encore en construction.
+
+
N'hésitez pas à me signaler tout dysfonctionnement, faute de grammaire, ou autre.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/output/index5.html b/output/index5.html
new file mode 100644
index 0000000..89f4da8
--- /dev/null
+++ b/output/index5.html
@@ -0,0 +1,47 @@
+
+
+
+
+ theo lem
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Vous êtes sur mon site personnel. La peinture est encore fraiche, d'ailleurs il est encore en construction.
+
+
N'hésitez pas à me signaler tout dysfonctionnement, faute de grammaire, ou autre.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/output/index6.html b/output/index6.html
new file mode 100644
index 0000000..89f4da8
--- /dev/null
+++ b/output/index6.html
@@ -0,0 +1,47 @@
+
+
+
+
+ theo lem
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Vous êtes sur mon site personnel. La peinture est encore fraiche, d'ailleurs il est encore en construction.
+
+
N'hésitez pas à me signaler tout dysfonctionnement, faute de grammaire, ou autre.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/output/theme/css/main.css b/output/theme/css/main.css
index 2775d2b..e4354bb 100644
--- a/output/theme/css/main.css
+++ b/output/theme/css/main.css
@@ -90,3 +90,9 @@ blockquote {
visibility: hidden;
}
}
+.paginator {
+ text-align: center;
+}
+.page_numbers {
+ padding: 20px;
+}
diff --git a/output/theme/css/main.less b/output/theme/css/main.less
index 508c41c..a0121dd 100644
--- a/output/theme/css/main.less
+++ b/output/theme/css/main.less
@@ -2,8 +2,8 @@
@navbar-width:100%;
@navbar-height: 10px;
-@banner-height: 530px;
-@banner-width: 100%;
+@banner-height: 530px;
+@banner-width: 100%;
@logo-dimension: 20px;
* {
@@ -18,7 +18,7 @@ a {
.navbar {
font-size: 1.5em;
- width: @navbar-width;
+ width: @navbar-width;
height: @navbar-height;
background-color: white;
margin-top: 10px;
@@ -29,7 +29,7 @@ a {
text-overflow: ellipsis;
a {
- padding-left: 40px;
+ padding-left: 40px;
padding-right: 40px;
}
@@ -45,8 +45,8 @@ a {
a {
text-decoration: none;
- padding-right: 20px;
- padding-left: 20px;
+ padding-right: 20px;
+ padding-left: 20px;
}
}
@@ -56,18 +56,18 @@ a {
.banner-img {
width: @banner-width;
- border: solid;
+ border: solid;
border-width: 1px;
}
#rss-logo {
- width: @logo-dimension;
- height: @logo-dimension;
+ width: @logo-dimension;
+ height: @logo-dimension;
}
#git-logo {
- width: @logo-dimension;
- height: @logo-dimension;
+ width: @logo-dimension;
+ height: @logo-dimension;
}
@@ -113,4 +113,12 @@ blockquote {
.navbar {
visibility: hidden;
}
-}
\ No newline at end of file
+}
+
+.paginator {
+ text-align: center;
+}
+
+.page_numbers {
+ padding: 20px;
+}
diff --git a/pelicanconf.py b/pelicanconf.py
index 61ffc04..bc918f5 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -12,6 +12,9 @@ TIMEZONE = 'Europe/Paris'
DEFAULT_LANG = 'fr'
+DEFAULT_ORPHANS = 0
+DEFAULT_PAGINATION = 10
+
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
diff --git a/themes/theo_lem/static/css/main.css b/themes/theo_lem/static/css/main.css
index 2775d2b..e4354bb 100644
--- a/themes/theo_lem/static/css/main.css
+++ b/themes/theo_lem/static/css/main.css
@@ -90,3 +90,9 @@ blockquote {
visibility: hidden;
}
}
+.paginator {
+ text-align: center;
+}
+.page_numbers {
+ padding: 20px;
+}
diff --git a/themes/theo_lem/static/css/main.less b/themes/theo_lem/static/css/main.less
index 508c41c..a0121dd 100644
--- a/themes/theo_lem/static/css/main.less
+++ b/themes/theo_lem/static/css/main.less
@@ -2,8 +2,8 @@
@navbar-width:100%;
@navbar-height: 10px;
-@banner-height: 530px;
-@banner-width: 100%;
+@banner-height: 530px;
+@banner-width: 100%;
@logo-dimension: 20px;
* {
@@ -18,7 +18,7 @@ a {
.navbar {
font-size: 1.5em;
- width: @navbar-width;
+ width: @navbar-width;
height: @navbar-height;
background-color: white;
margin-top: 10px;
@@ -29,7 +29,7 @@ a {
text-overflow: ellipsis;
a {
- padding-left: 40px;
+ padding-left: 40px;
padding-right: 40px;
}
@@ -45,8 +45,8 @@ a {
a {
text-decoration: none;
- padding-right: 20px;
- padding-left: 20px;
+ padding-right: 20px;
+ padding-left: 20px;
}
}
@@ -56,18 +56,18 @@ a {
.banner-img {
width: @banner-width;
- border: solid;
+ border: solid;
border-width: 1px;
}
#rss-logo {
- width: @logo-dimension;
- height: @logo-dimension;
+ width: @logo-dimension;
+ height: @logo-dimension;
}
#git-logo {
- width: @logo-dimension;
- height: @logo-dimension;
+ width: @logo-dimension;
+ height: @logo-dimension;
}
@@ -113,4 +113,12 @@ blockquote {
.navbar {
visibility: hidden;
}
-}
\ No newline at end of file
+}
+
+.paginator {
+ text-align: center;
+}
+
+.page_numbers {
+ padding: 20px;
+}
diff --git a/themes/theo_lem/templates/category.html b/themes/theo_lem/templates/category.html
index 31a251a..2d570c5 100644
--- a/themes/theo_lem/templates/category.html
+++ b/themes/theo_lem/templates/category.html
@@ -4,14 +4,43 @@
{% block content %}
-{% if articles %}
+{% if articles_page and articles_paginator.num_pages > 1 %}
+
+
+
+ {% if articles_page.has_previous() %}
+
«
+
+ {% endif %}
+
{{ articles_page.number }} / {{ articles_paginator.num_pages }}
+
+ {% if articles_page.has_next() %}
+
»
+ {% endif %}
+
+
+ {% for i in range (0, DEFAULT_PAGINATION ) %}
+ {% set index = (articles_page.number - 1) * DEFAULT_PAGINATION %}
+ {% if index + i < articles|length %}
+ {% set article = articles[index + i] %}
+
+ {{ article.date |strftime('%d.%m.%Y') }}
+ ---
+ {% endif %}
+ {% endfor %}
+
{% for article in articles %}
+
+ {% endfor %}
+
+
+{% else %}
+{% for article in articles %}
{{ article.date |strftime('%d.%m.%Y') }}
---
- {% endfor %}
-{% else %}
- Pas encore d'articles dans cette catégorie.
+{% endfor %}
{% endif %}
-{% endblock content %}
\ No newline at end of file
+{% endblock content %}