mirror of
https://github.com/inventree/inventree-website.git
synced 2025-04-28 05:26:44 +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">
|
||||
{% if layout.notitle != true %}
|
||||
<h2>{{ page.title }}</h2>
|
||||
{% endif %}
|
||||
{{ content }}
|
||||
</article>
|
||||
|
@ -1,12 +1,13 @@
|
||||
---
|
||||
layout: default
|
||||
layout: content
|
||||
notitle: true
|
||||
---
|
||||
<h1>
|
||||
<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">
|
||||
{% endif %}
|
||||
{{ page.name }}
|
||||
{{ page.name }}
|
||||
</div>
|
||||
</h1>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user