Creating a script for Anthology to update all the names of their learner properties based on new subscription model. Downloaded and updated some templates for this same project.

This commit is contained in:
Norm Rasmussen
2025-08-21 15:40:52 -04:00
parent b52e7cfac1
commit 6edb965eef
120 changed files with 533 additions and 225 deletions

View File

@ -0,0 +1,29 @@
{% comment %} <nav class="np-sub-navigation">
<div class="np-sub-navigation-content">
{% for link in navigations.sub_navigation %}
{% unless link.label == 'Catalog' or link.label == 'Learning Paths' %}
<div class="np-sub-navigation-content-item {{ link.active_class }}">
<a class="np-sub-navigation-content-item-link" href="{{ link.url }}">
<i class="{{ link.icon }} np-button-color np-sub-navigation-content-item-icon"></i>
{{ link.label }}
</a>
<div class="np-sub-navigation-content-item-bar np-button-background-color"></div>
</div>
{% endunless %}
{% endfor %}
</div>
</nav> {% endcomment %}
<nav class="np-sub-navigation custom-home-subnav" style="background: #0054bc; margin: 0; padding: 15px 15px 0;">
<div class="np-sub-navigation-content" style="align-items: center;">
{% for link in navigations.sub_navigation %}
{% unless link.label == 'Catalog' %}
<div class="np-sub-navigation-content-item {{ link.active_class }}">
<a class="np-sub-navigation-content-item-link" href="{{ link.url }}" style="color: #FFF; height: 36px;">
{{ link.label }}
</a>
<div class="np-sub-navigation-content-item-bar np-button-background-color" style="background: #FFF; margin-top: -4px"></div>
</div>
{% endunless %}
{% endfor %}
</div>
</nav>