From ce2f27895f6aa97eb4f5f489d0ed13784e840c12 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Sun, 7 Nov 2021 22:11:36 +0100 Subject: [PATCH] add functions texts --- home/_data/function.yml | 15 +++++++++++++++ home/_includes/functions.html | 22 ++++++++++++++++++++++ home/education.md | 3 +++ home/index.md | 2 ++ 4 files changed, 42 insertions(+) create mode 100644 home/_data/function.yml create mode 100644 home/_includes/functions.html diff --git a/home/_data/function.yml b/home/_data/function.yml new file mode 100644 index 00000000..756e8ee0 --- /dev/null +++ b/home/_data/function.yml @@ -0,0 +1,15 @@ +title: We start with simple core functions +text: +functions: + - title: Organize Parts + text: Parts are the fundamental element of any inventory. InvenTree groups parts into structured categories which allow you to arrange parts to meet your particular needs. + link: https://inventree.readthedocs.io/en/latest/part/part/ + - title: Manage Suppliers + text: InvenTree allows you to easily create, modify or delete suppliers and supplier items linked to any part in your inventory. + link: https://inventree.readthedocs.io/en/latest/companies/supplier/ + - title: Instant Stock Knowledge + text: Instantly view current stock for a certain part, in a particular location, or required for an individual build. Stock items are organized in cascading locations and sub-locations, allowing flexible inspection of stock under any location. Stock items can be serialized for tracking of individual items, and test results can be stored against a serialized stock item for the purpose of acceptance testing and commissioning. + link: https://inventree.readthedocs.io/en/latest/stock/stock/ + - title: BOM Management + text: Intelligent BOM (Bill of Material) management provides a clear understanding of the sub-parts required to make a new part. InvenTree allows you to upload simple BOM files in multiple formats, and download a detailed BOM with all the information stored in its database. + link: https://inventree.readthedocs.io/en/latest/build/bom/ diff --git a/home/_includes/functions.html b/home/_includes/functions.html new file mode 100644 index 00000000..66417b4a --- /dev/null +++ b/home/_includes/functions.html @@ -0,0 +1,22 @@ +
+
+
+

{{ include.data.title }}

+

{{ include.data.text }}

+
+
+ {% assign function_len = include.data.functions | size %} + {% for item in include.data.functions %} +
+

{{ item.title }}

+

{{ item.text }}

+ Learn More + + + + +
+ {% endfor %} +
+
+
\ No newline at end of file diff --git a/home/education.md b/home/education.md index 4f7c6f71..baf85cbe 100644 --- a/home/education.md +++ b/home/education.md @@ -10,6 +10,9 @@ backLink: false {% include cta.html text='read more on the site!' %} +{% assign function = site.data.function %} +{% include functions.html data=function %} + {% assign end = site.data.end_cta %} {% include cta.html cta=end %} diff --git a/home/index.md b/home/index.md index 6b7993ef..14c0c943 100644 --- a/home/index.md +++ b/home/index.md @@ -5,6 +5,8 @@ backLink: false {% include hero.html title=site.tagline title_2='and more' image='https://dummyimage.com/860x600' color='with InvenTree' %} +{% assign function = site.data.function %} +{% include functions.html data=function %} {% assign for_h = site.data.for_hobby %}