forked from M-Labs/web2019
fix(ARTIQ): Updates logo, adds hack to page.html
This commit is contained in:
parent
558fd55089
commit
8bba1122d8
|
@ -6,6 +6,7 @@ template = "page.html"
|
||||||
[extra]
|
[extra]
|
||||||
logo = "images/logo-artiq@2x.png"
|
logo = "images/logo-artiq@2x.png"
|
||||||
logo_size = 125
|
logo_size = 125
|
||||||
|
logo_only = true
|
||||||
+++
|
+++
|
||||||
|
|
||||||
|
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 20 KiB |
|
@ -23,11 +23,15 @@
|
||||||
<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 %}>
|
<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 %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if not page.extra.logo_only %}
|
||||||
{% if page.extra and page.extra.title %}
|
{% if page.extra and page.extra.title %}
|
||||||
<h1>{{ page.extra.title }}</h1>
|
<h1>{{ page.extra.title }}</h1>
|
||||||
{% else %}
|
{% else %}
|
||||||
<h1>{{ page.title }}</h1>
|
<h1>{{ page.title }}</h1>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% else %}
|
||||||
|
<div></div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<img src="{{ get_url(path='images/ion@2x.png', cachebust=true) }}" width="100" align="ion">
|
<img src="{{ get_url(path='images/ion@2x.png', cachebust=true) }}" width="100" align="ion">
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue