WebsiteBench / tasks /change /solution /site /implementation /clone /frontend /templates /topics.html
Download tasks/change/solution/site/implementation/clone/frontend/templates/topics.html from TIGER-Lab/WebsiteBench: direct link, hf CLI and curl.
- Browser
- Download file 1.86 kB
-
https://huggingface.co/datasets/TIGER-Lab/WebsiteBench/resolve/main/tasks/change/solution/site/implementation/clone/frontend/templates/topics.html
- Command line
-
hf download hf://datasets/TIGER-Lab/WebsiteBench/tasks/change/solution/site/implementation/clone/frontend/templates/topics.html
-
curl -L -o topics.html https://huggingface.co/datasets/TIGER-Lab/WebsiteBench/resolve/main/tasks/change/solution/site/implementation/clone/frontend/templates/topics.html
1.86 kB
| {% extends "base.html" %} | |
| {% block content %} | |
| <section class="topic-directory"> | |
| <p class="page-eyebrow">Topic directory</p> | |
| <h1>Discover petitions by Topic</h1> | |
| <p class="alphabet-label">Filter alphabetically</p> | |
| <nav class="alphabet-nav" aria-label="Topics by first letter"> | |
| <a class="active" href="/topic">All</a> | |
| {% for letter in alphabet %} | |
| <a href="#topic-{{ letter }}">{{ letter }}</a> | |
| {% endfor %} | |
| </nav> | |
| <h2 class="topic-count"> | |
| Topics (<span class="topic-count-wide">87,190</span><span class="topic-count-mobile">87,190</span>) | |
| </h2> | |
| {# Topics come from SOURCE_TOPIC_PAGES in app.py, which topic_page | |
| also resolves against, so every link here opens a real page. #} | |
| <div class="topic-grid"> | |
| {% for topic in topics %} | |
| <article id="topic-{{ topic.letter }}" class="topic-card"> | |
| <a href="/topic/{{ topic.slug }}"> | |
| <h2>{{ topic.title }}</h2> | |
| {% if topic.signatures is defined %} | |
| <p><strong>{{ topic.signatures }}</strong> signatures</p> | |
| {% else %} | |
| <p class="topic-signature-placeholder" aria-hidden="true"></p> | |
| {% endif %} | |
| </a> | |
| </article> | |
| {% endfor %} | |
| </div> | |
| <button class="topic-show-more" type="button">Show more</button> | |
| <section class="curated-topics" aria-labelledby="curated-topics-heading"> | |
| <h2 id="curated-topics-heading">Curated topics</h2> | |
| <nav aria-label="Curated topics"> | |
| {% for curated in curated_topics %} | |
| <a href="{{ curated.href }}">{{ curated.title }}</a> | |
| {% endfor %} | |
| </nav> | |
| </section> | |
| <section class="topic-start-cta"> | |
| <h2>Can’t find what you’re looking for? Make your voice heard!</h2> | |
| <a class="change-primary-button" href="/start-a-petition/intro?source_location=topic">Start a petition</a> | |
| </section> | |
| </section> | |
| {% endblock %} | |