This commit is contained in:
samaradel
2022-07-21 18:47:09 +02:00
parent 58940f62c8
commit 03a742f2d7
3 changed files with 6 additions and 7 deletions

View File

@@ -7,8 +7,8 @@
{{ body | trim_start_matches(pat="<p>") | safe}}
</button>
{% elif current_url is containing('www_threefold_io') %}
{% set btn_path = 'www_threefold_io' ~ path%}
{% elif path is starting_with('/') %}
{% set btn_path = 'www_threefold_io' ~ path %}
<button onclick="window.location='{{btn_path}}'"
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">
{{ body | trim_start_matches(pat="<p>") | safe}}