Support title-img config param to have image in the navbar instead of text
This commit is contained in:
parent
bc854ed771
commit
14cbc5a266
@ -7,7 +7,11 @@
|
|||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
</button>
|
</button>
|
||||||
|
{% if site.title-img %}
|
||||||
|
<a class="navbar-brand navbar-brand-logo" href="{{ site.url }}"><img src="{{ site.title-img }}"/></a>
|
||||||
|
{% else %}
|
||||||
<a class="navbar-brand" href="{{ site.url }}">{{ site.title }}</a>
|
<a class="navbar-brand" href="{{ site.url }}">{{ site.title }}</a>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="collapse navbar-collapse" id="main-navbar">
|
<div class="collapse navbar-collapse" id="main-navbar">
|
||||||
|
Loading…
Reference in New Issue
Block a user