diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-06-07 19:36:43 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-06-07 19:36:43 +0200 |
commit | 169805b9ed11733ffb0a320a93831f903bbe0002 (patch) | |
tree | a8b308330fea5d5bf6ca7af30e8bd432b93a56f3 /modules | |
parent | 6080a8e3c2af13907c444cd2f17fcfdf14c5475d (diff) | |
download | Nix-169805b9ed11733ffb0a320a93831f903bbe0002.tar.gz Nix-169805b9ed11733ffb0a320a93831f903bbe0002.tar.zst Nix-169805b9ed11733ffb0a320a93831f903bbe0002.zip |
Improve history page
Diffstat (limited to 'modules')
8 files changed, 12 insertions, 3 deletions
diff --git a/modules/private/websites/immae/history/_includes/header.html b/modules/private/websites/immae/history/_includes/header.html index 42eda83..09a5eb3 100644 --- a/modules/private/websites/immae/history/_includes/header.html +++ b/modules/private/websites/immae/history/_includes/header.html | |||
@@ -8,9 +8,9 @@ | |||
8 | <a href="{{ site.website }}"> | 8 | <a href="{{ site.website }}"> |
9 | <img src="{{ site.logo }}" alt="{{ site.name }}" class="logo" alt="Logo"> | 9 | <img src="{{ site.logo }}" alt="{{ site.name }}" class="logo" alt="Logo"> |
10 | </a> | 10 | </a> |
11 | <a href="{{ site.url }}"> | 11 | <a href="{{ site.url }}{{ site.baseurl }}"> |
12 | <span class="text-muted mx-3"> | 12 | <span class="text-muted mx-3"> |
13 | Changes | 13 | Historique |
14 | </span> | 14 | </span> |
15 | </a> | 15 | </a> |
16 | </div> | 16 | </div> |
diff --git a/modules/private/websites/immae/history/_includes/post.html b/modules/private/websites/immae/history/_includes/post.html index 04f4a77..c6177ab 100644 --- a/modules/private/websites/immae/history/_includes/post.html +++ b/modules/private/websites/immae/history/_includes/post.html | |||
@@ -17,6 +17,9 @@ | |||
17 | {% endif %} | 17 | {% endif %} |
18 | {% endfor %} | 18 | {% endfor %} |
19 | <span class="category {% if color %}{{ color }}{% endif %}">{{ include.category }}</span> | 19 | <span class="category {% if color %}{{ color }}{% endif %}">{{ include.category }}</span> |
20 | {% for tag in include.tags %} | ||
21 | <span class="category">{{ tag }}</span> | ||
22 | {% endfor %} | ||
20 | {% endif %} | 23 | {% endif %} |
21 | </div> | 24 | </div> |
22 | <div class="post-content my-4 text-grey-darker leading-normal text-base font-thin"> | 25 | <div class="post-content my-4 text-grey-darker leading-normal text-base font-thin"> |
diff --git a/modules/private/websites/immae/history/_includes/scripts.html b/modules/private/websites/immae/history/_includes/scripts.html index b566db8..7597aa7 100644 --- a/modules/private/websites/immae/history/_includes/scripts.html +++ b/modules/private/websites/immae/history/_includes/scripts.html | |||
@@ -1,3 +1,4 @@ | |||
1 | <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> | 1 | <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> |
2 | <script src="//unpkg.com/jscroll/dist/jquery.jscroll.min.js"></script> | 2 | <script src="//unpkg.com/jscroll/dist/jquery.jscroll.min.js"></script> |
3 | <script src="{{ site.baseurl }}/assets/js/script.js"></script> | 3 | <script src="{{ site.baseurl }}/assets/js/script.js"></script> |
4 | <script defer src="//commento.immae.eu/js/commento.js"></script> | ||
diff --git a/modules/private/websites/immae/history/_layouts/post.html b/modules/private/websites/immae/history/_layouts/post.html index 664eaed..d2e3350 100644 --- a/modules/private/websites/immae/history/_layouts/post.html +++ b/modules/private/websites/immae/history/_layouts/post.html | |||
@@ -1,7 +1,8 @@ | |||
1 | --- | 1 | --- |
2 | layout: default | 2 | layout: default |
3 | --- | 3 | --- |
4 | {% include post.html title=page.title category=page.category url=page.url date=page.date content=content %} | 4 | {% include post.html title=page.title category=page.category tags=page.tags url=page.url date=page.date content=content %} |
5 | 5 | ||
6 | <hr> | 6 | <hr> |
7 | 7 | ||
8 | <div id="commento"></div> | ||
diff --git a/modules/private/websites/immae/history/_posts/2020-05-28-fix-xmpp.md b/modules/private/websites/immae/history/_posts/2020-05-28-fix-xmpp.md index 622ad32..72422e4 100644 --- a/modules/private/websites/immae/history/_posts/2020-05-28-fix-xmpp.md +++ b/modules/private/websites/immae/history/_posts/2020-05-28-fix-xmpp.md | |||
@@ -1,6 +1,7 @@ | |||
1 | --- | 1 | --- |
2 | title: "Modification du certificat SSL d’XMPP" | 2 | title: "Modification du certificat SSL d’XMPP" |
3 | category: Fix | 3 | category: Fix |
4 | tags: [XMPP] | ||
4 | date: 2020-05-28 | 5 | date: 2020-05-28 |
5 | --- | 6 | --- |
6 | Suite à la migration d’acme, le certificate d’XMPP utilisait une clé de | 7 | Suite à la migration d’acme, le certificate d’XMPP utilisait une clé de |
diff --git a/modules/private/websites/immae/history/_posts/2020-05-31-fix-postfix-headers.md b/modules/private/websites/immae/history/_posts/2020-05-31-fix-postfix-headers.md index 95f0bb4..fc30af2 100644 --- a/modules/private/websites/immae/history/_posts/2020-05-31-fix-postfix-headers.md +++ b/modules/private/websites/immae/history/_posts/2020-05-31-fix-postfix-headers.md | |||
@@ -1,6 +1,7 @@ | |||
1 | --- | 1 | --- |
2 | title: "Ajout d’un header dans les mails traités par postfix" | 2 | title: "Ajout d’un header dans les mails traités par postfix" |
3 | category: Fix | 3 | category: Fix |
4 | tags: [Mail] | ||
4 | date: 2020-05-31 | 5 | date: 2020-05-31 |
5 | --- | 6 | --- |
6 | Un header X-Original-To a été ajouté aux en-têtes des e-mails reçus par | 7 | Un header X-Original-To a été ajouté aux en-têtes des e-mails reçus par |
diff --git a/modules/private/websites/immae/history/_posts/2020-06-06-Moteur-de-commentaires.md b/modules/private/websites/immae/history/_posts/2020-06-06-Moteur-de-commentaires.md index 6778326..7371d1a 100644 --- a/modules/private/websites/immae/history/_posts/2020-06-06-Moteur-de-commentaires.md +++ b/modules/private/websites/immae/history/_posts/2020-06-06-Moteur-de-commentaires.md | |||
@@ -1,6 +1,7 @@ | |||
1 | --- | 1 | --- |
2 | title: "Moteur de commentaires" | 2 | title: "Moteur de commentaires" |
3 | category: Nouveautés | 3 | category: Nouveautés |
4 | tags: [Général] | ||
4 | date: 2020-06-06 | 5 | date: 2020-06-06 |
5 | --- | 6 | --- |
6 | Un [nouveau moteur de commentaires](https://commento.immae.eu) a été | 7 | Un [nouveau moteur de commentaires](https://commento.immae.eu) a été |
diff --git a/modules/private/websites/immae/history/_posts/2020-06-07-historique.md b/modules/private/websites/immae/history/_posts/2020-06-07-historique.md index 7fc9abe..ff3eb6a 100644 --- a/modules/private/websites/immae/history/_posts/2020-06-07-historique.md +++ b/modules/private/websites/immae/history/_posts/2020-06-07-historique.md | |||
@@ -1,6 +1,7 @@ | |||
1 | --- | 1 | --- |
2 | title: "Nouvelle page d’historique" | 2 | title: "Nouvelle page d’historique" |
3 | category: Nouveautés | 3 | category: Nouveautés |
4 | tags: [Général] | ||
4 | date: 2020-06-07 | 5 | date: 2020-06-07 |
5 | --- | 6 | --- |
6 | ImmaeEu intègre dorénavant une page d’historique, pour lister l’ensemble | 7 | ImmaeEu intègre dorénavant une page d’historique, pour lister l’ensemble |