mirror of
https://github.com/inventree/inventree-website.git
synced 2025-04-27 04:56:45 +00:00
28 lines
994 B
HTML
28 lines
994 B
HTML
---
|
|
layout: default
|
|
---
|
|
|
|
<header>
|
|
{% if page.backLink or page.backLink == nil %}
|
|
<a href="{{ '/' | relative_url }}" class="flex items-center m-5 text-xl hover:underline">
|
|
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
|
<path fill-rule="evenodd"
|
|
d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z"
|
|
clip-rule="evenodd"></path>
|
|
</svg>
|
|
<span>Back</span>
|
|
</a>
|
|
{% endif %}
|
|
</header>
|
|
|
|
<article class="prose prose-sm sm:prose lg:prose-lg xl:prose-xl mx-auto min-h-screen">
|
|
<h1>{{ page.title }}</h1>
|
|
<p>
|
|
{{ page.date | date_to_string }}
|
|
{% assign publisher = site.publishers | where: 'short_name', page.publisher | first %}
|
|
{% if publisher %}
|
|
- <a href="{{ publisher.url | relative_url }}">{{ publisher.name }}</a>
|
|
{% endif %}
|
|
</p>
|
|
{{ content }}
|
|
</article> |