publist

managing my list of publications, talks, reviews
git clone https://a3nm.net/git/publist/
Log | Files | Refs | README | LICENSE

commit bd81b2bc88631ca533116166cb80a2159e694d82
parent ad22879b2acc76b0c7eb749e14584696e20b7c50
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Thu,  7 Mar 2024 12:04:02 +0100

minor/major errata

Diffstat:
make_talks_html.py | 13++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/make_talks_html.py b/make_talks_html.py @@ -135,12 +135,19 @@ def makesuppl(publi, lang, ismain=False): l.append(s) if 'errata' in publi.keys(): - msg = "errata" + daclass = "errata" link = "/publications/" if lang == 'fr': - msg = "erreurs identifiées (en anglais)" link += "index.html" - s = '<a class="errata" href="%s#%s_errata">%s</a>' % (link, publi['id'], msg) + msg = "errata" + if lang == 'fr': + msg = "erreurs identifiées (en anglais)" + if publi['errata'] == 'minor': + msg = "minor errata" + if lang == 'fr': + msg = "erreurs mineures identifiées (en anglais)" + daclass = "errata_minor" + s = '<a class="%s" href="%s#%s_errata">%s</a>' % (daclass, link, publi['id'], msg) l.append(s) misck = 'misc' + lang