Skip to content

Commit

Permalink
WIP show external_links, related_tags, redirect on tags subpages
Browse files Browse the repository at this point in the history
  • Loading branch information
nodiscc committed Jul 11, 2023
1 parent 809c261 commit 7c93fa2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions hecat/exporters/markdown_multipage.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,16 @@
# {{ tag['name'] }}
{{ tag['description']}}
{% if tag['external_links'] is defined %}
```{seealso} See also
{% for link in tag['external_links'] %}- [{{ link['title'] }}]({{ link['url'] }})
{% endfor %}
```
{% endif %}
{% if tag['related_tags'] is defined %}
```{admonition} Related
{% for related_tag in tag['related_tags'] %}- [{{ related_tag }}]({{ TODO kebab-case rfelated-tag }})
```
todo external_links, related_tags, redirect (use https://pradyunsg.me/furo/reference/admonitions/)
Expand Down

0 comments on commit 7c93fa2

Please sign in to comment.