commit 050a431e974aad1010077549dc27b055a850d2ee Author: theo1 Date: Tue Feb 13 14:27:26 2024 +0100 first commit diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..07a0457 --- /dev/null +++ b/Makefile @@ -0,0 +1,72 @@ +PY?=python3 +PELICAN?=pelican +PELICANOPTS= + +BASEDIR=$(CURDIR) +INPUTDIR=$(BASEDIR)/content +OUTPUTDIR=$(BASEDIR)/output +CONFFILE=$(BASEDIR)/pelicanconf.py +PUBLISHCONF=$(BASEDIR)/publishconf.py + + +DEBUG ?= 0 +ifeq ($(DEBUG), 1) + PELICANOPTS += -D +endif + +RELATIVE ?= 0 +ifeq ($(RELATIVE), 1) + PELICANOPTS += --relative-urls +endif + +SERVER ?= "0.0.0.0" + +PORT ?= 0 +ifneq ($(PORT), 0) + PELICANOPTS += -p $(PORT) +endif + + +help: + @echo 'Makefile for a pelican Web site ' + @echo ' ' + @echo 'Usage: ' + @echo ' make html (re)generate the web site ' + @echo ' make clean remove the generated files ' + @echo ' make regenerate regenerate files upon modification ' + @echo ' make publish generate using production settings ' + @echo ' make serve [PORT=8000] serve site at http://localhost:8000' + @echo ' make serve-global [SERVER=0.0.0.0] serve (as root) to $(SERVER):80 ' + @echo ' make devserver [PORT=8000] serve and regenerate together ' + @echo ' make devserver-global regenerate and serve on 0.0.0.0 ' + @echo ' ' + @echo 'Set the DEBUG variable to 1 to enable debugging, e.g. make DEBUG=1 html ' + @echo 'Set the RELATIVE variable to 1 to enable relative urls ' + @echo ' ' + +html: + "$(PELICAN)" "$(INPUTDIR)" -o "$(OUTPUTDIR)" -s "$(CONFFILE)" $(PELICANOPTS) + +clean: + [ ! -d "$(OUTPUTDIR)" ] || rm -rf "$(OUTPUTDIR)" + +regenerate: + "$(PELICAN)" -r "$(INPUTDIR)" -o "$(OUTPUTDIR)" -s "$(CONFFILE)" $(PELICANOPTS) + +serve: + "$(PELICAN)" -l "$(INPUTDIR)" -o "$(OUTPUTDIR)" -s "$(CONFFILE)" $(PELICANOPTS) + +serve-global: + "$(PELICAN)" -l "$(INPUTDIR)" -o "$(OUTPUTDIR)" -s "$(CONFFILE)" $(PELICANOPTS) -b $(SERVER) + +devserver: + "$(PELICAN)" -lr "$(INPUTDIR)" -o "$(OUTPUTDIR)" -s "$(CONFFILE)" $(PELICANOPTS) + +devserver-global: + $(PELICAN) -lr $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS) -b 0.0.0.0 + +publish: + "$(PELICAN)" "$(INPUTDIR)" -o "$(OUTPUTDIR)" -s "$(PUBLISHCONF)" $(PELICANOPTS) + + +.PHONY: html help clean regenerate serve serve-global devserver publish \ No newline at end of file diff --git a/__pycache__/pelicanconf.cpython-310.pyc b/__pycache__/pelicanconf.cpython-310.pyc new file mode 100644 index 0000000..c65eecb Binary files /dev/null and b/__pycache__/pelicanconf.cpython-310.pyc differ diff --git a/__pycache__/publishconf.cpython-310.pyc b/__pycache__/publishconf.cpython-310.pyc new file mode 100644 index 0000000..3a46af0 Binary files /dev/null and b/__pycache__/publishconf.cpython-310.pyc differ diff --git a/content/newsletter/letter_fevrier.md b/content/newsletter/letter_fevrier.md new file mode 100644 index 0000000..8573f73 --- /dev/null +++ b/content/newsletter/letter_fevrier.md @@ -0,0 +1,45 @@ +Title: Newsletter - Février 2024 +Author: Chambéry Contraception Thermique +Date: 12/04/2023 +Category: Newsletters +Slug: newsletter-fev-2024 + +## On lance un collectif ! + +Nous nous sommes retrouvé⋅es à quelques personnes faisant l'expérience de la contraception testiculaire thermique. C'est une méthode (détaillée un peu plus bas) qui permet de se contracepter quand on a un pénis. + +Aujourd'hui, dans les couples hétéros, la charge contraceptive repose entièrement sur les femmes. On inculque aux femmes dès leur plus jeune âge que c'est à elle de se débrouiller pour éviter les grossesses non désirées, et la contraception reste largement un impensé pour les hommes cis. Pourtant les conséquences sur la santé des femmes des moyens de contraceptions les plus répendus (pillule hormonales, sterilets…) sont parfois sévères. + +La méthode thermique n'est pas parfaite pour tout le monde, et elle ne vise en aucun cas à remplacer les méthodes existentes. Mais c'est une méthode fiable, réversible et peu onéreuse, qui peut permettre une gestion plus égalitaire de la charge contraceptive, pour une sexualité plus libre et responsable. Alors, on en parle ? + +Ce collectif vise à parler de cette méthode, par des réunions d'informations, et au travers d'ateliers sur la place que prend la contraception dans nos vies, dans les rapports de genre, dans nos sexualités. Nous communiquerons principalement via cette liste mail, dans un premier temps du moins. Si tu connais des gens que ça pourrait intéresser, [pour s'inscrire c'est ici](https://framagroupes.org/sympa/subscribe/contraception_thermique_chambery). + +Si tu as des questions, tu peux aussi directement nous contacter à **ctt_chambery@protonmail.com**. + +## La contraception thermique, c'est quoi ? + +La contraception testiculaire thermique est un moyen **fiable** et **réversible** de se contracepter quand on a un pénis. Il fonctionne sur un principe très simple : la température normale du corps étant légèrement plus élevée que celle des testicules, elle suffit à interrompre la **spermatogénèse**, c'est-à-dire le processus de production de spermatozoïdes. + +Il est donc possible, au moyen d'un dispositif adapté (il en existe de plusieurs sortes), de se contracepter en gardant ses testicules "au chaud". Il suffit de le porter 15h par jour, ce n'est ni douloureux, ni désagréable. On vérifie régulièrement l'efficacité du port du dispositif au moyen de **spermogrammes**. + +Pour tout savoir sur la contraception thermique, son fonctionnement biologique et le protocole à suivre, tu peux te rendre [sur ce site](https://contraceptionthermique.noblogs.org/introduction/). + +## Les ateliers à venir + +Les dates seront précisées bientôt. + +**Mars** : Projection du documentaire "Haut les couilles" de Sidonie Hardoux. + +**Avril** : Cercle de parole : quelle place prend la contraception dans nos vies ? + +**Mai** : Réunion d'information autour de la contraception thermique. + +**Juin** : Réunion d'information et partie de jeu de société "Le cœur des zobs", réalisé par le collectif marseillais 13ticule. + +**Juillet** (peut-être) : Atelier couture de jockstrap. + +Les ateliers sont ouverts à toustes, peu importe le genre ou le niveau de connaissance sur la contraception thermique. Tu peux venir pour toi, pour un⋅e ami⋅e, seul⋅e ou accompagné⋅e… Tu seras lea bienvenu⋅e ! + +## Les actualités + + diff --git a/content/pages/contact.md b/content/pages/contact.md new file mode 100644 index 0000000..fda06fb --- /dev/null +++ b/content/pages/contact.md @@ -0,0 +1,9 @@ +Title: Contact +Author: Chambéry Contraception Thermique +Date: 12/04/2023 +Category: Pages +Slug: contact + +Envie de discuter ? Besoin de conseils ? Des questions ? + +N'hésite pas à nous contacter à **ctt_chambery@protonmail.com**, on te répondra dès que possible. diff --git a/content/pages/index.md b/content/pages/index.md new file mode 100644 index 0000000..b5320e2 --- /dev/null +++ b/content/pages/index.md @@ -0,0 +1,40 @@ +Title: Index +Author: Chambéry Contraception Thermique +Date: 12/04/2023 +Category: Pages +Slug: index +Hidden: True + +## La contraception testiculaire thermique, qu'est-ce que c'est ? + +La contraception testiculaire thermique est un moyen **fiable** et **réversible** de se contracepter quand on a un pénis. Il fonctionne sur un principe très simple : la température normale du corps étant légèrement plus élevée que celle des testicules, elle suffit à interrompre la **spermatogénèse**, c'est-à-dire le processus de production de spermatozoïdes. + +Il est donc possible, au moyen d'un dispositif adapté (il en existe de plusieurs sortes), de se contracepter en gardant ses testicules "au chaud" à l'intérieur du corps. Il suffit de porter ce dispositif 15h par jour, ce n'est ni douloureux, ni désagréable. On vérifie régulièrement l'efficacité du port du dispositif au moyen de **spermogrammes**. + +L'adoption de cette méthode doit être discutée au sein du couple le cas échéant, et le protocole être suivi avec sérieux pour éviter les grossesses non désirées. + +Pour en savoir plus sur la contraception thermique, son fonctionnement biologique et le protocole à suivre, tu peux te rendre [sur ce site](https://contraceptionthermique.noblogs.org/introduction/). + +## Sur Chambéry + +**Médecins** : Nous essayons de répertorier le personnel médical formé au suivi de la contraception thermique sur Chambéry (pour faire les ordonnances de spermogrammes, interprêter les résultats, faire les palpations…). + +Si tu connais quelqu'un⋅e de bien, tu peux nous en faire part en [nous contactant](./contact.md). + +**Spermogrammes** : Tu peux faire tes spermogrammes au [laboratoire Biogroup Tercinet](https://laboratoires.biogroup.fr/savoie/chambery/5-rue-favre), au 5 rue Favre dans le centre ([RDV sur Doctolib](https://www.doctolib.fr/laboratoire/chambery/biogroup-laboschambery-site-de-tercinet-amp)). Il te faut une ordonnance pour la prise en charge sécu. La part mutuelle (à ta charge si tu n'en as pas) est d'environ 14€. + +En attendant, si tu as des questions ou besoin de conseils, tu peux nous envoyer un mail ou nous voir à nos ateliers. Tu peux te tenir au courant des actualités sur la contraception testiculaire à Chambéry [en t'inscrivant à notre newsletter](https://framagroupes.org/sympa/subscribe/contraception_thermique_chambery). + +## Ressources + +Beaucoup de sites rassemblent des informations sur la contraception thermique, son protocole, les précautions à prendre, des témoignages de personnes contraceptées, etc. + +Nous on aime bien : + +* [contraceptionthermique.noblogs.org](https://contraceptionthermique.noblogs.org/), qui ont édité le livre "S'occuper de son sperme". C'est une source d'info très complète pour commencer. Le livre est disponible gratuitement en version web sur le site. + +* [Le site d'Otoko](https://samflam.notion.site/samflam/Otoko-Contraception-Autonome-93fd30b3034d465096fc939959ce01d8), initiative parisienne. Sam propose aussi des ateliers à prix libre sur Paris pour fabriquer son anneau contraceptif en silicone. + +* [Le site de Thoreme](https://thoreme.com/), l'entreprise qui commercialise l'androswitch. Tu pourras y trouver des conseils sur le port de l'anneau, mais aussi des informations plus générales sur la contraception testiculaire, et des ressources à communiquer aux médecins pour ton premier rendez-vous. + +… et y'en a plein d'autres ! diff --git a/output/archives.html b/output/archives.html new file mode 100644 index 0000000..13cd570 --- /dev/null +++ b/output/archives.html @@ -0,0 +1,54 @@ + + + + Chambéry Contraception Thermique - Archives + + + + + + + + + + + + + + + + + +
+
+

