oliverdavies.uk/source/_includes/banner.html.twig

10 lines
427 B
Twig
Raw Normal View History

2024-02-15 13:00:00 +00:00
{% if site.banner_text %}
<div class="p-3 bg-[#ffc82c] text-black text-base mb-4 dark:text-white dark:bg-[#856200]">
<div class="min-w-full mx-auto px-6">
2024-03-02 09:32:13 +00:00
<div class="mx-auto max-w-xl prose prose-p:text-black prose:a:font-normal prose-p:text-sm prose-p:leading-normal dark:prose-p:text-white dark:prose-a:text-white text-center">
2024-02-15 13:00:00 +00:00
{{ site.banner_text|markdown }}
</div>
2024-01-03 20:00:00 +00:00
</div>
</div>
2024-02-15 13:00:00 +00:00
{% endif %}