mirror of
https://github.com/inventree/inventree-website.git
synced 2025-04-29 14:06:45 +00:00
conditional fullwidth
This commit is contained in:
parent
b8f657d263
commit
4470936e1d
@ -2,7 +2,11 @@
|
|||||||
layout: default
|
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.fullwith %}
|
||||||
|
style="max-width: 90%"
|
||||||
|
{% endif %}
|
||||||
|
>
|
||||||
{% if layout.notitle != true %}
|
{% if layout.notitle != true %}
|
||||||
<h2>{{ page.title }}</h2>
|
<h2>{{ page.title }}</h2>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
layout: content
|
layout: content
|
||||||
notitle: true
|
notitle: true
|
||||||
|
fullwith: true
|
||||||
---
|
---
|
||||||
<h2>{{ page.name }}
|
<h2>{{ page.name }}
|
||||||
<span class="sm:ml-2 text-sm">{% include partial/publisher_ref.html pub=page.publisher %}</span>
|
<span class="sm:ml-2 text-sm">{% include partial/publisher_ref.html pub=page.publisher %}</span>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user