Skip to content

Commit

Permalink
Instrument drive subtopic links better
Browse files Browse the repository at this point in the history
  • Loading branch information
Khemarato Bhikkhu committed Dec 2, 2023
1 parent 30b860f commit 3414a05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _layouts/tag.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ <h1 class="post-title{% if page.banner_info %} overlay-into-banner{% endif %}">{
{% assign childtags = site.tags | where_exp: "t", cfilter | where: "status", "unpublished" %}
{% for child in childtags %}
{% if site.data.drive_folders[child.slug].public %}
{% capture clink %}<a href="{{ site.data.drive_folders[child.slug].public }}"><i class="fab fa-google-drive"></i> {{ child.title }}</a>{% endcapture %}
{% capture clink %}<a data-content-path="tags/{{child.slug}}" data-content-category="tag" data-content-course="{{child.slug}}" data-content-link-ext="Drive Folder" data-content-title="{{ child.title | smartify | markdownify | strip_html | strip }}" data-content-value="{{ site.data.ga.drive_folder_value }}" href="{{ site.data.drive_folders[child.slug].public }}"><i class="fab fa-google-drive"></i> {{ child.title }}</a>{% endcapture %}
{% assign children = children | push: clink %}
{% endif %}
{% endfor %}
Expand Down

0 comments on commit 3414a05

Please sign in to comment.