{{ content }}
diff --git a/docs/_config.yml b/docs/_config.yml
index bd7a7c791..50d035a7f 100644
--- a/docs/_config.yml
+++ b/docs/_config.yml
@@ -6,6 +6,7 @@ url: "" # The base hostname & protocol for your site, e.g. http://example.com
layouts_dir: _layouts
data_dir: _data
+includes_dir: _includes
favicon: favicon.ico
@@ -19,4 +20,4 @@ headbuttontext: Get LibreTime
# Build settings
plugins:
- - jekyll-toc
\ No newline at end of file
+ - kramdown
\ No newline at end of file
diff --git a/docs/_data/nav.yml b/docs/_data/nav.yml
index 053f464f1..ee405d9cf 100644
--- a/docs/_data/nav.yml
+++ b/docs/_data/nav.yml
@@ -1,8 +1,6 @@
topnav:
-- page: Introduction
- url: index
- page: Docs
- url: scheduling-shows
+ url: quickstart
- page: Github
url: https://github.com/LibreTime/libretime
- page: Sponsor
@@ -13,6 +11,8 @@ docsnav:
contents:
- page: 1. Quick Install
url: quickstart
+ - page: 1.1 Reverse Proxy
+ url: reverse-proxy
- page: 2. Host Configuration
url: host-configuration
- page: 3. Setting the Server Time
diff --git a/docs/_includes/toc.html b/docs/_includes/toc.html
new file mode 100644
index 000000000..509015625
--- /dev/null
+++ b/docs/_includes/toc.html
@@ -0,0 +1,112 @@
+{% capture tocWorkspace %}
+ {% comment %}
+ Version 1.0.12
+ https://github.com/allejo/jekyll-toc
+
+ "...like all things liquid - where there's a will, and ~36 hours to spare, there's usually a/some way" ~jaybe
+
+ Usage:
+ {% include toc.html html=content sanitize=true class="inline_toc" id="my_toc" h_min=2 h_max=3 %}
+
+ Parameters:
+ * html (string) - the HTML of compiled markdown generated by kramdown in Jekyll
+
+ Optional Parameters:
+ * sanitize (bool) : false - when set to true, the headers will be stripped of any HTML in the TOC
+ * class (string) : '' - a CSS class assigned to the TOC
+ * id (string) : '' - an ID to assigned to the TOC
+ * h_min (int) : 1 - the minimum TOC header level to use; any header lower than this value will be ignored
+ * h_max (int) : 6 - the maximum TOC header level to use; any header greater than this value will be ignored
+ * ordered (bool) : false - when set to true, an ordered list will be outputted instead of an unordered list
+ * item_class (string) : '' - add custom class(es) for each list item; has support for '%level%' placeholder, which is the current heading level
+ * baseurl (string) : '' - add a base url to the TOC links for when your TOC is on another page than the actual content
+ * anchor_class (string) : '' - add custom class(es) for each anchor element
+ * skipNoIDs (bool) : false - skip headers that do not have an `id` attribute
+
+ Output:
+ An ordered or unordered list representing the table of contents of a markdown block. This snippet will only
+ generate the table of contents and will NOT output the markdown given to it
+ {% endcomment %}
+
+ {% capture my_toc %}{% endcapture %}
+ {% assign orderedList = include.ordered | default: false %}
+ {% assign skipNoIDs = include.skipNoIDs | default: false %}
+ {% assign minHeader = include.h_min | default: 1 %}
+ {% assign maxHeader = include.h_max | default: 6 %}
+ {% assign nodes = include.html | split: '
- {{ page.blurb }} -
-