Compare commits
No commits in common. "e3801fdb8c0cfcdb30f882fb9a6a45ff0a8be41f" and "9d84b99449a4f710508fe800f0c60190cd70a84f" have entirely different histories.
e3801fdb8c
...
9d84b99449
6
gen.py
6
gen.py
@ -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
|
||||
# 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():
|
||||
with file.open() as fp:
|
||||
audio = json.loads(fp.read())
|
||||
@ -298,7 +296,7 @@ if __name__ == '__main__':
|
||||
datadir = d / "data"
|
||||
if datadir.is_dir():
|
||||
section_indx_txt = datadir / "index.txt"
|
||||
section_desc_txt = datadir / "desc.md"
|
||||
section_desc_txt = datadir / "desc.txt"
|
||||
|
||||
out_index = None
|
||||
if section_indx_txt.is_file() or section_desc_txt.is_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-15_1
|
||||
export MAGICK_HOME=/opt/homebrew/Cellar/imagemagick/7.1.1-13
|
||||
# exec python $2 "${@:3}"
|
||||
esac
|
||||
|
||||
|
||||
@ -5,6 +5,9 @@
|
||||
<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>
|
||||
@ -12,7 +15,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/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>
|
||||
[[content]]
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user