From 35322826027a76281d089cafeef2bd71edfa3484 Mon Sep 17 00:00:00 2001
From: Matthias Mair <code@mjmair.com>
Date: Thu, 10 Nov 2022 07:58:09 +0100
Subject: [PATCH] move app to markdown and includes (#50)

---
 _includes/partial/section_end.html   |  1 +
 _includes/partial/section_start.html |  1 +
 extend/app.md                        | 21 +++++++++------------
 3 files changed, 11 insertions(+), 12 deletions(-)
 create mode 100644 _includes/partial/section_end.html
 create mode 100644 _includes/partial/section_start.html

diff --git a/_includes/partial/section_end.html b/_includes/partial/section_end.html
new file mode 100644
index 00000000..d3ed8f7f
--- /dev/null
+++ b/_includes/partial/section_end.html
@@ -0,0 +1 @@
+</div></section>
\ No newline at end of file
diff --git a/_includes/partial/section_start.html b/_includes/partial/section_start.html
new file mode 100644
index 00000000..90198cce
--- /dev/null
+++ b/_includes/partial/section_start.html
@@ -0,0 +1 @@
+<section class="cm-gray-2 body-font"><div class="section-container">
\ No newline at end of file
diff --git a/extend/app.md b/extend/app.md
index 8db1c49e..1589860d 100644
--- a/extend/app.md
+++ b/extend/app.md
@@ -5,23 +5,20 @@ title: InvenTree Mobile App
 
 {% include block/hero.html title='Mobile stock control' title_2='in the' color='palm of your hand' gallery='appgallery/' perPage=3 detail='The InvenTree Mobile App brings stock control to your pocket. Integrating seamlessly with the InvenTree API, the app provides immediate access to inventory data wherever you are.' %}
 
-<section class="cm-gray-2 body-font">
-<div class="section-container">
+{% include partial/section_start.html %}
 
 Native barcode support provides a multitude of context-sensitive stock control actions, allowing streamlined inventory management at your fingertips. The app has been optimized for speed, providing instant access to stock knowledge and handy on-site functionality.
 
-<h3>Features</h3>
+### Features
 
 Core app features include:
 
-<ul>
-<li>View and edit part and stock information with a blazingly fast interface</li>
-<li>Perform stock control actions on the go</li>
-<li>Barcode integrations simplify stock operations</li>
-<li>Receive purchase orders and check in stock items</li>
-</ul>
+- View and edit part and stock information with a blazingly fast interface
+- Perform stock control actions on the go
+- Barcode integrations simplify stock operations
+- Receive purchase orders and check in stock items
 
-<h3>Download<h3>
+### Download
 
 The InvenTree app can be downloaded from either the Android or Apple app stores, or accessed via the links below:
 
@@ -29,8 +26,8 @@ The InvenTree app can be downloaded from either the Android or Apple app stores,
 
 <span class='fab fa-apple'></span> [Apple App Store](https://apps.apple.com/au/app/inventree/id1581731101#?platform=iphone)
 
-<h3>Documentation</h3>
+### Documentation
 
 Mobile app documentation can be found on the [InvenTree documentation site](https://docs.inventree.org/en/latest/app/app/).
 
-</div></section>
+{% include partial/section_end.html %}