Implemented iframes for menu items and imprint

This commit is contained in:
Kevin Veen-Birkenbach 2025-03-19 15:54:19 +01:00
parent 3db9872791
commit 242d1b9948
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@
<p itemprop="name">{{ company.titel }} <br /> <p itemprop="name">{{ company.titel }} <br />
{{ company.subtitel }}</p> {{ company.subtitel }}</p>
<span><i class="fa-solid fa-location-dot"></i> {{ company.address.values() | join(", ") }}</span> <span><i class="fa-solid fa-location-dot"></i> {{ company.address.values() | join(", ") }}</span>
<p><a href="{{company.imprint_url}}"><i class="fa-solid fa-scale-balanced"></i> Imprint</a></p> <p><a href="{{company.imprint_url}}" class="iframe-link"><i class="fa-solid fa-scale-balanced"></i> Imprint</a></p>
</div> </div>
</footer> </footer>
</div> </div>

View File

@ -26,7 +26,7 @@
</li> </li>
{% else %} {% else %}
<li> <li>
<a class="dropdown-item" href="{{ children.url }}" target="{{ children.target|default('_blank') }}" data-bs-toggle="tooltip" title="{{ children.description }}"> <a class="dropdown-item {% if children.iframe %}iframe-link{% endif %}" href="{{ children.url }}" target="{{ children.target|default('_blank') }}" data-bs-toggle="tooltip" title="{{ children.description }}">
{{ render_icon_and_name(children) }} {{ render_icon_and_name(children) }}
</a> </a>
</li> </li>