add: logo on home
This commit is contained in:
parent
9348521308
commit
d66637f840
6 changed files with 44 additions and 15 deletions
|
@ -58,7 +58,7 @@
|
|||
<p class="mx-auto">© Heike Tischler</p>
|
||||
</div>
|
||||
<div class="row">
|
||||
<p class="mx-auto">Diese Webseite nutzt <a href="http://getgrav.org">Grav</a> von <a href="http://www.rockettheme.com">RocketTheme</a>.</p>
|
||||
<p class="mx-auto">Diese Webseite nutzt <a target="_blank" href="http://getgrav.org">Grav</a> von <a target="_blank" href="http://www.rockettheme.com">RocketTheme</a>.</p>
|
||||
</div>
|
||||
</footer>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
<a href="{{ home_url }}" class="navbar-brand mr-10">
|
||||
{% set logo = theme_var('custom_logo') %}
|
||||
{% if logo %}
|
||||
{% set logo_file = (logo|first).name %}
|
||||
<img src="{{ url('theme://images/logo/' ~ logo_file) }}" />
|
||||
{% else %}
|
||||
<img src="{{ url('theme://images/ro-logo.svg') }}" />
|
||||
{% endif %}
|
||||
</a>
|
||||
{% set logo = theme_var('custom_logo') %}
|
||||
{% if style %}
|
||||
{% set style='style="' ~ style ~ '"' %}
|
||||
{% else %}
|
||||
{% set style='' %}
|
||||
{% endif %}
|
||||
{% if logo %}
|
||||
{% set logo_file = (logo|first).name %}
|
||||
<img {{ style }} src="{{ url('theme://images/logo/' ~ logo_file) }}" />
|
||||
{% else %}
|
||||
<img {{ style }} src="{{ url('theme://images/ro-logo.svg') }}" />
|
||||
{% endif %}
|
||||
|
|
|
@ -7,7 +7,9 @@
|
|||
<ul class="sidebar-nav">
|
||||
<li class="sidebar-spacer"></li>
|
||||
<li class="sidebar-brand">
|
||||
{% include 'partials/logo.html.twig' %}
|
||||
<a href="{{ home_url }}" class="navbar-brand mr-10">
|
||||
{% include 'partials/logo.html.twig' %}
|
||||
</a>
|
||||
</li>
|
||||
{% for page in pages.children.visible %}
|
||||
{% set current_page = (page.active or page.activeChild) ? 'selected' : '' %}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<a role="button" class="btn btn-facebook" href="https://www.facebook.com/Reitanlage-Oranienburg-Heike-Tischler-456154271116487/">
|
||||
<a role="button" class="btn btn-facebook" target="_blank" href="https://www.facebook.com/Reitanlage-Oranienburg-Heike-Tischler-456154271116487/">
|
||||
<i class="fab fa-facebook-f"></i>
|
||||
</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue