diff options
| author | 2021-05-16 18:42:50 +0100 | |
|---|---|---|
| committer | 2021-05-16 18:42:50 +0100 | |
| commit | 8c7c3b137fb6c60818d29ac3d14ebb397357ee0e (patch) | |
| tree | fec5581d5e27fc860db6424f7c1d6a3a71565693 /pydis_site/templates/content/dropdown.html | |
| parent | Resolve conflicts (diff) | |
| parent | Merge pull request #501 from python-discord/update/sir-lancebot-env-vars (diff) | |
Merge branch 'main' into fix_327
Diffstat (limited to 'pydis_site/templates/content/dropdown.html')
| -rw-r--r-- | pydis_site/templates/content/dropdown.html | 17 | 
1 files changed, 17 insertions, 0 deletions
diff --git a/pydis_site/templates/content/dropdown.html b/pydis_site/templates/content/dropdown.html new file mode 100644 index 00000000..d81e29dc --- /dev/null +++ b/pydis_site/templates/content/dropdown.html @@ -0,0 +1,17 @@ +<div class="dropdown is-pulled-right is-right" id="dropdown"> +    <div class="dropdown-trigger"> +        <a aria-haspopup="true" aria-controls="subarticle-menu"> +            <span>Sub-Articles</span> +            <span class="icon is-small"> +                <i class="fas fa-angle-down" aria-hidden="true"></i> +            </span> +        </a> +    </div> +    <div class="dropdown-menu" id="subarticle-menu" role="menu"> +        <div class="dropdown-content"> +            {% for page in subarticles|dictsort:"name" %} +                <a href="{{ page.path }}" class="dropdown-item">{{ page.name }}</a> +            {% endfor %} +        </div> +    </div> +</div>  |