mirror of
https://github.com/inventree/inventree-website.git
synced 2025-04-28 05:26:44 +00:00
conditional fullwidth
This commit is contained in:
parent
b8f657d263
commit
4470936e1d
@ -2,7 +2,11 @@
|
||||
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 %}
|
||||
<h2>{{ page.title }}</h2>
|
||||
{% endif %}
|
||||
|
@ -1,6 +1,7 @@
|
||||
---
|
||||
layout: content
|
||||
notitle: true
|
||||
fullwith: true
|
||||
---
|
||||
<h2>{{ page.name }}
|
||||
<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