mirror of
https://github.com/inventree/inventree-website.git
synced 2025-04-29 05:56:45 +00:00
use content layout to render publishers
This commit is contained in:
parent
3e4d933335
commit
de810bc6ee
@ -3,6 +3,8 @@ layout: default
|
|||||||
---
|
---
|
||||||
|
|
||||||
<article class="prose prose-sm sm:prose lg:prose-lg xl:prose-xl mx-auto min-h-screen">
|
<article class="prose prose-sm sm:prose lg:prose-lg xl:prose-xl mx-auto min-h-screen">
|
||||||
|
{% if layout.notitle != true %}
|
||||||
<h2>{{ page.title }}</h2>
|
<h2>{{ page.title }}</h2>
|
||||||
|
{% endif %}
|
||||||
{{ content }}
|
{{ content }}
|
||||||
</article>
|
</article>
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
---
|
---
|
||||||
layout: default
|
layout: content
|
||||||
|
notitle: true
|
||||||
---
|
---
|
||||||
<h1>
|
<h1>
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
{% if page.github %}
|
{% 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 %}
|
{% endif %}
|
||||||
{{ page.name }}
|
{{ page.name }}
|
||||||
</div>
|
</div>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user