Migrate cotton to Python + template tag shims
This commit is contained in:
@@ -1,8 +1,3 @@
|
||||
<h1 class="{% if badge %}flex items-center {% endif %}mb-4 text-3xl font-extrabold leading-none tracking-tight text-gray-900 dark:text-white">
|
||||
{{ slot }}
|
||||
{% if badge %}
|
||||
<span class="bg-blue-100 text-blue-800 text-2xl font-semibold me-2 px-2.5 py-0.5 rounded-sm dark:bg-blue-200 dark:text-blue-800 ms-2">
|
||||
{{ badge }}
|
||||
</span>
|
||||
{% endif %}
|
||||
</h1>
|
||||
<c-vars badge="" />
|
||||
{% load h1_tag %}
|
||||
{% python_h1 badge=badge slot=slot %}
|
||||
|
||||
Reference in New Issue
Block a user