1
0
Fork 0

fix(ARTIQ): Updates logo, adds hack to page.html

This commit is contained in:
sovanna 2019-07-20 10:11:39 +02:00
parent 558fd55089
commit 8bba1122d8
3 changed files with 8 additions and 3 deletions

View File

@ -6,6 +6,7 @@ template = "page.html"
[extra]
logo = "images/logo-artiq@2x.png"
logo_size = 125
logo_only = true
+++

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@ -23,10 +23,14 @@
<img src="{{ get_url(path=page.extra.logo, cachebust=true) }}" alt="logo" {% if page.extra and page.extra.logo_size %}width="{{ page.extra.logo_size }}"{% endif %}>
{% endif %}
{% if page.extra and page.extra.title %}
<h1>{{ page.extra.title }}</h1>
{% if not page.extra.logo_only %}
{% if page.extra and page.extra.title %}
<h1>{{ page.extra.title }}</h1>
{% else %}
<h1>{{ page.title }}</h1>
{% endif %}
{% else %}
<h1>{{ page.title }}</h1>
<div></div>
{% endif %}
<img src="{{ get_url(path='images/ion@2x.png', cachebust=true) }}" width="100" align="ion">