Compare commits

...

2 Commits

Author SHA1 Message Date
gauthiier
e3801fdb8c header 2023-09-12 08:38:24 +02:00
gauthiier
265cbb4e70 txt-md 2023-09-12 08:36:35 +02:00
3 changed files with 6 additions and 7 deletions

6
gen.py
View File

@ -70,7 +70,9 @@ def emit_audio(file: pathlib.Path, data_dir: pathlib.Path, full=False):
# an '.audio' file is a json file with a list of audio elements
# which need to be bundles as a type of list in a single <li>
file = data_dir / file;
if not file.is_file():
file = data_dir / file;
if file.is_file():
with file.open() as fp:
audio = json.loads(fp.read())
@ -296,7 +298,7 @@ if __name__ == '__main__':
datadir = d / "data"
if datadir.is_dir():
section_indx_txt = datadir / "index.txt"
section_desc_txt = datadir / "desc.txt"
section_desc_txt = datadir / "desc.md"
out_index = None
if section_indx_txt.is_file() or section_desc_txt.is_file():

View File

@ -22,7 +22,7 @@ case $1 in
run)
echo "running"
source venv/bin/activate
export MAGICK_HOME=/opt/homebrew/Cellar/imagemagick/7.1.1-13
export MAGICK_HOME=/opt/homebrew/Cellar/imagemagick/7.1.1-15_1
# exec python $2 "${@:3}"
esac

View File

@ -5,9 +5,6 @@
<meta name="description" content="David Gauthier (b.1979, CA) - selected index of works">
<link rel="icon" href="+++/jules-henri.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="+++/lestyle.css"/>
<link rel="pgpkey" href="+++/key.asc"/>
<link rel="openid.delegate" href="http://gauthiier.info/" />
<link rel="openid.server" href="https://indieauth.com/openid" />
<title>David Gauthier</title>
</head>
<body>
@ -15,7 +12,7 @@
<a href="+++/"><img src="+++/yeux.png" width="500" class="tableau"></a>
<h4>David Gauthier</h4>
<h1><i>(Selected) Index of works</i></h1>
<h4><a href="https://www.uu.nl/medewerkers/DGauthier">index of academic work</a></h4>
<h4><a href="https://www.uu.nl/staff/DGauthier">index of academic work</a></h4>
<h4>d[at]gauthiier.info</h4>
[[content]]
</div>