v0.5 : switch to Pelican #1
16 changed files with 132 additions and 90 deletions
[config][wip] Switching to Pelican static site engine
commit
2b1b805f94
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -1,2 +1,5 @@
|
|||
*.swp
|
||||
public
|
||||
output
|
||||
publish
|
||||
theme
|
||||
|
|
|
|||
38
Makefile
38
Makefile
|
|
@ -1,12 +1,42 @@
|
|||
PUBLISH_DIR=public
|
||||
PELICAN=pipenv run pelican
|
||||
|
||||
BASEDIR=$(CURDIR)
|
||||
INPUTDIR=$(BASEDIR)/content
|
||||
OUTPUTDIR=$(BASEDIR)/output
|
||||
PUBLISHDIR=$(BASEDIR)/publish
|
||||
CONFFILE=$(BASEDIR)/pelicanconf.py
|
||||
PUBLISHCONF=$(BASEDIR)/publishconf.py
|
||||
|
||||
SSH_HOST=tardis.lithio.fr
|
||||
SSH_PORT=2222
|
||||
SSH_USER=rain
|
||||
SSH_TARGET_DIR=/data/1/home/rain/web/mindlair.fr
|
||||
|
||||
generate:
|
||||
$(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
|
||||
|
||||
build:
|
||||
zola build
|
||||
$(PELICAN) "$(INPUTDIR)" -o "$(PUBLISHDIR)" -s "$(PUBLISHCONF)" $(PELICANOPTS)
|
||||
|
||||
publish: build
|
||||
rsync -Prvzc --delete ${PUBLISH_DIR}/* "$(SSH_HOST):$(SSH_TARGET_DIR)"
|
||||
rsync -e "ssh -p $(SSH_PORT)" -P -rvzc --delete --include tags --cvs-exclude "$(PUBLISHDIR)"/ "$(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)"
|
||||
|
||||
.PHONY: publish build
|
||||
.PHONY: generate clean regenerate serve serve-global devserver derserver-global build publish
|
||||
|
|
|
|||
|
|
@ -1,10 +0,0 @@
|
|||
+++
|
||||
title = "Bienvenu !"
|
||||
+++
|
||||
|
||||
|
||||
Bienvenu sur mon coin de l'Internet.
|
||||
|
||||
Je maintiens [mon blog](https://blog.mindlair.fr) et aussi un [Shaarli](https://links.mindlair.fr) pour partager mes lectures.
|
||||
|
||||
|
||||
16
content/index.md
Normal file
16
content/index.md
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
title: Une tanière
|
||||
date: 2025-07-11
|
||||
save_as: index.html
|
||||
category:
|
||||
template: landing
|
||||
|
||||
Bienvenu sur Mindlair, ma tanière sur Internet, où j'amasse tout ce que je souhaite partager.
|
||||
|
||||
Touche à tout bonne à rien, je passe ma vie avec les gens et à filer des coups de main. Si je m'intéresse à mille choses, la politique occupe le plus clair de mon temps.
|
||||
|
||||
--
|
||||
|
||||
Bienvenu sur mon coin de l'Internet.
|
||||
|
||||
Je maintiens [mon blog](https://blog.mindlair.fr) et aussi un [Shaarli](https://links.mindlair.fr) pour partager mes lectures.
|
||||
|
||||
23
content/pages/contact.md
Normal file
23
content/pages/contact.md
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
title: Contact
|
||||
slug: contact
|
||||
date:2025-10-05
|
||||
status: published
|
||||
tags: contact
|
||||
|
||||
## Email
|
||||
|
||||
Mon **adresse email : [contact@mindlair.fr](mailto:contact+site@mindlair.fr).**
|
||||
|
||||
L'email est de loin mon moyen de contact privilégié.
|
||||
|
||||
## Échanges chiffrés
|
||||
|
||||
PGP : [ACEC E8B6 F1CD BAF0 545C 88FF 8AD0 DD5B 5B9A 6603](/.well-known/irrlicht-gpg_key.txt).
|
||||
|
||||
XMPP : [the_wild@xmpp.earth](xmpp:the_wild@xmpp.earth) — [empreintes OMEMO](/.well-known/irrlicht-omemo.sign.txt).
|
||||
|
||||
## Les endroits où je traine
|
||||
|
||||
Je traîne peu sur les réseaux sociaux et les évite autant que possible. Ce sera un plaisir si vous m'y suivez mais ce n'est pas un moyen de contact ou d'échange fiable.
|
||||
|
||||
Fédiverse : [@irrlicht@social.lithio.fr](https://social.lithio.fr/irrlicht).
|
||||
140
content/static/assets/css/custom.css
Normal file
140
content/static/assets/css/custom.css
Normal file
|
|
@ -0,0 +1,140 @@
|
|||
@font-face {
|
||||
font-family: "M+ M Type 1";
|
||||
src: url("/assets/fonts/m-plus-m-type-1/mplus-1m-regular.ttf") format("truetype");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "M+ M Type 1";
|
||||
src: url("/assets/fonts/m-plus-m-type-1/mplus-1m-bold.ttf") format("truetype");
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Cooper Hewitt";
|
||||
src: url("/assets/fonts/cooper-hewitt/CooperHewitt-Semibold.otf") format("opentype");
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
:root {
|
||||
--color-dark: #3c3c3c;
|
||||
--color-light: #ccc;
|
||||
|
||||
--color-blue-light: #367f43;
|
||||
|
||||
--color-fuchsia-light: #dd688e;
|
||||
|
||||
--color-orange-light: #e67f4d;
|
||||
|
||||
--color-red-dark: #ff0000;
|
||||
--color-red-light: #f25454;
|
||||
--color-red-lighter: #f85454;
|
||||
--color-red-lightest: #ff5454;
|
||||
}
|
||||
|
||||
html {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
font-family: "M+ M Type 1";
|
||||
color: var(--color-light);
|
||||
background: var(--color-dark);
|
||||
}
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 90%;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--color-red-light);
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: var(--color-orange-light);
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: var(--color-red-lightest);
|
||||
}
|
||||
|
||||
a:active {
|
||||
color: var(--color-fuchsia-light);
|
||||
}
|
||||
|
||||
.banner {
|
||||
text-align: center;
|
||||
font-size: 4em;
|
||||
font-family: "Cooper Hewitt";
|
||||
font-weight: bold;
|
||||
color: var(--color-dark);
|
||||
background-image: linear-gradient(90deg,rgba(131, 58, 180, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(252, 176, 69, 1) 100%);
|
||||
border-bottom-style: solid;
|
||||
border-bottom-width: 3px;
|
||||
border-bottom-color: var(--color-red-dark);
|
||||
}
|
||||
|
||||
footer {
|
||||
text-align: center;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
footer hr {
|
||||
width: 95vw;
|
||||
}
|
||||
|
||||
.column {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
text-align: middle;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.row {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
a.card {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
width: 50%;
|
||||
margin: 0 1em 0 1em;
|
||||
text-decoration: none;
|
||||
color: var(--color-light);
|
||||
border: solid 2px var(--color-light);
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
.description {
|
||||
width: 50%;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.logo {
|
||||
max-width: 10em;
|
||||
margin: auto;
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
}
|
||||
|
||||
@media (max-width: 880px) {
|
||||
.row {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
a.card {
|
||||
width: 100%;
|
||||
margin: 1em 0 1em 0;
|
||||
}
|
||||
}
|
||||
Binary file not shown.
BIN
content/static/assets/fonts/m-plus-m-type-1/mplus-1m-bold.ttf
Normal file
BIN
content/static/assets/fonts/m-plus-m-type-1/mplus-1m-bold.ttf
Normal file
Binary file not shown.
BIN
content/static/assets/fonts/m-plus-m-type-1/mplus-1m-regular.ttf
Normal file
BIN
content/static/assets/fonts/m-plus-m-type-1/mplus-1m-regular.ttf
Normal file
Binary file not shown.
284
content/static/assets/images/blog_logo.svg
Normal file
284
content/static/assets/images/blog_logo.svg
Normal file
|
|
@ -0,0 +1,284 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="900"
|
||||
height="900"
|
||||
viewBox="0 0 238.125 238.125"
|
||||
version="1.1"
|
||||
id="svg8"
|
||||
inkscape:version="1.4.2 (ebf0e940d0, 2025-05-08)"
|
||||
sodipodi:docname="design.svg"
|
||||
inkscape:export-filename="C:\Users\saufrere\Pictures\design\design.png"
|
||||
inkscape:export-xdpi="300"
|
||||
inkscape:export-ydpi="300"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<defs
|
||||
id="defs2" />
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="1"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="0.61308634"
|
||||
inkscape:cx="265.05239"
|
||||
inkscape:cy="582.29971"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:current-layer="g127"
|
||||
showgrid="false"
|
||||
showguides="true"
|
||||
inkscape:guide-bbox="true"
|
||||
inkscape:window-width="1916"
|
||||
inkscape:window-height="1046"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="32"
|
||||
inkscape:window-maximized="1"
|
||||
fit-margin-top="0"
|
||||
fit-margin-left="0"
|
||||
fit-margin-right="0"
|
||||
fit-margin-bottom="0"
|
||||
units="px"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1">
|
||||
<sodipodi:guide
|
||||
position="119.8326,119.78431"
|
||||
orientation="0,1"
|
||||
id="guide4567"
|
||||
inkscape:locked="false" />
|
||||
<inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid4571"
|
||||
originx="13.999272"
|
||||
originy="-38.965691"
|
||||
spacingy="1"
|
||||
spacingx="1"
|
||||
units="px"
|
||||
visible="false" />
|
||||
<sodipodi:guide
|
||||
position="119.8326,119.78431"
|
||||
orientation="1,0"
|
||||
id="guide4579"
|
||||
inkscape:locked="false" />
|
||||
</sodipodi:namedview>
|
||||
<metadata
|
||||
id="metadata5">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="base"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(13.999272,-18.369101)"
|
||||
style="display:inline" />
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
id="layer2"
|
||||
inkscape:label="details"
|
||||
style="display:inline"
|
||||
transform="translate(-255.82885,-255.82885)" />
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
id="layer3"
|
||||
inkscape:label="lines"
|
||||
transform="translate(-255.82885,-255.82885)">
|
||||
<g
|
||||
id="g127">
|
||||
<circle
|
||||
style="display:inline;fill:none;fill-opacity:1;stroke:#6e00d7;stroke-width:2.45234;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="path4577-3"
|
||||
cx="374.89136"
|
||||
cy="373.70172"
|
||||
r="21.147285"
|
||||
inkscape:transform-center-y="0.012075315" />
|
||||
<g
|
||||
id="g159"
|
||||
style="stroke:#ff2f0b;stroke-width:5.29167;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
transform="matrix(0.92686945,0,0,0.92686945,26.702239,25.500518)">
|
||||
<path
|
||||
style="display:inline;fill:none;fill-opacity:1;stroke:#ff2f0b;stroke-width:5.29167;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
d="m 290.99478,290.99479 30.59797,49.14329 25.33337,6.78804 -6.78804,-25.33337 z"
|
||||
id="path4528-4-4-0-3"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:transform-center-x="56.701003"
|
||||
inkscape:transform-center-y="-56.701002" />
|
||||
<path
|
||||
style="display:inline;fill:none;fill-opacity:1;stroke:#ff2f0b;stroke-width:5.29167;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
d="m 460.32812,290.99479 -49.14329,30.59796 -6.78805,25.33337 25.33338,-6.78803 z"
|
||||
id="path4528-4-4-0-3-9"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:transform-center-x="-56.700998"
|
||||
inkscape:transform-center-y="-56.701006" />
|
||||
<path
|
||||
style="display:inline;fill:none;fill-opacity:1;stroke:#ff2f0b;stroke-width:5.29167;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
d="m 460.32812,460.32813 -30.59796,-49.1433 -25.33337,-6.78804 6.78804,25.33338 z"
|
||||
id="path4528-4-4-0-3-9-9"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:transform-center-x="-56.701003"
|
||||
inkscape:transform-center-y="56.700998" />
|
||||
<path
|
||||
style="display:inline;fill:none;fill-opacity:1;stroke:#ff2f0b;stroke-width:5.29167;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
d="m 290.99478,460.32813 49.1433,-30.59796 6.78804,-25.33337 -25.33337,6.78803 z"
|
||||
id="path4528-4-4-0-3-9-9-5"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:transform-center-x="56.701"
|
||||
inkscape:transform-center-y="56.701003" />
|
||||
</g>
|
||||
<path
|
||||
style="display:inline;fill:none;stroke:#ffbe37;stroke-width:2.4525;stroke-linecap:round;stroke-linejoin:bevel;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 356.96988,372.62559 1.76241,8.40032 7.88128,5.14777 6.68597,-1.40272 1.36676,6.51452 7.02883,-1.47467 4.6059,-7.05167 -1.58256,-7.54313 6.34309,-1.33079 -1.58256,-7.54314 -7.15538,-4.67363 -5.4002,1.13297 -1.34878,-6.42881 -7.54313,1.58257 -5.01231,7.67388 1.15096,5.48591 z"
|
||||
id="path1"
|
||||
sodipodi:nodetypes="ccccccccccccccccc" />
|
||||
<g
|
||||
id="g163"
|
||||
style="stroke:#d7c600;stroke-width:2.38125;stroke-dasharray:none;stroke-opacity:1"
|
||||
transform="matrix(0.92686945,0,0,0.92686945,26.702239,25.500518)">
|
||||
<path
|
||||
style="display:inline;fill:none;fill-opacity:1;stroke:#d7c600;stroke-width:2.38125;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
d="m 375.66145,495.39819 13.11353,-56.38557 -13.11353,-22.71326 -13.11353,22.71326 z"
|
||||
id="path4528"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:transform-center-y="80.18732" />
|
||||
<path
|
||||
style="display:inline;fill:none;fill-opacity:1;stroke:#d7c600;stroke-width:2.38125;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
d="m 375.66145,255.92471 -13.11353,56.38558 13.11353,22.71326 13.11353,-22.71326 z"
|
||||
id="path4528-4"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:transform-center-y="-80.187326" />
|
||||
<path
|
||||
style="display:inline;fill:none;fill-opacity:1;stroke:#d7c600;stroke-width:2.38125;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
d="m 495.3982,375.66146 -56.38558,-13.11354 -22.71327,13.11354 22.71327,13.11353 z"
|
||||
id="path4528-4-4"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:transform-center-x="-80.187326"
|
||||
inkscape:transform-center-y="-1.3992408e-06" />
|
||||
<path
|
||||
style="display:inline;fill:none;fill-opacity:1;stroke:#d7c600;stroke-width:2.38125;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
d="m 255.9247,375.66146 56.38559,13.11353 22.71326,-13.11353 -22.71326,-13.11353 z"
|
||||
id="path4528-4-4-0"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:transform-center-x="80.187326"
|
||||
inkscape:transform-center-y="3.5879427e-06" />
|
||||
<path
|
||||
style="display:inline;fill:none;fill-opacity:1;stroke:#d7c600;stroke-width:2.38125;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
d="m 477.21757,375.66145 -38.20495,-8.44757 -22.71327,8.44757 22.71327,8.47846 z"
|
||||
id="path4528-4-4-6"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:transform-center-y="-2.5815291e-06"
|
||||
inkscape:transform-center-x="-80.187316" />
|
||||
<path
|
||||
style="display:inline;fill:none;fill-opacity:1;stroke:#d7c600;stroke-width:2.38125;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
d="m 375.62321,274.09798 -8.44757,38.20496 8.44757,22.71326 8.47845,-22.71326 z"
|
||||
id="path4528-4-4-6-2"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:transform-center-y="-71.119811"
|
||||
inkscape:transform-center-x="1.1978603e-06" />
|
||||
<path
|
||||
style="display:inline;fill:none;fill-opacity:1;stroke:#d7c600;stroke-width:2.38125;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
d="m 274.05973,375.69234 38.20495,8.44757 22.71327,-8.44757 -22.71327,-8.47845 z"
|
||||
id="path4528-4-4-6-2-1"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:transform-center-x="71.11981" />
|
||||
<path
|
||||
style="display:inline;fill:none;fill-opacity:1;stroke:#d7c600;stroke-width:2.38125;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
d="m 375.6541,477.25583 8.44756,-38.20496 -8.44756,-22.71327 -8.47846,22.71327 z"
|
||||
id="path4528-4-4-6-2-1-1"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:transform-center-y="71.119811" />
|
||||
</g>
|
||||
<g
|
||||
id="g157"
|
||||
style="stroke:#fe00c5;stroke-width:2.64583;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
transform="matrix(0.92686945,0,0,0.92686945,26.702239,25.500518)">
|
||||
<path
|
||||
style="fill:none;stroke:#fe00c5;stroke-width:2.64583;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 417.9765,275.81337 -23.69643,32.15944 10.15562,16.92602 -15.23342,27.08164"
|
||||
id="path903-0"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccc" />
|
||||
<path
|
||||
style="fill:none;stroke:#fe00c5;stroke-width:2.64583;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 333.3464,275.81337 c 7.89881,10.71981 18.18367,24.41603 23.69643,32.15944 l -10.15561,16.92602 15.23341,27.08164"
|
||||
id="path903-0-7"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccc" />
|
||||
<path
|
||||
style="fill:none;stroke:#fe00c5;stroke-width:2.64583;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 417.9765,475.54042 -23.69643,-32.15944 10.15562,-16.92602 -15.23342,-27.08163"
|
||||
id="path903-0-2"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccc" />
|
||||
<path
|
||||
style="fill:none;stroke:#fe00c5;stroke-width:2.64583;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 333.3464,475.54042 23.69643,-32.15944 -10.15561,-16.92602 15.23341,-27.08163"
|
||||
id="path903-0-7-2"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccc" />
|
||||
<path
|
||||
style="fill:none;stroke:#fe00c5;stroke-width:2.64583;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 475.52498,417.99195 -32.15944,-23.69643 -16.92603,10.15562 -27.08163,-15.23343"
|
||||
id="path903-0-5"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccc" />
|
||||
<path
|
||||
style="fill:none;stroke:#fe00c5;stroke-width:2.64583;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 475.52497,335.05445 -32.15943,23.69643 -16.92603,-10.15561 -27.08163,13.54081"
|
||||
id="path903-0-7-0"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccc" />
|
||||
<path
|
||||
style="fill:none;stroke:#fe00c5;stroke-width:2.64583;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 275.79792,417.99195 32.15944,-23.69643 16.92603,10.15562 27.08163,-15.23343"
|
||||
id="path903-0-5-8"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccc" />
|
||||
<path
|
||||
style="fill:none;stroke:#fe00c5;stroke-width:2.64583;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 275.79793,335.05445 32.15943,23.69643 16.92603,-10.15561 27.08163,13.54081"
|
||||
id="path903-0-7-0-8"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccc" />
|
||||
</g>
|
||||
<circle
|
||||
style="display:inline;fill:none;fill-opacity:1;stroke:#c100d7;stroke-width:2.94281;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="path4577"
|
||||
inkscape:transform-center-y="0.014333616"
|
||||
r="25.101137"
|
||||
cy="373.70398"
|
||||
cx="374.89136" />
|
||||
<circle
|
||||
style="fill:none;stroke:#d7c600;stroke-width:2.64583;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;paint-order:stroke fill markers"
|
||||
id="path2"
|
||||
cx="374.89136"
|
||||
cy="374.89136"
|
||||
r="117.09069" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 14 KiB |
47
content/static/assets/images/bookmark.svg
Normal file
47
content/static/assets/images/bookmark.svg
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="500"
|
||||
height="500"
|
||||
viewBox="0 0 132.29166 132.29167"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
inkscape:version="1.4.2 (ebf0e940d0, 2025-05-08)"
|
||||
sodipodi:docname="bookmark.svg"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:zoom="0.97246692"
|
||||
inkscape:cx="225.71462"
|
||||
inkscape:cy="313.63535"
|
||||
inkscape:window-width="1916"
|
||||
inkscape:window-height="1046"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="32"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="layer1" />
|
||||
<defs
|
||||
id="defs1" />
|
||||
<g
|
||||
inkscape:label="Calque 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<path
|
||||
id="rect1"
|
||||
style="fill:#ff6a1b;fill-opacity:1;stroke:#000000;stroke-width:14.4103;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:stroke fill markers"
|
||||
d="M 30.417249,12.287684 H 101.87442 V 120.00472 L 66.639781,92.343874 30.417249,120.00472 Z"
|
||||
sodipodi:nodetypes="cccccc" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
46
pelicanconf.py
Normal file
46
pelicanconf.py
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
from datetime import datetime
|
||||
|
||||
AUTHOR = 'Irrlicht'
|
||||
SITENAME = 'Mindlair'
|
||||
SITEURL = ""
|
||||
PAGE_URL = "{slug}.html"
|
||||
PAGE_SAVE_AS = "{slug}.html"
|
||||
|
||||
CUSTOM_CSS = "/static/assets/css/custom.css"
|
||||
|
||||
PATH = "content"
|
||||
|
||||
STATIC_PATHS = ["static"]
|
||||
|
||||
TIMEZONE = 'Europe/Paris'
|
||||
NOW = datetime.now()
|
||||
|
||||
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
|
||||
|
||||
DISPLAY_PAGES_ON_MENU = True
|
||||
|
||||
THEME="theme"
|
||||
|
||||
DEFAULT_PAGINATION = False
|
||||
|
||||
LINKS = [
|
||||
{
|
||||
"name": "Blog — Débordement contenu ",
|
||||
"description": "Mon blog, espace principal d'expression où je pose mes textes en tout genre",
|
||||
"url":"https://blog.mindlair.fr",
|
||||
"logo":"assets/images/blog_logo.svg"
|
||||
},
|
||||
{
|
||||
"name": "Shaarli — Liens",
|
||||
"description":"Partage de ressources variées : articles, podcasts, videos,…",
|
||||
"url":"https://links.mindlair.fr",
|
||||
"logo":"assets/images/bookmark.svg"
|
||||
}
|
||||
]
|
||||
19
publishconf.py
Normal file
19
publishconf.py
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# 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 *
|
||||
|
||||
PATH=publish
|
||||
|
||||
# If your site is available via HTTPS, make sure SITEURL begins with https://
|
||||
SITEURL = "https://mindlair.fr"
|
||||
RELATIVE_URLS = False
|
||||
|
||||
FEED_ALL_ATOM = "feeds/all.atom.xml"
|
||||
CATEGORY_FEED_ATOM = "feeds/{slug}.atom.xml"
|
||||
|
||||
DELETE_OUTPUT_DIRECTORY = True
|
||||
|
|
@ -1,44 +1,6 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
{% extends base.html %}
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Mindlair</title>
|
||||
<link rel="icon" href="/favicon.svg" sizes="16x16 32x32 48x48 192x192" type="image/svg+xml">
|
||||
<link rel="apple-touch-icon" type="image/svg+xml" sizes="60x60 72x72 76x76 114x114 120x120 144x144 152x152 167x167 180x180 1024x1024">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="author" content="Irrlicht">
|
||||
<meta property="og:locale" content="fr">
|
||||
<meta property="og:site_name" content="Mindlair">
|
||||
<meta property="og:title" content="Mindlair">
|
||||
<link href="/assets/css/main.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header class="banner">
|
||||
<div class="banner-title">
|
||||
<span>MINDLAIR</span>
|
||||
</div>
|
||||
</header>
|
||||
<menu>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="/">accueil</a></li>
|
||||
<li><a href="contact">contact</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</menu>
|
||||
<div class="content">
|
||||
{% block content %} {% endblock content %}
|
||||
</div>
|
||||
<footer>
|
||||
<hr>
|
||||
<div class="left">
|
||||
{{ now() | date(format="%Y") }} — <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY-NC-SA 4.0</a> — By Irrlicht
|
||||
</div>
|
||||
<div class="right">
|
||||
Généré avec <a href="https://getzola.org">Zola</a>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
{% block head_css %}
|
||||
{{ super() }}
|
||||
<link href="/assets/css/main.css" rel="stylesheet">
|
||||
{% endblock %}
|
||||
|
|
|
|||
|
|
@ -1,32 +1,4 @@
|
|||
{% extends "base.html" %}
|
||||
<h1>{{ page.title }}</h1>
|
||||
|
||||
{% block content %}
|
||||
<h1>A den</h1>
|
||||
|
||||
<p>
|
||||
Bienvenu sur Mindlair, ma tanière sur Internet, où j'amasse tout ce que je souhaite partager.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Touche à tout bonne à rien, je passe ma vie avec les gens et à filer des coups de main. Si je m'intéresse à mille choses, la politique occupe le plus clair de mon temps.
|
||||
</p>
|
||||
|
||||
<h2>Ce que j'édite</h2>
|
||||
|
||||
<div class="column">
|
||||
<div class="row">
|
||||
{% set links = load_data(path="content/links.json") %}
|
||||
{% for link in links %}
|
||||
<a class="card" href="{{ link.url }}" title="blog">
|
||||
<div class="description">
|
||||
<h3>{{ link.name }}</h3>
|
||||
<p>
|
||||
{{ link.description }}
|
||||
</p>
|
||||
</div>
|
||||
<img src="{{ get_url(path=link.logo) }}" class="logo">
|
||||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock content %}
|
||||
|
|
|
|||
3
todo.md
Normal file
3
todo.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
- Make index work as expected: should be flexible and display presentation of website and list of links. Not list of articles, this site isn't a blog, the blog is elsewhere.
|
||||
- make menu work as expected.
|
||||
- logo for links on landing page.
|
||||
Loading…
Reference in a new issue