website: fold older versions on the download page (#3635)
Only the latest release stays visible in the binary, checksum and signature, and source tarball lists; older versions move into collapsible `<details>` sections. Condense the repetitive per-version checksum and signature sentences into a single list.
This commit is contained in:
1 parent
1b4109b0d0
commit
57f5976edf
3 files changed
+81
-32
No files matched your search
@@ -33,7 +33,8 @@ env.filters['entry_id'] = lambda input: re.sub(
|
||||
r'\1', # e.g. range-range-range -> range
|
||||
re.sub(r' ?/ ?|,? ', '-',
|
||||
re.sub(r'[`;]|: .*|\(.*?\)| \[.+\]', '', input)))).lower()
|
||||
env.filters['markdownify'] = lambda input: Markup(markdown(input))
|
||||
env.filters['markdownify'] = lambda input: Markup(
|
||||
markdown(input, extensions=['md_in_html']))
|
||||
env.filters['no_paragraph'] = lambda input: Markup(re.sub(r'</?p>', '', input))
|
||||
|
||||
env.globals['unique_id'] = pass_context(
|
||||
|
||||
Reference in new issue
Block a user