test remove button shortcode

This commit is contained in:
timurgordon
2022-08-01 12:55:55 +02:00
parent bc3edae84c
commit 245e9ff63b
5 changed files with 29 additions and 33 deletions

View File

@@ -126,8 +126,8 @@
<nav>
<div id="{{menu_id}}" class="mt-16 sm:mt-0 md:mt-0 lg:mt-0 xl:mt-0 2xl:mt-0 z-30 absolute inset-x-0 transform shadow-lg lg:backdrop-blur xl:backdrop-blur transition duration-200 ease-in opacity-0 -translate-y-1 hidden">
<div class="bg-white lg:bg-semi-white md:bg-semi-white xl:bg-semi-white">
<div class="mx-8 lg:mx-40 xl:mx-40 px-6 sm:p-6 md:p-8">
{{header_menu | safe }}
<div id="menu" class="mx-8 lg:mx-40 xl:mx-40 px-6 sm:p-6 md:p-8">
{{header_menu | safe }}
</div>
</div>
</div>

View File

@@ -10,6 +10,6 @@
{% else %}
<button onclick="window.location='{{get_url(path=url)}}'"
class="leading-6 border-transparent flex flex-col border-2 w-full items-start rounded transition hover:first:text-gray-500 hover:border-stone-200 hover:bg-stone-100 p-2 text-left">
<a href="{{get_url(path=url)}}"> {{ body | trim_start_matches(pat="<p>") | safe}}</a>
<a href="{{get_url(path=url)}}"> {{ body | trim_start_matches(pat="<p>") | striptags | safe}}</a>
</button>
{% endif %}