init
This commit is contained in:
commit
c9def51b7e
38 changed files with 5755 additions and 0 deletions
9
templates/partials/logo.html.twig
Normal file
9
templates/partials/logo.html.twig
Normal file
|
@ -0,0 +1,9 @@
|
|||
{% set logo = theme_var(mobile ? 'custom_logo_mobile' : 'custom_logo') %}
|
||||
<a href="{{ home_url }}" class="navbar-brand mr-10">
|
||||
{% if logo %}
|
||||
{% set logo_file = (logo|first).name %}
|
||||
<img src="{{ url('theme://images/logo/' ~ logo_file) }}" alt="{{ site.name }}" />
|
||||
{% else %}
|
||||
{% include('@images/grav-logo.svg') %}
|
||||
{% endif %}
|
||||
</a>
|
Loading…
Add table
Add a link
Reference in a new issue