diff options
author | tzlil <tzlils@protonmail.com> | 2023-09-09 01:59:59 +0300 |
---|---|---|
committer | tzlil <tzlils@protonmail.com> | 2023-09-09 01:59:59 +0300 |
commit | a7cafdeeb5624fbac2296861e491681f6b862dd7 (patch) | |
tree | 4d44ee45fb09bfa6e3b9b8153df68b4532c54fd1 /templates | |
parent | d09927ca6f7af2404e9c3a09a6e99dfdd1e87577 (diff) |
whitelist categories
Diffstat (limited to 'templates')
-rw-r--r-- | templates/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/index.html b/templates/index.html index cb91326..834cec9 100644 --- a/templates/index.html +++ b/templates/index.html @@ -10,8 +10,8 @@ <pre> this website pulls a random arXiv publication for a given category <a href="https://git.tzlil.net/arXiv.git" title="if you're wondering why my code needs to scrape arXiv and build probability distributions see fuck you.py">source code</a> -all categories: <a href="https://arxiv.org/category_taxonomy">here</a> -examples: +taxonomy: <a href="https://arxiv.org/category_taxonomy">here</a> +categories: {% for i in taxonomy %} <a href='{{ i }}'>{{ i }}</a> {% endfor %} |