2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-06-13 10:35:27 +00:00

move to root dir

This commit is contained in:
2021-11-08 23:24:52 +01:00
parent b29f813e56
commit 865c868df1
37 changed files with 0 additions and 3 deletions

12
_layouts/branche.html Normal file
View File

@ -0,0 +1,12 @@
---
layout: default
---
{% include hero.html title=site.tagline title_2=page.title_2 image='https://dummyimage.com/860x600' color='with InvenTree' %}
{% assign data = site.data[page.data] %}
{% include features.html data=data %}
{% include cta.html cta=site.data.general.learn_cta %}
{% include functions.html data=site.data.general.function extend=true %}
{% include cta.html cta=site.data.general.end_cta %}

16
_layouts/default.html Normal file
View File

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="{{ site.lang | default: "en-US" }}">
<head>
{% include head.html %}
</head>
<body class="antialiased cm-gray-1 min-h-screen">
{% include header.html %}
{{ content }}
{% include footer.html %}
</body>
</html>

20
_layouts/post.html Normal file
View File

@ -0,0 +1,20 @@
---
layout: default
---
<header>
{% if page.backLink or page.backLink == nil %}
<a href="/" 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">
{{ content }}
</article>