Archives for Chambéry Contraception Thermique

+ +
+
lun. 04 décembre 2023
+
Newsletter - Février 2024
+
+
+ + + +
+ + \ No newline at end of file diff --git a/output/author/chambery-contraception-thermique.html b/output/author/chambery-contraception-thermique.html new file mode 100644 index 0000000..076021b --- /dev/null +++ b/output/author/chambery-contraception-thermique.html @@ -0,0 +1,73 @@ + + + + Chambéry Contraception Thermique - Articles by Chambéry Contraception Thermique + + + + + + + + + + + + + + + + + +
+
+

La contraception testiculaire thermique, qu'est-ce que c'est ?

+

La contraception testiculaire thermique est un moyen fiable et réversible de se contracepter quand on a un pénis. Il fonctionne sur un principe très simple : la température normale du corps étant légèrement plus élevée que celle des testicules, elle suffit à interrompre la spermatogénèse, c'est-à-dire le processus de production de spermatozoïdes.

+

Il est donc possible, au moyen d'un dispositif adapté (il en existe de plusieurs sortes), de se contracepter en gardant ses testicules "au chaud" à l'intérieur du corps. Il suffit de porter ce dispositif 15h par jour, ce n'est ni douloureux, ni désagréable. On vérifie régulièrement l'efficacité du port du dispositif au moyen de spermogrammes.

