Skip to content

Commit

Permalink
docs: 🎨 Repersent sub-topic type with icon
Browse files Browse the repository at this point in the history
  • Loading branch information
arv-anshul committed Feb 9, 2024
1 parent d2a8acb commit b98116d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ hide:
:material-book-open-page-variant:{ .lg .warning } :material-equal: **Main Topic** of the Course.

:material-book:{ .lg .primary } :material-equal: **Sub Topic** of the Main Topic.

:material-video:{ .lg .secondary } :material-equal: **Sub Topic** session is Video.
</figure>

{% set printed_topic_ids = [] %}
Expand All @@ -25,7 +27,11 @@ hide:
## :material-book-open-page-variant:{ title="Main Topic" .warning } {{ topic.title }}
{% endif %}

{% if sub_topic.type == "video" %}
### :material-{{ sub_topic.type }}:{ title="Sub Topic: {{ sub_topic.type | title }}" .secondary } {{ sub_topic.title }}
{% else %}
### :material-book:{ title="Sub Topic" .primary } {{ sub_topic.title }}
{% endif %}

<details style="border-color: #448aff33;">
<summary>Description</summary>
Expand Down

0 comments on commit b98116d

Please sign in to comment.