Compare commits

..

No commits in common. "e3801fdb8c0cfcdb30f882fb9a6a45ff0a8be41f" and "9d84b99449a4f710508fe800f0c60190cd70a84f" have entirely different histories.

3 changed files with 7 additions and 6 deletions

4
gen.py
View File

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

View File

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

View File

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