diff --git a/content/apropos/index.md b/content/apropos/index.md new file mode 100644 index 0000000..93449f2 --- /dev/null +++ b/content/apropos/index.md @@ -0,0 +1,32 @@ ++++ +template = "apropos.html" +generate_feed = false +path = "apropos" +date = "2023-04-23" +title = "D'où je parle" ++++ + +Dans une vie, je suis monocycliste. Pourtant ce blog ne traitera pas (forcément de monocycle. Dans une autre vie, je suis informaticien, bricoleur +à mes heures perdu. J'aime beaucoup détourner des objets de leur usage premier et bricoler de la petite électronique. Je m'inspire beaucoup des +expériences des autres pour toutes sortes de projets. J'espère que celui-ci pourra de même vous inspirer. + + +## À part ça + +Je suis aussi membre de l'association [Picasoft](https://picasoft.net). Une __bande de potes__ association membre du collectif [Chatons](https://chatons.org) +qui a pour but de sensibiliser aux enjeux du numérique et héberger des services libres. L'association possède d'ailleurs son propre [blog](https://blog.picasoft.net) +qui héberge de très beau articles. + +{{ image(url="apropos/picasoft_logo.svg", description="le logo de picasoft") }} + +## Chatons encore + +Je suis aussi membre d'un autre Chatons : [paquerette](https://paquerette.eu). Ce Chatons propose des prestations sur mesure d'hébergement de services libres. + +## Du boulot encore + +Je fais aussi partie de l'entreprise [Librezo](https://librezo.fr) qui propose des prestations variées tant d'hébergement, +de développement que d'accompagnement aux outils libres. L'accent ici est plus tourné autour de la pratique de [l'autohébergement](???) de ses clients. + +{{ image(url="apropos/librezo_logo.svg", description="le logo de librezo") }} + diff --git a/content/static/librezo_logo.svg b/content/apropos/librezo_logo.svg similarity index 100% rename from content/static/librezo_logo.svg rename to content/apropos/librezo_logo.svg diff --git a/content/static/picasoft_logo.svg b/content/apropos/picasoft_logo.svg similarity index 100% rename from content/static/picasoft_logo.svg rename to content/apropos/picasoft_logo.svg diff --git a/content/blog/fifth.md b/content/blog/fifth.md index 5840d5a..1f1e425 100644 --- a/content/blog/fifth.md +++ b/content/blog/fifth.md @@ -1,18 +1,14 @@ +++ -title = "My third post" +title = "My fifth post" date = 2012-11-28 [taxonomies] -Tag = [ - "Rust", - "cirque" -] Dossier = [ "Rust" ] [extra] image="/img/lantern.png" +++ -This is my third blog post. +This is my fifth blog post. et c'est encore bon ! diff --git a/content/blog/lumiere_velo.md b/content/blog/lumiere_velo.md new file mode 100644 index 0000000..fa83c3e --- /dev/null +++ b/content/blog/lumiere_velo.md @@ -0,0 +1,18 @@ ++++ +title = "Des lumière de vélo sur mesure" +date = 2023-02-15 +[taxonomies] +Tag = [ + "DIY", + "Lumière" +] +[extra] +image = "cover.jpg" +subtitle = "" ++++ + + + +J'aime bricoler de l'électronique. Et j'aime particulièrement bricoler des lumières. Surement parce que c'est assez simple, consomme peu d'énergie ajourd'hui et vite gratifiant. +Toujours est-il que + diff --git a/content/blog_amis/_index.md b/content/blog_amis/_index.md new file mode 100644 index 0000000..8e2c755 --- /dev/null +++ b/content/blog_amis/_index.md @@ -0,0 +1,7 @@ ++++ +title = "List of notes posts" +sort_by = "date" +template = "blog-amis.html" +page_template = "note-page.html" + ++++ diff --git a/content/blog_amis/chosto.md b/content/blog_amis/chosto.md new file mode 100644 index 0000000..0ca02d3 --- /dev/null +++ b/content/blog_amis/chosto.md @@ -0,0 +1,10 @@ ++++ +title = "Blog de Chosto" +date = 2019-11-28 + +[extra] +short_title="Chosto" +url="https://blog.chosto.me" ++++ +Un amis informaticien qui parle de capitalisme de surveillance, de ses rando et qui écrit quelques textes. + diff --git a/content/blog_amis/deuxfleurs.md b/content/blog_amis/deuxfleurs.md new file mode 100644 index 0000000..39e135f --- /dev/null +++ b/content/blog_amis/deuxfleurs.md @@ -0,0 +1,10 @@ ++++ +title = "Blog de Deux fleurs" +date = 2019-11-28 + +[extra] +short_title="Deuxfleurs" +url="https://plume.deuxfleurs.fr" ++++ +Un chatons qui crée des outils numériques résilient fasse à un internet lent et instable. + diff --git a/content/static/apropos.md b/content/static/apropos.md deleted file mode 100644 index 0936f3e..0000000 --- a/content/static/apropos.md +++ /dev/null @@ -1,30 +0,0 @@ -+++ -template = "apropos.html" -generate_feed = false -path = "apropos" -title = "D'où je parle" -+++ - - -## Pourquoi ce blog - -Convaincu par la philosophie des logiciels libres, je souhaite autant que possible parTager mes expériences. -Ce blog à pour vocation d'y contribuer en parlant d'un peu de tout et surtout du n'importe quoi. Ce blog comporte -une section **sites amis** parce que j'aime pouvoir naviguer sur internet sans utiliser un moteur de recherche. - -## D'autres projet - -Sinon, je suis membre de de l'association [Picasoft](https://picasoft.net) où je participe à sensibiliser aux enjeux du numérique -et à héberger des services libres. - -{{ image(url="picasoft_logo.svg", description="le logo de picasoft") }} - - - -## Coté boulot - -Je fais partie le l'entreprise [Librezo](https://librezo.fr) qui propose des prestations variées tant d'hébergement, -de développement que d'accompagnement aux outils libres. - -{{ image(url="content/static/librezo_logo.svg", description="le logo de librezo") }} - diff --git a/sass/blog.scss b/sass/blog.scss index d5ffb9c..889756c 100644 --- a/sass/blog.scss +++ b/sass/blog.scss @@ -1,4 +1,9 @@ @charset "utf-8"; + +@import url('fonts/Nunito-Regular.woff2'); + +$family-sans-serif: "Nunito", sans-serif; + @import "../bulma/bulma.sass"; @import "../bulma/sass/utilities/_all.sass"; @import "../bulma/sass/base/_all.sass"; @@ -8,14 +13,11 @@ @import "../bulma/sass/elements/_all.sass"; @import "../bulma/sass/grid/columns.sass"; @import "../bulma/sass/layout/footer.sass"; - - @import "./fontawesome/scss/fontawesome.scss"; @import "./fontawesome/scss/solid.scss"; @import "./fontawesome/scss/brands.scss"; - .bulma-overlay-mixin { @include overlay(1.5rem); background-color: darkorange; diff --git a/static/custom.css b/static/custom.css index 2f689f2..6eeb255 100644 --- a/static/custom.css +++ b/static/custom.css @@ -100,3 +100,5 @@ box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); color: #3850b7; } } + + diff --git a/static/fonts/Nunito-Black.ttf b/static/fonts/Nunito-Black.ttf new file mode 100644 index 0000000..1081731 Binary files /dev/null and b/static/fonts/Nunito-Black.ttf differ diff --git a/static/fonts/Nunito-BlackItalic.ttf b/static/fonts/Nunito-BlackItalic.ttf new file mode 100644 index 0000000..e512048 Binary files /dev/null and b/static/fonts/Nunito-BlackItalic.ttf differ diff --git a/static/fonts/Nunito-Bold.ttf b/static/fonts/Nunito-Bold.ttf new file mode 100644 index 0000000..14be6b7 Binary files /dev/null and b/static/fonts/Nunito-Bold.ttf differ diff --git a/static/fonts/Nunito-BoldItalic.ttf b/static/fonts/Nunito-BoldItalic.ttf new file mode 100644 index 0000000..ed63eb5 Binary files /dev/null and b/static/fonts/Nunito-BoldItalic.ttf differ diff --git a/static/fonts/Nunito-ExtraBold.ttf b/static/fonts/Nunito-ExtraBold.ttf new file mode 100644 index 0000000..4d09c1c Binary files /dev/null and b/static/fonts/Nunito-ExtraBold.ttf differ diff --git a/static/fonts/Nunito-ExtraBoldItalic.ttf b/static/fonts/Nunito-ExtraBoldItalic.ttf new file mode 100644 index 0000000..dce446b Binary files /dev/null and b/static/fonts/Nunito-ExtraBoldItalic.ttf differ diff --git a/static/fonts/Nunito-ExtraLight.ttf b/static/fonts/Nunito-ExtraLight.ttf new file mode 100644 index 0000000..430ae0f Binary files /dev/null and b/static/fonts/Nunito-ExtraLight.ttf differ diff --git a/static/fonts/Nunito-ExtraLightItalic.ttf b/static/fonts/Nunito-ExtraLightItalic.ttf new file mode 100644 index 0000000..5447f30 Binary files /dev/null and b/static/fonts/Nunito-ExtraLightItalic.ttf differ diff --git a/static/fonts/Nunito-Italic.ttf b/static/fonts/Nunito-Italic.ttf new file mode 100644 index 0000000..5c906d4 Binary files /dev/null and b/static/fonts/Nunito-Italic.ttf differ diff --git a/static/fonts/Nunito-Light.ttf b/static/fonts/Nunito-Light.ttf new file mode 100644 index 0000000..42857b7 Binary files /dev/null and b/static/fonts/Nunito-Light.ttf differ diff --git a/static/fonts/Nunito-LightItalic.ttf b/static/fonts/Nunito-LightItalic.ttf new file mode 100644 index 0000000..8bc9808 Binary files /dev/null and b/static/fonts/Nunito-LightItalic.ttf differ diff --git a/static/fonts/Nunito-Medium.ttf b/static/fonts/Nunito-Medium.ttf new file mode 100644 index 0000000..f9881a0 Binary files /dev/null and b/static/fonts/Nunito-Medium.ttf differ diff --git a/static/fonts/Nunito-MediumItalic.ttf b/static/fonts/Nunito-MediumItalic.ttf new file mode 100644 index 0000000..197ca58 Binary files /dev/null and b/static/fonts/Nunito-MediumItalic.ttf differ diff --git a/static/fonts/Nunito-Regular.ttf b/static/fonts/Nunito-Regular.ttf new file mode 100644 index 0000000..dfd0fcb Binary files /dev/null and b/static/fonts/Nunito-Regular.ttf differ diff --git a/static/fonts/Nunito-Regular.woff2 b/static/fonts/Nunito-Regular.woff2 new file mode 100644 index 0000000..622619a Binary files /dev/null and b/static/fonts/Nunito-Regular.woff2 differ diff --git a/static/fonts/Nunito-SemiBold.ttf b/static/fonts/Nunito-SemiBold.ttf new file mode 100644 index 0000000..cec631f Binary files /dev/null and b/static/fonts/Nunito-SemiBold.ttf differ diff --git a/static/fonts/Nunito-SemiBoldItalic.ttf b/static/fonts/Nunito-SemiBoldItalic.ttf new file mode 100644 index 0000000..56b8bb7 Binary files /dev/null and b/static/fonts/Nunito-SemiBoldItalic.ttf differ diff --git a/templates/apropos.html b/templates/apropos.html index 5dae930..9522b47 100644 --- a/templates/apropos.html +++ b/templates/apropos.html @@ -5,5 +5,24 @@

{{page.title}}

{{page.content | safe}} + +

Des amis

+ + D'autres amis propose du contenus que j'apprécie énormément. Une liste non exaustive ci-dessous. +
+ + {% set friend_sites = get_section(path="blog_amis/_index.md") %} +{% for page in friend_sites.pages %} +
+ +
+

{{ page.title }}

+
+ {{ page.summary | markdown | safe }} +
+
+
+
+{% endfor %} {% endblock content %} diff --git a/templates/base.html b/templates/base.html index 80b3a3d..790d376 100644 --- a/templates/base.html +++ b/templates/base.html @@ -58,11 +58,12 @@ @@ -81,6 +82,9 @@
+ {% block header %} + {% endblock %} +
{% block content %} {% endblock %} diff --git a/templates/blog-amis.html b/templates/blog-amis.html new file mode 100644 index 0000000..10316bc --- /dev/null +++ b/templates/blog-amis.html @@ -0,0 +1,19 @@ +{% extends "base.html" %} +{% import 'macros/card.html' as macro_card -%} + +{% block content %} + {% for page in section.pages %} + +{% endfor %} +
+ +{% endblock content %} diff --git a/templates/blog-list.html b/templates/blog-list.html index 7ba910a..182d5e7 100644 --- a/templates/blog-list.html +++ b/templates/blog-list.html @@ -4,7 +4,13 @@ {% block content %}
{% for page in paginator.pages %} +
+ {% if page.taxonomies.Tag %} {{ macro_card::create_card(link=page.permalink, img=page.extra.image, title=page.title, subtitle="la génèse", abstract=page.summary, tags=page.taxonomies.Tag, date=page.date) }} + {% else %} + {{ macro_card::create_card(link=page.permalink, img=page.extra.image, title=page.title, subtitle="la génèse", abstract=page.summary, tags="", date=page.date) }} + {% endif %} +
{% endfor %}
diff --git a/templates/blog-page.html b/templates/blog-page.html index 9a4a54d..ecaf0da 100644 --- a/templates/blog-page.html +++ b/templates/blog-page.html @@ -1,13 +1,76 @@ {% extends "base.html" %} + {% block header %} + + {{ __tera_context }} + +
+
+
+
+
+ +

+ Image d'illustration Clint__Budd - CC BY 2.0 +

+ +
+
+
+ +
+ + Fiction + + Numérique + +
+ +
+
+ +
+
+

Imaginer un numérique souhaitable

+ +
+ + +
+
+
+
+ +
+
+
+
+
+

🕑  Environ 13 minutes de lecture +

+
+
+
+
+
+ +
+
+
+{% endblock %} + {% block content %} - -{{ __tera_context }} - +

{{ page.title }}

+

+La génèse +

{{ page.date }}

+
{{ page.content | safe }}
diff --git a/templates/index.html b/templates/index.html index 39da7da..aa8c21c 100644 --- a/templates/index.html +++ b/templates/index.html @@ -8,9 +8,17 @@
{% set blog = get_section(path="blog/_index.md") %} {% for page in blog.pages %} - {% if loop.index0 == 3 %}{% break %}{% endif %} +
+ {% if loop.index0 == 3 %} +
+ {% break %} + {% endif %} + {% if page.taxonomies.Tag %} {{ macro_card::create_card(link=page.permalink, img=page.extra.image, title=page.title, subtitle="la génèse", abstract=page.summary, tags=page.taxonomies.Tag, date=page.date) }} - + {% else %} + {{ macro_card::create_card(link=page.permalink, img=page.extra.image, title=page.title, subtitle="la génèse", abstract=page.summary, tags="", date=page.date) }} + {% endif %} +
{% endfor %} @@ -29,8 +37,12 @@ {% for page in notes.pages %}
{% if loop.index0 == 5 %}{% break %}{% endif %} - {{ macro_media::create_media(link=page.permalink, img=page.extra.image, title=page.title, subtitle="la génèse", abstract=page.summary, tags=page.taxonomies.Tag, date=page.date) }} -
+ {% if page.taxonomies.Tag %} + {{ macro_card::create_card_note(link=page.permalink, img=page.extra.image, title=page.title, subtitle="la génèse", abstract=page.summary, tags=page.taxonomies.Tag, date=page.date) }} + {% else %} + {{ macro_card::create_card_note(link=page.permalink, img=page.extra.image, title=page.title, subtitle="la génèse", abstract=page.summary, tags="", date=page.date) }} + {% endif %} +
{% endfor %} {% set notes = get_section(path="notes/_index.md") %} diff --git a/templates/macros/card.html b/templates/macros/card.html index 5f4e76a..c78d492 100644 --- a/templates/macros/card.html +++ b/templates/macros/card.html @@ -1,5 +1,4 @@ {% macro create_card(link, img, title, subtitle, abstract, tags, date) %} -
@@ -7,25 +6,23 @@
{{ subtitle }}
-
+
{{ abstract | markdown | safe }}
-
-
- {% endmacro %} @@ -42,3 +39,31 @@ {% endmacro %} + +{% macro create_card_note(link, img, title, subtitle, abstract, tags, date) %} +
+ +
+
{{ title }}
+
{{ subtitle }}
+
+
+
+ {{ abstract | markdown | safe }} +
+
+
+
+ +
+ +{% endmacro %} diff --git a/templates/shortcodes/alert.html b/templates/shortcodes/alert.html new file mode 100644 index 0000000..07ee64e --- /dev/null +++ b/templates/shortcodes/alert.html @@ -0,0 +1,3 @@ + + {{ description }} + diff --git a/templates/taxonomy_list.html b/templates/taxonomy_list.html index 3ce961d..5a05953 100644 --- a/templates/taxonomy_list.html +++ b/templates/taxonomy_list.html @@ -11,9 +11,16 @@ {% for page in taxo.pages %} - {% if loop.index0 == 3 %}{% break %}{% endif %} + {% if loop.index0 == 3 %} + {% break %} + {% endif %} +
+ {% if page.taxonomies.Tag %} {{ macro_card::create_card(link=page.permalink, img=page.extra.image, title=page.title, subtitle="la génèse", abstract=page.summary, tags=page.taxonomies.Tag, date=page.date) }} - + {% else %} + {{ macro_card::create_card(link=page.permalink, img=page.extra.image, title=page.title, subtitle="la génèse", abstract=page.summary, tags="", date=page.date) }} + {% endif %} +
{% endfor %} {% endfor %} diff --git a/templates/taxonomy_single.html b/templates/taxonomy_single.html index 6fecca3..137eab2 100644 --- a/templates/taxonomy_single.html +++ b/templates/taxonomy_single.html @@ -7,7 +7,13 @@ {{ term.name }} {% for page in paginator.pages %} - {{ macro_card::create_card(link=page.permalink, img=page.extra.image, title=page.title, subtitle="la génèse", abstract=page.summary, tags=page.taxonomies.Tag, date=page.date) }} +
+ {% if page.taxonomies.Tag %} + {{ macro_card::create_card(link=page.permalink, img=page.extra.image, title=page.title, subtitle="la génèse", abstract=page.summary, tags=page.taxonomies.Tag, date=page.date) }} + {% else %} + {{ macro_card::create_card(link=page.permalink, img=page.extra.image, title=page.title, subtitle="la génèse", abstract=page.summary, tags="", date=page.date) }} + {% endif %} +
{% endfor %}