+

L'adoption de cette méthode doit être discutée au sein du couple le cas échéant, et le protocole être suivi avec sérieux pour éviter les grossesses non désirées.

+

Pour en savoir plus sur la contraception thermique, son fonctionnement biologique et le protocole à suivre, tu peux te rendre sur ce site.

+

Sur Chambéry

+

Médecins : Nous essayons de répertorier le personnel médical formé au suivi de la contraception thermique sur Chambéry (pour faire les ordonnances de spermogrammes, interprêter les résultats, faire les palpations…).

+

Si tu connais quelqu'un⋅e de bien, tu peux nous en faire part en nous contactant.

+

Spermogrammes : Tu peux faire tes spermogrammes au laboratoire Biogroup Tercinet, au 5 rue Favre dans le centre (RDV sur Doctolib). Il te faut une ordonnance pour la prise en charge sécu. La part mutuelle (à ta charge si tu n'en as pas) est d'environ 14€.

+

En attendant, si tu as des questions ou besoin de conseils, tu peux nous envoyer un mail ou nous voir à nos ateliers. Tu peux te tenir au courant des actualités sur la contraception testiculaire à Chambéry en t'inscrivant à notre newsletter.

+

Ressources

+

Beaucoup de sites rassemblent des informations sur la contraception thermique, son protocole, les précautions à prendre, des témoignages de personnes contraceptées, etc.

+

Nous on aime bien :

+
    +
  • +

    contraceptionthermique.noblogs.org, qui ont édité le livre "S'occuper de son sperme". C'est une source d'info très complète pour commencer. Le livre est disponible gratuitement en version web sur le site.

    +
  • +
  • +

    Le site d'Otoko, initiative parisienne. Sam propose aussi des ateliers à prix libre sur Paris pour fabriquer son anneau contraceptif en silicone.

    +
  • +
  • +

    Le site de Thoreme, l'entreprise qui commercialise l'androswitch. Tu pourras y trouver des conseils sur le port de l'anneau, mais aussi des informations plus générales sur la contraception testiculaire, et des ressources à communiquer aux médecins pour ton premier rendez-vous.

    +
  • +
+

… et y'en a plein d'autres !

+
+ + + +
+ + \ No newline at end of file diff --git a/output/authors.html b/output/authors.html new file mode 100644 index 0000000..f32aa18 --- /dev/null +++ b/output/authors.html @@ -0,0 +1,52 @@ + + + + Chambéry Contraception Thermique - Authors + + + + + + + + + + + + + + + + + +
+
+

Authors on Chambéry Contraception Thermique

+ +
+ + + +
+ + \ No newline at end of file diff --git a/output/categories.html b/output/categories.html new file mode 100644 index 0000000..5eff1fb --- /dev/null +++ b/output/categories.html @@ -0,0 +1,52 @@ + + + + Chambéry Contraception Thermique - Categories + + + + + + + + + + + + + + + + + +
+
+

Categories on Chambéry Contraception Thermique

+ +
+ + + +
+ + \ No newline at end of file diff --git a/output/category/newsletters.html b/output/category/newsletters.html new file mode 100644 index 0000000..cc3efec --- /dev/null +++ b/output/category/newsletters.html @@ -0,0 +1,53 @@ + + + + Chambéry Contraception Thermique + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + +
+ + \ No newline at end of file diff --git a/output/feeds/all.atom.xml b/output/feeds/all.atom.xml new file mode 100644 index 0000000..ddb5282 --- /dev/null +++ b/output/feeds/all.atom.xml @@ -0,0 +1,2 @@ + +Newsletter Chambéry Contraception Thermique/2024-02-12T21:46:27Z \ No newline at end of file diff --git a/output/index.html b/output/index.html new file mode 100644 index 0000000..19378d8 --- /dev/null +++ b/output/index.html @@ -0,0 +1,73 @@ + + + + Chambéry Contraception Thermique + + + + + + + + + + + + + + + + + +
+
+

La contraception testiculaire thermique, qu'est-ce que c'est ?

+

La contraception testiculaire thermique est un moyen fiable et réversible de se contracepter quand on a un pénis. Il fonctionne sur un principe très simple : la température normale du corps étant légèrement plus élevée que celle des testicules, elle suffit à interrompre la spermatogénèse, c'est-à-dire le processus de production de spermatozoïdes.

+

Il est donc possible, au moyen d'un dispositif adapté (il en existe de plusieurs sortes), de se contracepter en gardant ses testicules "au chaud" à l'intérieur du corps. Il suffit de porter ce dispositif 15h par jour, ce n'est ni douloureux, ni désagréable. On vérifie régulièrement l'efficacité du port du dispositif au moyen de spermogrammes.

+

L'adoption de cette méthode doit être discutée au sein du couple le cas échéant, et le protocole être suivi avec sérieux pour éviter les grossesses non désirées.

+

Pour en savoir plus sur la contraception thermique, son fonctionnement biologique et le protocole à suivre, tu peux te rendre sur ce site.

+

Sur Chambéry

+

Médecins : Nous essayons de répertorier le personnel médical formé au suivi de la contraception thermique sur Chambéry (pour faire les ordonnances de spermogrammes, interprêter les résultats, faire les palpations…).

+

Si tu connais quelqu'un⋅e de bien, tu peux nous en faire part en nous contactant.

+

Spermogrammes : Tu peux faire tes spermogrammes au laboratoire Biogroup Tercinet, au 5 rue Favre dans le centre (RDV sur Doctolib). Il te faut une ordonnance pour la prise en charge sécu. La part mutuelle (à ta charge si tu n'en as pas) est d'environ 14€.

+

En attendant, si tu as des questions ou besoin de conseils, tu peux nous envoyer un mail ou nous voir à nos ateliers. Tu peux te tenir au courant des actualités sur la contraception testiculaire à Chambéry en t'inscrivant à notre newsletter.

+

Ressources

+

Beaucoup de sites rassemblent des informations sur la contraception thermique, son protocole, les précautions à prendre, des témoignages de personnes contraceptées, etc.

+

Nous on aime bien :

+
    +
  • +

    contraceptionthermique.noblogs.org, qui ont édité le livre "S'occuper de son sperme". C'est une source d'info très complète pour commencer. Le livre est disponible gratuitement en version web sur le site.

    +
  • +
  • +

    Le site d'Otoko, initiative parisienne. Sam propose aussi des ateliers à prix libre sur Paris pour fabriquer son anneau contraceptif en silicone.

    +
  • +
  • +

    Le site de Thoreme, l'entreprise qui commercialise l'androswitch. Tu pourras y trouver des conseils sur le port de l'anneau, mais aussi des informations plus générales sur la contraception testiculaire, et des ressources à communiquer aux médecins pour ton premier rendez-vous.

    +
  • +
+

… et y'en a plein d'autres !

+
+ + + +
+ + \ No newline at end of file diff --git a/output/newsletter-fev-2024.html b/output/newsletter-fev-2024.html new file mode 100644 index 0000000..cb348fa --- /dev/null +++ b/output/newsletter-fev-2024.html @@ -0,0 +1,78 @@ + + + + Chambéry Contraception Thermique - Newsletter - Février 2024 + + + + + + + + + + + + + + + + + + + + + + +
+
+
+

Newsletter - Février 2024

+ +
+
+

On lance un collectif !

+

Nous nous sommes retrouvé⋅es à quelques personnes faisant l'expérience de la contraception testiculaire thermique. C'est une méthode (détaillée un peu plus bas) qui permet de se contracepter quand on a un pénis.

+

Aujourd'hui, dans les couples hétéros, la charge contraceptive repose entièrement sur les femmes. On inculque aux femmes dès leur plus jeune âge que c'est à elle de se débrouiller pour éviter les grossesses non désirées, et la contraception reste largement un impensé pour les hommes cis. Pourtant les conséquences sur la santé des femmes des moyens de contraceptions les plus répendus (pillule hormonales, sterilets…) sont parfois sévères.

+

La méthode thermique n'est pas parfaite pour tout le monde, et elle ne vise en aucun cas à remplacer les méthodes existentes. Mais c'est une méthode fiable, réversible et peu onéreuse, qui peut permettre une gestion plus égalitaire de la charge contraceptive, pour une sexualité plus libre et responsable. Alors, on en parle ?

+

Ce collectif vise à parler de cette méthode, par des réunions d'informations, et au travers d'ateliers sur la place que prend la contraception dans nos vies, dans les rapports de genre, dans nos sexualités. Nous communiquerons principalement via cette liste mail, dans un premier temps du moins. Si tu connais des gens que ça pourrait intéresser, pour s'inscrire c'est ici.

+

Si tu as des questions, tu peux aussi directement nous contacter à ctt_chambery@protonmail.com.

+

La contraception thermique, c'est quoi ?

+

La contraception testiculaire thermique est un moyen fiable et réversible de se contracepter quand on a un pénis. Il fonctionne sur un principe très simple : la température normale du corps étant légèrement plus élevée que celle des testicules, elle suffit à interrompre la spermatogénèse, c'est-à-dire le processus de production de spermatozoïdes.

+

Il est donc possible, au moyen d'un dispositif adapté (il en existe de plusieurs sortes), de se contracepter en gardant ses testicules "au chaud". Il suffit de le porter 15h par jour, ce n'est ni douloureux, ni désagréable. On vérifie régulièrement l'efficacité du port du dispositif au moyen de spermogrammes.

+

Pour tout savoir sur la contraception thermique, son fonctionnement biologique et le protocole à suivre, tu peux te rendre sur ce site.

+

Les ateliers à venir

+

Les dates seront précisées bientôt.

+

Mars : Projection du documentaire "Haut les couilles" de Sidonie Hardoux.

+

Avril : Cercle de parole : quelle place prend la contraception dans nos vies ?

+

Mai : Réunion d'information autour de la contraception thermique.

+

Juin : Réunion d'information et partie de jeu de société "Le cœur des zobs", réalisé par le collectif marseillais 13ticule.

+

Juillet (peut-être) : Atelier couture de jockstrap.

+

Les ateliers sont ouverts à toustes, peu importe le genre ou le niveau de connaissance sur la contraception thermique. Tu peux venir pour toi, pour un⋅e ami⋅e, seul⋅e ou accompagné⋅e… Tu seras lea bienvenu⋅e !

+

Les actualités

+
+
+ + + +
+ + \ No newline at end of file diff --git a/output/pages/contact.html b/output/pages/contact.html new file mode 100644 index 0000000..97e330f --- /dev/null +++ b/output/pages/contact.html @@ -0,0 +1,56 @@ + + + + Chambéry Contraception Thermique - Contact + + + + + + + + + + + + + + + + + + + +
+
+

Contact

+ +
+

Envie de discuter ? Besoin de conseils ? Des questions ?

+

N'hésite pas à nous contacter à ctt_chambery@protonmail.com, on te répondra dès que possible.

+
+
+ + + +
+ + \ No newline at end of file diff --git a/output/pages/index.html b/output/pages/index.html new file mode 100644 index 0000000..5f2b97c --- /dev/null +++ b/output/pages/index.html @@ -0,0 +1,79 @@ + + + + Chambéry Contraception Thermique - Index + + + + + + + + + + + + + + + + + + + +
+
+

Index

+ +
+

La contraception testiculaire thermique, qu'est-ce que c'est ?

+

La contraception testiculaire thermique est un moyen fiable et réversible de se contracepter quand on a un pénis. Il fonctionne sur un principe très simple : la température normale du corps étant légèrement plus élevée que celle des testicules, elle suffit à interrompre la spermatogénèse, c'est-à-dire le processus de production de spermatozoïdes.

+

Il est donc possible, au moyen d'un dispositif adapté (il en existe de plusieurs sortes), de se contracepter en gardant ses testicules "au chaud" à l'intérieur du corps. Il suffit de porter ce dispositif 15h par jour, ce n'est ni douloureux, ni désagréable. On vérifie régulièrement l'efficacité du port du dispositif au moyen de spermogrammes.

+

L'adoption de cette méthode doit être discutée au sein du couple le cas échéant, et le protocole être suivi avec sérieux pour éviter les grossesses non désirées.

+

Pour en savoir plus sur la contraception thermique, son fonctionnement biologique et le protocole à suivre, tu peux te rendre sur ce site.

+

Sur Chambéry

+

Médecins : Nous essayons de répertorier le personnel médical formé au suivi de la contraception thermique sur Chambéry (pour faire les ordonnances de spermogrammes, interprêter les résultats, faire les palpations…).

+

Si tu connais quelqu'un⋅e de bien, tu peux nous en faire part en nous contactant.

+

Spermogrammes : Tu peux faire tes spermogrammes au laboratoire Biogroup Tercinet, au 5 rue Favre dans le centre (RDV sur Doctolib). Il te faut une ordonnance pour la prise en charge sécu. La part mutuelle (à ta charge si tu n'en as pas) est d'environ 14€.

+

En attendant, si tu as des questions ou besoin de conseils, tu peux nous envoyer un mail ou nous voir à nos ateliers. Tu peux te tenir au courant des actualités sur la contraception testiculaire à Chambéry en t'inscrivant à notre newsletter.

+

Ressources

+

Beaucoup de sites rassemblent des informations sur la contraception thermique, son protocole, les précautions à prendre, des témoignages de personnes contraceptées, etc.

+

Nous on aime bien :

+
    +
  • +

    contraceptionthermique.noblogs.org, qui ont édité le livre "S'occuper de son sperme". C'est une source d'info très complète pour commencer. Le livre est disponible gratuitement en version web sur le site.

    +
  • +
  • +

    Le site d'Otoko, initiative parisienne. Sam propose aussi des ateliers à prix libre sur Paris pour fabriquer son anneau contraceptif en silicone.

    +
  • +
  • +

    Le site de Thoreme, l'entreprise qui commercialise l'androswitch. Tu pourras y trouver des conseils sur le port de l'anneau, mais aussi des informations plus générales sur la contraception testiculaire, et des ressources à communiquer aux médecins pour ton premier rendez-vous.

    +
  • +
+

… et y'en a plein d'autres !

+
+
+ + + +
+ + \ No newline at end of file diff --git a/output/pages/newsletter-fev-2024.html b/output/pages/newsletter-fev-2024.html new file mode 100644 index 0000000..014347c --- /dev/null +++ b/output/pages/newsletter-fev-2024.html @@ -0,0 +1,38 @@ + + + + Chambéry Contraception Thermique - Contact + + + + + + + + + + + + + + + + + + + +
+
+

Contact

+ +
+ +
+
+ +
+ + \ No newline at end of file diff --git a/output/tags.html b/output/tags.html new file mode 100644 index 0000000..c78d88b --- /dev/null +++ b/output/tags.html @@ -0,0 +1,51 @@ + + + + Chambéry Contraception Thermique - Tags + + + + + + + + + + + + + + + + + +
+
+

Tags for Chambéry Contraception Thermique

+
    +
+
+ + + +
+ + \ No newline at end of file diff --git a/output/theme/css/fonts.css b/output/theme/css/fonts.css new file mode 100644 index 0000000..2d21847 --- /dev/null +++ b/output/theme/css/fonts.css @@ -0,0 +1,22 @@ +@font-face { + font-family: "Compagnon"; + src: url('fonts/Compagnon-Roman.otf'); +} + +@font-face { + font-family: "Cantarell"; + src: url('fonts/Cantarell-Light.otf') +} + +h1, h2, h3, h4, .entry-title, .footnote, #content h3, nav h2 { + font-family: "Compagnon"; +} + +#site-subtitle { + font-family: 'Cantarell'; + font-weight: bold; +} + +#content, nav, #about { + font-family: 'Cantarell'; +} diff --git a/output/theme/css/fonts/Amarante/Amarante-Regular.ttf b/output/theme/css/fonts/Amarante/Amarante-Regular.ttf new file mode 100644 index 0000000..11a174f Binary files /dev/null and b/output/theme/css/fonts/Amarante/Amarante-Regular.ttf differ diff --git a/output/theme/css/fonts/Amarante/OFL.txt b/output/theme/css/fonts/Amarante/OFL.txt new file mode 100644 index 0000000..34b1496 --- /dev/null +++ b/output/theme/css/fonts/Amarante/OFL.txt @@ -0,0 +1,94 @@ +Copyright (c) 2012 by Sorkin Type Co (www.sorkintype.com), with Reserved Font Name "Amarante". + + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/output/theme/css/fonts/Cantarell-Light.otf b/output/theme/css/fonts/Cantarell-Light.otf new file mode 100644 index 0000000..e0862a7 Binary files /dev/null and b/output/theme/css/fonts/Cantarell-Light.otf differ diff --git a/output/theme/css/fonts/Compagnon-Roman.otf b/output/theme/css/fonts/Compagnon-Roman.otf new file mode 100644 index 0000000..e79cc36 Binary files /dev/null and b/output/theme/css/fonts/Compagnon-Roman.otf differ diff --git a/output/theme/css/images.css b/output/theme/css/images.css new file mode 100644 index 0000000..8c7bd74 --- /dev/null +++ b/output/theme/css/images.css @@ -0,0 +1,34 @@ +img { + max-width: 100%; +} + +.edito_content { + background-image: url("/images/couverture_scred.jpg"); + background-repeat: no-repeat; + background-size: 100%; +} + +.small-images img, .page-images img { + width: 6em; + padding: 2em; +} + +.small-images p:nth-of-type(odd) img{ + float: right; +} + +.small-images p:nth-of-type(even) img{ + float: left; +} + +.page-images img{ + float: right +} + + +@media (max-width: 900px) { + .small-images img { + width: 100%; + padding: 1em 0 1em 0; + } +} diff --git a/output/theme/css/main.css b/output/theme/css/main.css new file mode 100644 index 0000000..aae4c30 --- /dev/null +++ b/output/theme/css/main.css @@ -0,0 +1,132 @@ +/* TODO : +* fonts +* + +*/ + +:root { + --main-color:#4f3677; +} + +h1 { + text-align: center; +} + +header a{ + text-decoration: none; + color: black; +} + +h2 { + font-size: 2em; + line-height: initial; +} + +#site-subtitle { + text-align: center; + font-size: 1em; +} + +#flex-container { + display: flex; + flex-direction: row; +} + +#content { + padding-left: 10%; + padding-right: 10%; + max-width: 50%; + font-size: 1.5em; + line-height: 35px; + + text-align: justify; + text-justify: auto; +} + +#content h3 { + background-image: url("/images/underline.png"); + background-position: 0em -1em; + background-repeat: no-repeat ; +} + +#about { + text-align: center; +} + +.entry-title { + text-align: center; +} + +.footnote { + font-size: .7em; +} + +.footnote { + color: var(--main-color); +} + +.footnote li::marker { + color: black; +} + +nav { + max-width: 40%; + padding-right: 10%; + font-size: 1.2em; + line-height: 35px; +} + +nav a { + text-decoration: none; + color: black; +} + +nav a:hover { + text-decoration: underline; + color: var(--main-color) +} + +.footnote-ref { + color: var(--main-color) +} + +footer { + padding: 50px; +} + +/* Responsive layout - makes a one column layout instead of a two-column layout */ +@media (max-width: 900px) { + #flex-container { + flex-direction: column; + } + + #content { + max-width: 100%; + text-align: left; + } + + h2 { + font-size: 1.7em; + } + + nav { + max-width: 100%; + padding-left: 10%; + padding-right: 10%; + } + + nav a { + color: black; + text-decoration: underline; + text-decoration-style: dotted; + } + + nav li { + margin: 1em; + } + + h2, h3 { + word-break: break-word; + hyphens: auto; + } +} diff --git a/pelicanconf.py b/pelicanconf.py new file mode 100644 index 0000000..fad0e02 --- /dev/null +++ b/pelicanconf.py @@ -0,0 +1,33 @@ +AUTHOR = 'Chambéry Contraception Thermique' +SITENAME = 'Chambéry Contraception Thermique' +SITEURL = '' + +PATH = 'content' + +TIMEZONE = 'Europe/Rome' + +DEFAULT_LANG = 'fr' + +# Feed generation is usually not desired when developing +FEED_ALL_ATOM = None +CATEGORY_FEED_ATOM = None +TRANSLATION_FEED_ATOM = None +AUTHOR_FEED_ATOM = None +AUTHOR_FEED_RSS = None + +THEME = 'themes/contraception' + +# Blogroll +LINKS = (('Pelican', 'https://getpelican.com/'), + ('Python.org', 'https://www.python.org/'), + ('Jinja2', 'https://palletsprojects.com/p/jinja/'), + ('You can modify those links in your config file', '#'),) + +# Social widget +SOCIAL = (('You can add links in your config file', '#'), + ('Another social link', '#'),) + +DEFAULT_PAGINATION = 10 + +# Uncomment following line if you want document-relative URLs when developing +#RELATIVE_URLS = True diff --git a/publishconf.py b/publishconf.py new file mode 100644 index 0000000..be3909b --- /dev/null +++ b/publishconf.py @@ -0,0 +1,21 @@ +# This file is only used if you use `make publish` or +# explicitly specify it as your config file. + +import os +import sys +sys.path.append(os.curdir) +from pelicanconf import * + +# If your site is available via HTTPS, make sure SITEURL begins with https:// +SITEURL = '' +RELATIVE_URLS = False + +FEED_ALL_ATOM = 'feeds/all.atom.xml' +CATEGORY_FEED_ATOM = 'feeds/{slug}.atom.xml' + +DELETE_OUTPUT_DIRECTORY = True + +# Following items are often useful when publishing + +#DISQUS_SITENAME = "" +#GOOGLE_ANALYTICS = "" \ No newline at end of file diff --git a/tasks.py b/tasks.py new file mode 100644 index 0000000..1175fc8 --- /dev/null +++ b/tasks.py @@ -0,0 +1,138 @@ +# -*- coding: utf-8 -*- + +import os +import shlex +import shutil +import sys +import datetime + +from invoke import task +from invoke.main import program +from invoke.util import cd +from pelican import main as pelican_main +from pelican.server import ComplexHTTPRequestHandler, RootedHTTPServer +from pelican.settings import DEFAULT_CONFIG, get_settings_from_file + +OPEN_BROWSER_ON_SERVE = True +SETTINGS_FILE_BASE = 'pelicanconf.py' +SETTINGS = {} +SETTINGS.update(DEFAULT_CONFIG) +LOCAL_SETTINGS = get_settings_from_file(SETTINGS_FILE_BASE) +SETTINGS.update(LOCAL_SETTINGS) + +CONFIG = { + 'settings_base': SETTINGS_FILE_BASE, + 'settings_publish': 'publishconf.py', + # Output path. Can be absolute or relative to tasks.py. Default: 'output' + 'deploy_path': SETTINGS['OUTPUT_PATH'], + # Host and port for `serve` + 'host': 'localhost', + 'port': 8000, +} + +@task +def clean(c): + """Remove generated files""" + if os.path.isdir(CONFIG['deploy_path']): + shutil.rmtree(CONFIG['deploy_path']) + os.makedirs(CONFIG['deploy_path']) + +@task +def build(c): + """Build local version of site""" + pelican_run('-s {settings_base}'.format(**CONFIG)) + +@task +def rebuild(c): + """`build` with the delete switch""" + pelican_run('-d -s {settings_base}'.format(**CONFIG)) + +@task +def regenerate(c): + """Automatically regenerate site upon file modification""" + pelican_run('-r -s {settings_base}'.format(**CONFIG)) + +@task +def serve(c): + """Serve site at http://$HOST:$PORT/ (default is localhost:8000)""" + + class AddressReuseTCPServer(RootedHTTPServer): + allow_reuse_address = True + + server = AddressReuseTCPServer( + CONFIG['deploy_path'], + (CONFIG['host'], CONFIG['port']), + ComplexHTTPRequestHandler) + + if OPEN_BROWSER_ON_SERVE: + # Open site in default browser + import webbrowser + webbrowser.open("http://{host}:{port}".format(**CONFIG)) + + sys.stderr.write('Serving at {host}:{port} ...\n'.format(**CONFIG)) + server.serve_forever() + +@task +def reserve(c): + """`build`, then `serve`""" + build(c) + serve(c) + +@task +def preview(c): + """Build production version of site""" + pelican_run('-s {settings_publish}'.format(**CONFIG)) + +@task +def livereload(c): + """Automatically reload browser tab upon file modification.""" + from livereload import Server + + def cached_build(): + cmd = '-s {settings_base} -e CACHE_CONTENT=True LOAD_CONTENT_CACHE=True' + pelican_run(cmd.format(**CONFIG)) + + cached_build() + server = Server() + theme_path = SETTINGS['THEME'] + watched_globs = [ + CONFIG['settings_base'], + '{}/templates/**/*.html'.format(theme_path), + ] + + content_file_extensions = ['.md', '.rst'] + for extension in content_file_extensions: + content_glob = '{0}/**/*{1}'.format(SETTINGS['PATH'], extension) + watched_globs.append(content_glob) + + static_file_extensions = ['.css', '.js'] + for extension in static_file_extensions: + static_file_glob = '{0}/static/**/*{1}'.format(theme_path, extension) + watched_globs.append(static_file_glob) + + for glob in watched_globs: + server.watch(glob, cached_build) + + if OPEN_BROWSER_ON_SERVE: + # Open site in default browser + import webbrowser + webbrowser.open("http://{host}:{port}".format(**CONFIG)) + + server.serve(host=CONFIG['host'], port=CONFIG['port'], root=CONFIG['deploy_path']) + + +@task +def publish(c): + """Publish to production via rsync""" + pelican_run('-s {settings_publish}'.format(**CONFIG)) + c.run( + 'rsync --delete --exclude ".DS_Store" -pthrvz -c ' + '-e "ssh -p {ssh_port}" ' + '{} {ssh_user}@{ssh_host}:{ssh_path}'.format( + CONFIG['deploy_path'].rstrip('/') + '/', + **CONFIG)) + + +def pelican_run(cmd): + cmd += ' ' + program.core.remainder # allows to pass-through args to pelican + pelican_main(shlex.split(cmd)) \ No newline at end of file diff --git a/themes/contraception/static/css/fonts.css b/themes/contraception/static/css/fonts.css new file mode 100644 index 0000000..2d21847 --- /dev/null +++ b/themes/contraception/static/css/fonts.css @@ -0,0 +1,22 @@ +@font-face { + font-family: "Compagnon"; + src: url('fonts/Compagnon-Roman.otf'); +} + +@font-face { + font-family: "Cantarell"; + src: url('fonts/Cantarell-Light.otf') +} + +h1, h2, h3, h4, .entry-title, .footnote, #content h3, nav h2 { + font-family: "Compagnon"; +} + +#site-subtitle { + font-family: 'Cantarell'; + font-weight: bold; +} + +#content, nav, #about { + font-family: 'Cantarell'; +} diff --git a/themes/contraception/static/css/fonts/Cantarell-Light.otf b/themes/contraception/static/css/fonts/Cantarell-Light.otf new file mode 100644 index 0000000..e0862a7 Binary files /dev/null and b/themes/contraception/static/css/fonts/Cantarell-Light.otf differ diff --git a/themes/contraception/static/css/fonts/Compagnon-Roman.otf b/themes/contraception/static/css/fonts/Compagnon-Roman.otf new file mode 100644 index 0000000..e79cc36 Binary files /dev/null and b/themes/contraception/static/css/fonts/Compagnon-Roman.otf differ diff --git a/themes/contraception/static/css/images.css b/themes/contraception/static/css/images.css new file mode 100644 index 0000000..8c7bd74 --- /dev/null +++ b/themes/contraception/static/css/images.css @@ -0,0 +1,34 @@ +img { + max-width: 100%; +} + +.edito_content { + background-image: url("/images/couverture_scred.jpg"); + background-repeat: no-repeat; + background-size: 100%; +} + +.small-images img, .page-images img { + width: 6em; + padding: 2em; +} + +.small-images p:nth-of-type(odd) img{ + float: right; +} + +.small-images p:nth-of-type(even) img{ + float: left; +} + +.page-images img{ + float: right +} + + +@media (max-width: 900px) { + .small-images img { + width: 100%; + padding: 1em 0 1em 0; + } +} diff --git a/themes/contraception/static/css/main.css b/themes/contraception/static/css/main.css new file mode 100644 index 0000000..aae4c30 --- /dev/null +++ b/themes/contraception/static/css/main.css @@ -0,0 +1,132 @@ +/* TODO : +* fonts +* + +*/ + +:root { + --main-color:#4f3677; +} + +h1 { + text-align: center; +} + +header a{ + text-decoration: none; + color: black; +} + +h2 { + font-size: 2em; + line-height: initial; +} + +#site-subtitle { + text-align: center; + font-size: 1em; +} + +#flex-container { + display: flex; + flex-direction: row; +} + +#content { + padding-left: 10%; + padding-right: 10%; + max-width: 50%; + font-size: 1.5em; + line-height: 35px; + + text-align: justify; + text-justify: auto; +} + +#content h3 { + background-image: url("/images/underline.png"); + background-position: 0em -1em; + background-repeat: no-repeat ; +} + +#about { + text-align: center; +} + +.entry-title { + text-align: center; +} + +.footnote { + font-size: .7em; +} + +.footnote { + color: var(--main-color); +} + +.footnote li::marker { + color: black; +} + +nav { + max-width: 40%; + padding-right: 10%; + font-size: 1.2em; + line-height: 35px; +} + +nav a { + text-decoration: none; + color: black; +} + +nav a:hover { + text-decoration: underline; + color: var(--main-color) +} + +.footnote-ref { + color: var(--main-color) +} + +footer { + padding: 50px; +} + +/* Responsive layout - makes a one column layout instead of a two-column layout */ +@media (max-width: 900px) { + #flex-container { + flex-direction: column; + } + + #content { + max-width: 100%; + text-align: left; + } + + h2 { + font-size: 1.7em; + } + + nav { + max-width: 100%; + padding-left: 10%; + padding-right: 10%; + } + + nav a { + color: black; + text-decoration: underline; + text-decoration-style: dotted; + } + + nav li { + margin: 1em; + } + + h2, h3 { + word-break: break-word; + hyphens: auto; + } +} diff --git a/themes/contraception/templates/archives.html b/themes/contraception/templates/archives.html new file mode 100644 index 0000000..cd12950 --- /dev/null +++ b/themes/contraception/templates/archives.html @@ -0,0 +1,14 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} - Archives{% endblock %} + +{% block content %} +

Archives for {{ SITENAME }}

+ +
+{% for article in dates %} +
{{ article.locale_date }}
+
{{ article.title }}
+{% endfor %} +
+{% endblock %} diff --git a/themes/contraception/templates/article.html b/themes/contraception/templates/article.html new file mode 100644 index 0000000..d447a1c --- /dev/null +++ b/themes/contraception/templates/article.html @@ -0,0 +1,33 @@ +{% extends "base.html" %} +{% block html_lang %}{{ article.lang }}{% endblock %} + +{% block title %}{{ SITENAME }} - {{ article.title|striptags }}{% endblock %} + +{% block head %} + {{ super() }} + + {% import 'translations.html' as translations with context %} + {% if translations.entry_hreflang(article) %} + {{ translations.entry_hreflang(article) }} + {% endif %} + + {% if article.description %} + + {% endif %} + + {% for tag in article.tags %} + + {% endfor %} + +{% endblock %} + +{% block content %} +
+

{{ article.title }}

+ {% import 'translations.html' as translations with context %} + {{ translations.translations_for(article) }} +
+
+ {{ article.content }} +
+{% endblock %} diff --git a/themes/contraception/templates/author.html b/themes/contraception/templates/author.html new file mode 100644 index 0000000..a190194 --- /dev/null +++ b/themes/contraception/templates/author.html @@ -0,0 +1,8 @@ +{% extends "index.html" %} + +{% block title %}{{ SITENAME }} - Articles by {{ author }}{% endblock %} + +{% block content_title %} +

Articles by {{ author }}

+{% endblock %} + diff --git a/themes/contraception/templates/authors.html b/themes/contraception/templates/authors.html new file mode 100644 index 0000000..9aee5db --- /dev/null +++ b/themes/contraception/templates/authors.html @@ -0,0 +1,12 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} - Authors{% endblock %} + +{% block content %} +

Authors on {{ SITENAME }}

+ +{% endblock %} diff --git a/themes/contraception/templates/base.html b/themes/contraception/templates/base.html new file mode 100644 index 0000000..b8209d2 --- /dev/null +++ b/themes/contraception/templates/base.html @@ -0,0 +1,84 @@ + + + + {% block head %} + {% block title %}{{ SITENAME }}{% endblock title %} + + + {% if FEED_ALL_ATOM %} + + {% endif %} + {% if FEED_ALL_RSS %} + + {% endif %} + {% if FEED_ATOM %} + + {% endif %} + {% if FEED_RSS %} + + {% endif %} + {% if CATEGORY_FEED_ATOM and category %} + + {% endif %} + {% if CATEGORY_FEED_RSS and category %} + + {% endif %} + {% if TAG_FEED_ATOM and tag %} + + {% endif %} + {% if TAG_FEED_RSS and tag %} + + {% endif %} + {% endblock head %} + + + + + + + + + + + + + + + +
+
+ {% block content %} + {% endblock %} +
+ + + +
+ + diff --git a/themes/contraception/templates/categories.html b/themes/contraception/templates/categories.html new file mode 100644 index 0000000..ffb2ede --- /dev/null +++ b/themes/contraception/templates/categories.html @@ -0,0 +1,11 @@ +{% extends "base.html" %} +{% block title %}{{ SITENAME }} - Categories{% endblock %} + +{% block content %} +

Categories on {{ SITENAME }}

+ +{% endblock %} diff --git a/themes/contraception/templates/category.html b/themes/contraception/templates/category.html new file mode 100644 index 0000000..c4c1dbc --- /dev/null +++ b/themes/contraception/templates/category.html @@ -0,0 +1,11 @@ +{% extends "base.html" %} + +{% block content %} + + + +{% endblock content %} diff --git a/themes/contraception/templates/index.html b/themes/contraception/templates/index.html new file mode 100644 index 0000000..9da4929 --- /dev/null +++ b/themes/contraception/templates/index.html @@ -0,0 +1,9 @@ +{% extends "base.html" %} + +{% block content %} +{% for page in pages %} + {% if page.slug == 'index'%} + {{page.content }} + {% endif %} +{% endfor %} +{% endblock content %} diff --git a/themes/contraception/templates/page.html b/themes/contraception/templates/page.html new file mode 100644 index 0000000..6fee1bd --- /dev/null +++ b/themes/contraception/templates/page.html @@ -0,0 +1,27 @@ +{% extends "base.html" %} +{% block html_lang %}{{ page.lang }}{% endblock %} + +{% block title %}{{ SITENAME }} - {{ page.title|striptags }}{%endblock%} + +{% block head %} + {{ super() }} + + {% import 'translations.html' as translations with context %} + {% if translations.entry_hreflang(page) %} + {{ translations.entry_hreflang(page) }} + {% endif %} +{% endblock %} + +{% block content %} +

{{ page.title }}

+ {% import 'translations.html' as translations with context %} + {{ translations.translations_for(page) }} +
+ {{ page.content }} +
+ {% if page.modified %} +

+ Last updated: {{ page.locale_modified }} +

+ {% endif %} +{% endblock %} diff --git a/themes/contraception/templates/pagination.html b/themes/contraception/templates/pagination.html new file mode 100644 index 0000000..588f130 --- /dev/null +++ b/themes/contraception/templates/pagination.html @@ -0,0 +1,15 @@ +{% if DEFAULT_PAGINATION %} +{% set first_page = articles_paginator.page(1) %} +{% set last_page = articles_paginator.page(articles_paginator.num_pages) %} +

+ {% if articles_page.has_previous() %} + + « + {% endif %} + Page {{ articles_page.number }} / {{ articles_paginator.num_pages }} + {% if articles_page.has_next() %} + » + + {% endif %} +

+{% endif %} diff --git a/themes/contraception/templates/tag.html b/themes/contraception/templates/tag.html new file mode 100644 index 0000000..9c95803 --- /dev/null +++ b/themes/contraception/templates/tag.html @@ -0,0 +1,7 @@ +{% extends "index.html" %} + +{% block title %}{{ SITENAME }} - {{ tag }} tag{% endblock %} + +{% block content_title %} +

Articles tagged with {{ tag }}

+{% endblock %} diff --git a/themes/contraception/templates/tags.html b/themes/contraception/templates/tags.html new file mode 100644 index 0000000..b90b0ac --- /dev/null +++ b/themes/contraception/templates/tags.html @@ -0,0 +1,12 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} - Tags{% endblock %} + +{% block content %} +

Tags for {{ SITENAME }}

+ +{% endblock %} diff --git a/themes/contraception/templates/translations.html b/themes/contraception/templates/translations.html new file mode 100644 index 0000000..f0e2478 --- /dev/null +++ b/themes/contraception/templates/translations.html @@ -0,0 +1,16 @@ +{% macro translations_for(article) %} +{% if article.translations %} +Translations: +{% for translation in article.translations %} +{{ translation.lang }} +{% endfor %} +{% endif %} +{% endmacro %} + +{% macro entry_hreflang(entry) %} +{% if entry.translations %} + {% for translation in entry.translations %} + + {% endfor %} +{% endif %} +{% endmacro %}