mirror of
https://github.com/inventree/inventree-website.git
synced 2025-04-30 22:46:47 +00:00
make image conditional
This commit is contained in:
parent
d93657df69
commit
3e4d933335
@ -3,7 +3,9 @@ layout: default
|
|||||||
---
|
---
|
||||||
<h1>
|
<h1>
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
|
{% if page.github %}
|
||||||
<img src="https://github.com/{{ page.github }}.png?size=40" alt="mdo" class="rounded-circle" width="40" height="40" style="margin:0px">
|
<img src="https://github.com/{{ page.github }}.png?size=40" alt="mdo" class="rounded-circle" width="40" height="40" style="margin:0px">
|
||||||
|
{% endif %}
|
||||||
{{ page.name }}
|
{{ page.name }}
|
||||||
</div>
|
</div>
|
||||||
</h1>
|
</h1>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user