diff options
| author | mo8it <mo8it@proton.me> | 2025-05-17 19:53:30 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2025-05-17 19:53:30 +0200 |
| commit | 2f700991f32de65ad8a6972edfa688731fa528f4 (patch) | |
| tree | 3026b3539c192b34bafbeade2f164f714da9fc73 /website/templates/macros.html | |
| parent | b4a6b87e2402c8b1e56227957ed9b61406d2ce24 (diff) | |
Remove macros
Diffstat (limited to 'website/templates/macros.html')
| -rw-r--r-- | website/templates/macros.html | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/website/templates/macros.html b/website/templates/macros.html deleted file mode 100644 index dd7b928..0000000 --- a/website/templates/macros.html +++ /dev/null @@ -1,38 +0,0 @@ -{% macro toc() %} - {% if page.toc %} - <div class="px-4 py-0.5 my-3 border-s-4 rounded-xl border-double"> - <nav> - <ul class="ml-0 list-none"> - {% for parent in page.toc %} - {% if parent.level == 2 %} - <li> - {#- -#} - <a href="{{ parent.permalink | safe }}">{{ parent.title }}</a> - {#- -#} - {% if parent.children %} - <ul class="my-0 ml-5 list-none"> - {% for child in parent.children %} - {% if child.level == 3 %} - <li> - {#- -#} - <a class="text-base" href="{{ child.permalink | safe }}">{{ child.title }}</a> - {#- -#} - </li> - {% endif %} - {% endfor %} - </ul> - {% endif %} - {#- -#} - </li> - {% endif %} - {% endfor %} - </ul> - </nav> - </div> - {% endif %} -{% endmacro %} - -{% macro btn(link, content) %} - <a class="py-1.5 px-3 my-2 no-underline bg-gray-800 rounded-xl transition duration-500 hover:scale-[1.02]" - href="{{ link | safe }}">{{ content | safe }}</a> -{% endmacro %} |
