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]
|
||||
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 |
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user