diff --git a/notes2web.py b/notes2web.py index fb4d549..b7728c1 100755 --- a/notes2web.py +++ b/notes2web.py @@ -203,7 +203,8 @@ def main(args): f'--template={args.template}', '-V', f'filehistory={filehistory}', '-V', f'licenseFull={notes_license}', - '--mathjax' + '--mathjax', + '--toc' ]) pathlib.Path(output_filename).parent.mkdir(parents=True, exist_ok=True) diff --git a/styles.css b/styles.css index ddafc78..47ded3d 100644 --- a/styles.css +++ b/styles.css @@ -45,10 +45,6 @@ summary > * { display: inline } -li { - margin-bottom: 1em; -} - img, video { margin: 0 auto; display: block; diff --git a/templates/article.html b/templates/article.html index dc945b3..d1d7555 100644 --- a/templates/article.html +++ b/templates/article.html @@ -10,7 +10,7 @@
tags: [ +
tags: [ $for(tags)$ $tags$$sep$, $endfor$ @@ -37,6 +37,12 @@
$licenseFull$-