From 8179baf8f192d0677cc5ed859175723a270d9f9e Mon Sep 17 00:00:00 2001
From: Sebastian
Date: Tue, 30 Oct 2018 17:36:25 +0100
Subject: [PATCH] Version 1.2.6: Visual Editor
---
cache/lastCache.txt | 2 +-
content/00-Welcome/00-Write-Content.md | 30 ++
content/00-Welcome/01-Get-Help.md | 10 +
content/00-Welcome/index.txt | 1 +
content/00-typemill/00-use-cases.md | 21 --
content/00-typemill/01-roadmap.md | 33 --
content/00-typemill/02-features.md | 25 --
content/00-typemill/index.md | 7 -
.../00-system-requirements.md | 25 --
content/01-getting-started/01-installation.md | 61 ----
content/01-getting-started/02-settings.md | 21 --
content/01-getting-started/03-update.md | 41 ---
content/01-getting-started/index.md | 3 -
content/02-for-writers/00-quick start.md | 15 -
content/02-for-writers/01-author panel.md | 35 --
.../02-naming files and folders.md | 24 --
content/02-for-writers/03-folder structure.md | 5 -
content/02-for-writers/04-mardown.md | 63 ----
content/02-for-writers/05-google sitemap.md | 3 -
content/02-for-writers/06-themes.md | 9 -
content/02-for-writers/07-plugins.md | 16 -
content/02-for-writers/08-forgot password.md | 21 --
content/02-for-writers/index.md | 3 -
.../03-for-theme-developers/00-quick start.md | 113 -------
.../01-theme structure.md | 51 ---
.../03-for-theme-developers/02-theme meta.md | 100 ------
.../03-for-theme-developers/03-asset tags.md | 44 ---
content/03-for-theme-developers/04-twig.md | 215 ------------
.../05-theme variables/00-content.md | 6 -
.../05-theme variables/01-title.md | 21 --
.../05-theme variables/02-description.md | 21 --
.../05-theme variables/03-image.md | 16 -
.../05-theme variables/04-base url.md | 14 -
.../05-theme variables/05-item.md | 311 -----------------
.../05-theme variables/06-breadcrumb.md | 11 -
.../05-theme variables/07-navigation.md | 102 ------
.../05-theme variables/08-settings.md | 85 -----
.../05-theme variables/index.md | 3 -
content/03-for-theme-developers/index.md | 3 -
content/04-for-plugin-developers/00-intro.md | 40 ---
.../01-tutorial/00-cookie consent plugin.md | 56 ---
.../01-tutorial/01-write the yaml file.md | 77 -----
.../01-tutorial/02-write the php file.md | 156 ---------
.../01-tutorial/03-add methods.md | 123 -------
.../01-tutorial/04-create the structure.md | 42 ---
.../01-tutorial/05-add twig template.md | 61 ----
.../01-tutorial/06-add default values.md | 60 ----
.../01-tutorial/07-use variables in twig.md | 127 -------
.../01-tutorial/08-make variables editable.md | 161 ---------
.../01-tutorial/index.md | 3 -
.../02-documentation/00-file structure.md | 49 ---
.../02-documentation/01-configuration file.md | 67 ----
.../02-documentation/02-field overview.md | 237 -------------
.../02-documentation/03-basic php file.md | 116 -------
.../02-documentation/04-event overview.md | 68 ----
.../02-documentation/05-method overview.md | 183 ----------
.../02-documentation/06-routes.md | 56 ---
.../02-documentation/07-middleware.md | 50 ---
.../02-documentation/index.md | 3 -
content/04-for-plugin-developers/index.md | 3 -
content/05-info/00-release-notes.md | 294 ----------------
content/05-info/01-usage-and-licence.md | 16 -
content/05-info/02-Imprint-and-privacy.md | 12 -
content/05-info/03-markdown-test.md | 319 ------------------
content/05-info/index.md | 3 -
content/index.md | 5 +-
content/index.txt | 1 +
system/Controllers/AuthController.php | 4 +-
system/Controllers/ContentApiController.php | 315 ++++++++++++++---
.../Controllers/ContentBackendController.php | 76 ++++-
system/Controllers/ContentController.php | 17 +-
system/Controllers/PageController.php | 2 +-
system/Controllers/SettingsController.php | 3 +-
system/Extensions/ParsedownExtension.php | 33 +-
system/Middleware/RedirectIfAuthenticated.php | 2 +-
system/Middleware/RedirectIfNoAdmin.php | 2 +-
system/Models/Validation.php | 21 +-
system/Routes/Api.php | 4 +-
system/Routes/Web.php | 4 +-
system/Settings.php | 1 +
system/author/auth/welcome.twig | 2 +-
system/author/css/fontello/config.json | 38 ++-
.../css/fontello/css/fontello-codes.css | 14 +-
.../css/fontello/css/fontello-embedded.css | 26 +-
.../css/fontello/css/fontello-ie7-codes.css | 14 +-
.../author/css/fontello/css/fontello-ie7.css | 14 +-
system/author/css/fontello/css/fontello.css | 28 +-
system/author/css/fontello/demo.html | 24 +-
system/author/css/fontello/font/fontello.eot | Bin 7480 -> 8148 bytes
system/author/css/fontello/font/fontello.svg | 14 +-
system/author/css/fontello/font/fontello.ttf | Bin 7312 -> 7980 bytes
system/author/css/fontello/font/fontello.woff | Bin 4504 -> 4944 bytes
.../author/css/fontello/font/fontello.woff2 | Bin 3772 -> 4160 bytes
system/author/css/style.css | 292 +++++++++++++++-
system/author/editor/editor-blox.twig | 45 +++
system/author/editor/editor-raw.twig | 38 +++
system/author/editor/editor.twig | 59 ----
system/author/editor/publish-controller.twig | 26 ++
system/author/js/vue-blox.js | 303 +++++++++++++++++
system/author/js/vue-editor.js | 181 +---------
system/author/js/vue-navi.js | 35 +-
system/author/js/vue-publishcontroller.js | 185 ++++++++++
system/author/layouts/layoutBlox.twig | 46 +++
system/author/layouts/layoutEditor.twig | 1 +
system/author/partials/editorNavi.twig | 35 +-
system/author/partials/navi.twig | 4 +-
system/author/settings/system.twig | 20 +-
107 files changed, 1542 insertions(+), 4364 deletions(-)
create mode 100644 content/00-Welcome/00-Write-Content.md
create mode 100644 content/00-Welcome/01-Get-Help.md
create mode 100644 content/00-Welcome/index.txt
delete mode 100644 content/00-typemill/00-use-cases.md
delete mode 100644 content/00-typemill/01-roadmap.md
delete mode 100644 content/00-typemill/02-features.md
delete mode 100644 content/00-typemill/index.md
delete mode 100644 content/01-getting-started/00-system-requirements.md
delete mode 100644 content/01-getting-started/01-installation.md
delete mode 100644 content/01-getting-started/02-settings.md
delete mode 100644 content/01-getting-started/03-update.md
delete mode 100644 content/01-getting-started/index.md
delete mode 100644 content/02-for-writers/00-quick start.md
delete mode 100644 content/02-for-writers/01-author panel.md
delete mode 100644 content/02-for-writers/02-naming files and folders.md
delete mode 100644 content/02-for-writers/03-folder structure.md
delete mode 100644 content/02-for-writers/04-mardown.md
delete mode 100644 content/02-for-writers/05-google sitemap.md
delete mode 100644 content/02-for-writers/06-themes.md
delete mode 100644 content/02-for-writers/07-plugins.md
delete mode 100644 content/02-for-writers/08-forgot password.md
delete mode 100644 content/02-for-writers/index.md
delete mode 100644 content/03-for-theme-developers/00-quick start.md
delete mode 100644 content/03-for-theme-developers/01-theme structure.md
delete mode 100644 content/03-for-theme-developers/02-theme meta.md
delete mode 100644 content/03-for-theme-developers/03-asset tags.md
delete mode 100644 content/03-for-theme-developers/04-twig.md
delete mode 100644 content/03-for-theme-developers/05-theme variables/00-content.md
delete mode 100644 content/03-for-theme-developers/05-theme variables/01-title.md
delete mode 100644 content/03-for-theme-developers/05-theme variables/02-description.md
delete mode 100644 content/03-for-theme-developers/05-theme variables/03-image.md
delete mode 100644 content/03-for-theme-developers/05-theme variables/04-base url.md
delete mode 100644 content/03-for-theme-developers/05-theme variables/05-item.md
delete mode 100644 content/03-for-theme-developers/05-theme variables/06-breadcrumb.md
delete mode 100644 content/03-for-theme-developers/05-theme variables/07-navigation.md
delete mode 100644 content/03-for-theme-developers/05-theme variables/08-settings.md
delete mode 100644 content/03-for-theme-developers/05-theme variables/index.md
delete mode 100644 content/03-for-theme-developers/index.md
delete mode 100644 content/04-for-plugin-developers/00-intro.md
delete mode 100644 content/04-for-plugin-developers/01-tutorial/00-cookie consent plugin.md
delete mode 100644 content/04-for-plugin-developers/01-tutorial/01-write the yaml file.md
delete mode 100644 content/04-for-plugin-developers/01-tutorial/02-write the php file.md
delete mode 100644 content/04-for-plugin-developers/01-tutorial/03-add methods.md
delete mode 100644 content/04-for-plugin-developers/01-tutorial/04-create the structure.md
delete mode 100644 content/04-for-plugin-developers/01-tutorial/05-add twig template.md
delete mode 100644 content/04-for-plugin-developers/01-tutorial/06-add default values.md
delete mode 100644 content/04-for-plugin-developers/01-tutorial/07-use variables in twig.md
delete mode 100644 content/04-for-plugin-developers/01-tutorial/08-make variables editable.md
delete mode 100644 content/04-for-plugin-developers/01-tutorial/index.md
delete mode 100644 content/04-for-plugin-developers/02-documentation/00-file structure.md
delete mode 100644 content/04-for-plugin-developers/02-documentation/01-configuration file.md
delete mode 100644 content/04-for-plugin-developers/02-documentation/02-field overview.md
delete mode 100644 content/04-for-plugin-developers/02-documentation/03-basic php file.md
delete mode 100644 content/04-for-plugin-developers/02-documentation/04-event overview.md
delete mode 100644 content/04-for-plugin-developers/02-documentation/05-method overview.md
delete mode 100644 content/04-for-plugin-developers/02-documentation/06-routes.md
delete mode 100644 content/04-for-plugin-developers/02-documentation/07-middleware.md
delete mode 100644 content/04-for-plugin-developers/02-documentation/index.md
delete mode 100644 content/04-for-plugin-developers/index.md
delete mode 100644 content/05-info/00-release-notes.md
delete mode 100644 content/05-info/01-usage-and-licence.md
delete mode 100644 content/05-info/02-Imprint-and-privacy.md
delete mode 100644 content/05-info/03-markdown-test.md
delete mode 100644 content/05-info/index.md
create mode 100644 content/index.txt
create mode 100644 system/author/editor/editor-blox.twig
create mode 100644 system/author/editor/editor-raw.twig
delete mode 100644 system/author/editor/editor.twig
create mode 100644 system/author/editor/publish-controller.twig
create mode 100644 system/author/js/vue-blox.js
create mode 100644 system/author/js/vue-publishcontroller.js
create mode 100644 system/author/layouts/layoutBlox.twig
diff --git a/cache/lastCache.txt b/cache/lastCache.txt
index 167ae4e..a8a9e84 100644
--- a/cache/lastCache.txt
+++ b/cache/lastCache.txt
@@ -1 +1 @@
-1538862654
\ No newline at end of file
+1540917193
\ No newline at end of file
diff --git a/content/00-Welcome/00-Write-Content.md b/content/00-Welcome/00-Write-Content.md
new file mode 100644
index 0000000..0e62a2e
--- /dev/null
+++ b/content/00-Welcome/00-Write-Content.md
@@ -0,0 +1,30 @@
+# Write Content
+
+Typemill is a simple Flat File Content Management System (CMS). We work hard to provide the best author experience with easy and intuitive authoring tools. But Typemill is still in early development and it is likely that not everything will work perfectly out of the box. If you miss something or if you have ideas for improvement, then let me know via mail (trendschau@gmail.com) or via [GitHub](https://github.com/trendschau/typemill/issues).
+
+## The Navigation
+
+You can create, structure and reorder all pages with the navigation on the left. To structure your content, you can create new folders and files with the "add item" button. To reorder the pages, just drag an item and drop it wherever you want. Play around with it and you will notice, that it works pretty similar to the folder- and file-system of your laptop. And in fact, this is exactly what Typemill does in the background: It stores your content in files and folders on the server.
+
+However, there are some limitations when you try to reorder elements, for example, you cannot move a complete folder to another folder. Click on the question-mark at the top of the navigation for detailed informations.
+
+## The Editor
+
+You can create and format your content with the Markdown syntax, that is similar to the markup syntax of wikipedia. If you are not familiar with Markdown, then please read the short [Markdown-tutorial](https://typemill.net/) in the documentation of Typemill. You can learn Markdown in less than 10 minutes and there is no easier and faster way to format your webpage. You will love it!
+
+Typemill provides two edit modes: The **raw mode** and the **visual mode**. You can switch between the modes in the publish-bar at the bottom of each page. The **raw mode** is the most robust way to create your content, because you write raw markdown into a simple input area. The **visual mode** is experimental right now. It uses blocks and transforms each content block into a html-preview immediately, so that you can directly see the formatted result.
+
+By default Typemill will use the raw mode. But you can change this behavior in the system settings and use the visual editor as default mode.
+
+## The Publish Bar
+
+The publish bar of Typemill is pretty intuitiv and sticks at the bottom of the screen so that you have always full control of the status of each page. Simply play around with it and you will quickly understand how it works. In short:
+
+* The green button "online" indicates, that your page is published and visible for your readers.
+* You can depublish a page by clicking the green button. The button turns grey with the label "offline" then.
+* With the red button "Publish" you can publish either a page that is offline or you can publish still unpublished changes.
+* The publish-button is grey, if the page is online and if there are no unpublished changes.
+* With the red button "Save Draft" you can safe a draft. You can also work on a draft as long as you want while the old version of the page is still online.
+* All buttons will change in real time, so you can always exactly see what is going on.
+* To provide an easy status-overview of the whole website, Typemill marks all unpublished pages or changes red in the navigation on the left side.
+
diff --git a/content/00-Welcome/01-Get-Help.md b/content/00-Welcome/01-Get-Help.md
new file mode 100644
index 0000000..f509b65
--- /dev/null
+++ b/content/00-Welcome/01-Get-Help.md
@@ -0,0 +1,10 @@
+Get Help
+
+If you need any help, then please read the [documentation on typemill.net](https://typemill.net/typemill) first. Some short video-tutorials are in work right now.
+
+If you found a bug or if you have a question, then please open a new issue on [GitHub](https://github.com/trendschau/typemill/issues).
+
+Typemill is open source and a one man project right now, so please understand that I cannot provide individual support.
+
+Contributions, donations and feedbacks are always welcome.
+
diff --git a/content/00-Welcome/index.txt b/content/00-Welcome/index.txt
new file mode 100644
index 0000000..9cacf8b
--- /dev/null
+++ b/content/00-Welcome/index.txt
@@ -0,0 +1 @@
+["# Welcome to Typemill","Great that you give Typemill a try!! Typemill is a small open source cms and a project in work. You will probably miss some important features, but I am working hard to add everything that is needed for a really productive little writing-system.","Before you start, please read the short introduction about \"writing content\". Or simply play around, I hope that Typemill is already quite intuitive to use..."]
\ No newline at end of file
diff --git a/content/00-typemill/00-use-cases.md b/content/00-typemill/00-use-cases.md
deleted file mode 100644
index 2279246..0000000
--- a/content/00-typemill/00-use-cases.md
+++ /dev/null
@@ -1,21 +0,0 @@
-# Use Cases
-
-Whenever you want to publish a finished text work as a website and if you like writing with Markdown, then TYPEMILL is a smart and lightweight solution. Possible use cases are …
-
-- a documentation
-- a manual
-- a user guide
-- a whitepaper
-- a handbook
-- a tutorial
-- a study
-- a book
-- a drama
-- a lyric collection
-- a collection of articles
-
-If you want to create a blog, a wiki or a classic corporate website, please use a specialized CMS for that instead of TYPEMILL.
-
-TYPEMILL is under heavy developement and not finished right now. It has an admin panel for settings and a basic editor for existing content. More options like create new pages and manage your media-files will be added step by step in the next weeks. Also different output formats like mobi and ePup are on the roadmap, so stay tuned.
-
-For now, you have to use a FTP-software like FileZilla until all basic editing features are ready. Check the roadmap for more informations.
\ No newline at end of file
diff --git a/content/00-typemill/01-roadmap.md b/content/00-typemill/01-roadmap.md
deleted file mode 100644
index 61bcb78..0000000
--- a/content/00-typemill/01-roadmap.md
+++ /dev/null
@@ -1,33 +0,0 @@
-# Roadmap
-
-There are a lot of plans for future releases of TYPEMILL, but it also follows the concept of simplicity. To prevent TYPEMILL from becomming a feature soup, it will strictly focus on the writers needs.
-
-Here are some **milestones** of the past:
-
-- Introduction of TYPEMILL (v. 1.0.0)
-- Added a google sitemap (v. 1.0.1)
-- Added a table of contents tag (TOC) (v. 1.0.5)
-- Introduced plugins (v. 1.1.0)
-- Added an author panel for configurations (v. 1.1.3)
-- Added math support (mathjax/katex) (v. 1.1.5)
-- Added a basic content editor to edit and delete existing pages (v. 1.2.0)
-- Added a draft management for pages (v. 1.2.2)
-- Re-order content pages with drag&drop (v. 1.2.3)
-- Editor: Create new pages (v. 1.2.5)
-
-And here is the **roadmap** for this year (2018):
-
-- Editor: Basic WYSIWYG-Preview for markdown blocks (v. 1.2.6)
-- Editor: Manage images and assets (v. 1.2.7)
-- Editor: Edit meta-information (v. 1.2.8)
-- Editor: Add formatting options (v. 1.3.0)
-- Editor: Create the best author- and writing experience you have ever seen (1.4.0)
-
-Other features with lower prio:
-
-- Create additional output formats like mobi, epub and pdf.
-- Create a clean API.
-- More themes for special publications like documentations, books or lyrics.
-- Create many useful plugins.
-
-If you miss a feature or if you found a bug, please report it on [GitHub](https://github.com/trendschau/typemill).
\ No newline at end of file
diff --git a/content/00-typemill/02-features.md b/content/00-typemill/02-features.md
deleted file mode 100644
index 6b79a3b..0000000
--- a/content/00-typemill/02-features.md
+++ /dev/null
@@ -1,25 +0,0 @@
-# Features
-
-TYPEMILL has a limited set of features right now. It transforms a bunch of **markdown files** into a **website** and generates a list of contents for **navigation**.
-
-This is what you can **do with TYPEMILL**:
-
-- Create a website with simple files and folders.
-- Use markdown for your content files.
-- Use an admin panel to configure your site.
-- Use the content editor to create, edit and reorder pages.
-- Choose themes.
-- Activate plugins. Check the [list of plugins](/writers/plugins) for that.
-- Create your own theme with HTML, CSS and Twig (a template language for PHP).
-- Create your own plugins with PHP.
-
-This is, what **TYPEMILL does** for you:
-
-- It creates a website based on your files and folders.
-- It generates a navigation according to the structure of your files and folders.
-- It adds a paging for navigation.
-- It adds a breadcrumb for navigation.
-- It adds hierarchic numbers to your chapters and pages.
-- It generates a google sitemap, a last modified date and much more.
-
-Right now there is only a simple content editor to create, edit and reorder pages. There is no media management yet, so you have to upload images and media files with an FTP software like FileZilla for now.
\ No newline at end of file
diff --git a/content/00-typemill/index.md b/content/00-typemill/index.md
deleted file mode 100644
index 9b57e2a..0000000
--- a/content/00-typemill/index.md
+++ /dev/null
@@ -1,7 +0,0 @@
-# Typemill
-
-TYPEMILL is a simple flat file CMS to create a website like this. It transforms a bunch of **text files** (Markdown) into a **website** and generates a **navigation**.
-
-TYPEMILL is under construction. Right now it provides only a very basic editor and a simple admin area for settings, plugins and themes. The author-experience will be improved step by step and output formats for e-books like mobi and epub are planned for the future.
-
-If you are a developer, you can already create your own themes and your own plugins.
\ No newline at end of file
diff --git a/content/01-getting-started/00-system-requirements.md b/content/01-getting-started/00-system-requirements.md
deleted file mode 100644
index 9387d1e..0000000
--- a/content/01-getting-started/00-system-requirements.md
+++ /dev/null
@@ -1,25 +0,0 @@
-# System Requirements
-
-TYPEMILL is a modern and lightweight software with nearly no requirements. All you need is:
-
-- **A webserver (Apache)** (to host TYPEMILL)
-- **PHP 7.0+** (to run TYPEMILL)
-- **FTP** (to upload your images and media files)
-
-What you don't need:
-
-- **A lot of space** (TYPEMILL is lightweight with less than 5MBs)
-- **A database** (TYPEMILL uses files, not a database)
-- **Technical skills** (TYPEMILL is easy to use for non-technical people)
-
-Almost any hosting package provides a webserver with php. If you ever hosted your own website, then chances are high, that you can run TYPEMILL there without any problems.
-
-Typemill supports the following browsers:
-
-- Firefox (heavily tested)
-- Chrome (tested)
-- Edge (basic tests)
-- IE11 (basic tests)
-- Safari (not tested)
-
-I use Firefox and XAMPP for development. If you use another stack like Safari / OS, then try it, but I have no possibility to test or fix it.
\ No newline at end of file
diff --git a/content/01-getting-started/01-installation.md b/content/01-getting-started/01-installation.md
deleted file mode 100644
index 35f5ce2..0000000
--- a/content/01-getting-started/01-installation.md
+++ /dev/null
@@ -1,61 +0,0 @@
-# Installation
-
-The installation of TYPEMILL is as simple as that:
-
-- Go to [typemill.net](http://www.typemill.net) and download the TYPEMILL files.
-- Upload the files to your server.
-- Go to `www.your-typemill-website.com/setup` and create an initial user.
-- Login and configure your system, your themes and your plugins.
-
-Don't forget to make some folders and files writable (set permission to `774`):
-
-- `\cache` folder and files
-- `\settings` folder and files
-- `\content` folder and files
-
-All settings and users are stored in the folder `settings`. You can manually edit these files, but it is not recommended because it might crash the system if done wrong.
-
-You can configure your system online, but there is only a simple editor to change existing content right now. So for time beeing, you have to create new content offline with a markdown editor and upload the files with an FTP software. If your changes are not immediately visible, press `F5` to refresh the cache.
-
-If you need more detailed instructions, please read on.
-
-## Download
-
-There are two ways to copy TYPEMILL to your local computer:
-
-1. Go to [typemill.net](http://www.typemill.net), download the zip-archive and unzip it.
-2. **Or** use GitHub and Composer.
-
-If you use GitHub, then you can find the repository of TYPEMILL on [github/trendschau/typemill](https://github/trendschau/typemill). Just open the command line (git-CLI) and type
-
-````
-git clone "https://github.com/trendschau/typemill.git"
-````
-
-TYPEMILL uses some nice frameworks and libraries, which can be found in the folder `\system\vendor`. This folder is not included in the git version. If you use the git version, you have to download all the libraries (dependencies) with composer. If you don't have composer installed yet, head over to the [composer website](https://getcomposer.org/) and install it. After that, open your command line, go to your TYPEMILL folder and type:
-
-````
-composer update
-````
-
-The exact command might vary depending on your local composer installation and configuration. If you face any problems, please check the documentation of composer.
-
-That's it!
-
-## Permissions
-
-The following three folders and all files and folders inside must be writable:
-
-- `\cache`
-- `\settings`
-- `\content`
-
-To make the folders and files writable, use your ftp programm, click on the folder, choose `permissions` and change the permission to `744`. Use the recursive permission for all containing files and folders. If `744` does not work, try `774`.
-
-## htaccess
-
-If you run your website with https (recommended) or if you want to redirect www-urls to non-www urls, then please check the htaccess file in the root folder. There are several use cases already prepared and you can simply uncomment them, if needed.
-
-## Run Locally
-
-If you are a developer and if you want to run TYPEMILL locally, then simply download TYPEMILL (zip or git) and visit your local folder like `localhost/typemill`. No additional work is required.
\ No newline at end of file
diff --git a/content/01-getting-started/02-settings.md b/content/01-getting-started/02-settings.md
deleted file mode 100644
index 8f4f131..0000000
--- a/content/01-getting-started/02-settings.md
+++ /dev/null
@@ -1,21 +0,0 @@
-# Settings
-
-As of Version 1.1.3 you can edit all settings in the new author panel of TYPEMILL. Just visit the url `yourwebsite.com/tm/login` and go to settings after the login. There you can edit:
-
-* The system (basic settings).
-* Themes (choose themes and configure it).
-* Plugins (activate plugins and configure them).
-* Users (create, update and delete).
-
-All settings are stored in the `\settings` folder of TYPEMILL. It is not recommended to edit the settings manually, because it might crash the system if done wrong.
-
-## Advanced Settings
-
-There are some settings that are not available via the author panel. Most of them are not really useful, but if you are a developer and if you develop a theme or a plugin locally, you probably want to display a detailed error report. To do so, simply add the following line to the settings.yaml:
-
-
-````
-displayErrorDetails: true
-````
-
-Don't forget to set it back to `false` before you deploy the website live. It is not secure to show the world your internal errors and many hosters will turn off all public error reports by default.
\ No newline at end of file
diff --git a/content/01-getting-started/03-update.md b/content/01-getting-started/03-update.md
deleted file mode 100644
index 5272d2f..0000000
--- a/content/01-getting-started/03-update.md
+++ /dev/null
@@ -1,41 +0,0 @@
-# Update
-
-If your TYPEMILL version or any plugin or theme is not up to date, you will find individual update banners in the author panel.
-
-## Simple Update
-
-To update your TYPEMILL version, simply download the latest version of TYPEMILL on [the TYPEMILL website](http://typemill.net). Then delete the old `system` folder on your server and upload the new system folder. All other files and folders can usually stay untouched.
-
-After you updated your installation, please login to your website and check the settings. Sometimes, there are additional features that you can find there.
-
-## Major Update
-
-TYPEMILL is in early stage and there are a lot of basic changes right now. When there are basic changes, then you should update the whole installation like this:
-
-* Backup your settings folder
-* Keep your content folder
-* Delete everything else:
- * cache
- * plugins
- * settings
- * system
- * themes
-* Upload the new folders
-* Go to `your-typemill-website.com/setup` and create a new user.
-* Setup your website again in the author panel.
-
-In many cases you can also use your old settings folder, so it is highly recommended to create a backup and test it. But sometimes, the new version requires a new setup of the system, so if you want to do it the clean way, just start and setup your system again.
-
-## GitHub and Composer
-
-If you work with GitHub and Composer, then make sure that you **always** make a `composer update` after you uploaded the new system-folder from GitHub. This is essential, because the GitHub-folder does NOT include the vendor folder with all the dependencies that TYPEMILL uses. If you don't update these dependencies with composer, then the system will not run.
-
-If you download the TYPEMILL from http://typemill.net, then you don't have to worry about this, because the vendor folder with all dependencies is included there.
-
-We decided to skip the vendor folder in the GitHub version because it constantly caused errors due to some missing libraries.
-
-## Old Settings File
-
-Please do not rename or leave the old settings file in the settings folder, because any files in that folder will cause errors and problems. Instead, backup your old settings file in another folder or on your local machine.
-
-If it is only a minor update, you can leave your settings folder untouched and change everything in the author-panel after the update.
\ No newline at end of file
diff --git a/content/01-getting-started/index.md b/content/01-getting-started/index.md
deleted file mode 100644
index 147b7d5..0000000
--- a/content/01-getting-started/index.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# Getting Started
-
-Simply download TYPEMILL and immediately start publishing. TYPEMILL runs with **php7+** on most webservers. **No database** or any other additional technology is required.
\ No newline at end of file
diff --git a/content/02-for-writers/00-quick start.md b/content/02-for-writers/00-quick start.md
deleted file mode 100644
index 56359f7..0000000
--- a/content/02-for-writers/00-quick start.md
+++ /dev/null
@@ -1,15 +0,0 @@
-# Quick Start for Writers
-
-In earlier versions of Typemill authors had to create content files with an offline Markdown editor and upload the files to the server. Since Typemill provides an online editor to create, reorder and edit content pages, a separate offline editor is not needed anymore.
-
-However, if you still want to use your favourite Markdown editor to create your content files, then please follow this rules:
-
-- **Setup**: Login to your system and setup the system, the themes and the plugins in the author panel.
-- **Content**: Organize your content in folders and markdown files and put them in the `\content` folder of TYPEMILL.
-- **Markdown**: Use the Markdown syntax for your content files. Markdown Extra (e.g. tables, footnotes) is supported, too.
-- **Naming conventions**: Use prefixes like `01-` or `aa_` to sort your folders and files.
-- **Index files**: Add an `index.md` file to a folder to create content for the folder itself.
-- **F5**: After some changes, use the `F5` key to refresh the navigation manually.
-- **Lean back** and let TYPEMILL create a nice website for you.
-
-TYPEMILL ships with this user manual in the content folder. Check how the files are written and how the folders are organized.
\ No newline at end of file
diff --git a/content/02-for-writers/01-author panel.md b/content/02-for-writers/01-author panel.md
deleted file mode 100644
index fe81650..0000000
--- a/content/02-for-writers/01-author panel.md
+++ /dev/null
@@ -1,35 +0,0 @@
-# The Author Panel
-
-You can login to the author panel with this url:
-
-````
-https://yourwebsite.net/tm/login
-````
-
-You can also use the url `https://yourwebsite.net/setup` that redirects to the login screen.
-
-## The Content Editor
-
-In the **content area** of the author panel you can:
-
-* Navigate through your existing content.
-* Create new pages.
-* Edit existing pages with markdown syntax.
-* Re-order existing pages with simple drag&drop.
-* Save drafts, publish pages, unpublish pages and delete pages.
-
-There are several **limitations** right now:
-
-* You cannot use HTML, JavaScript or any other code in the editor, only markdown-syntax is allowed.
-* There is no media-management right now.
-
-The content editor has highest priority in the roadmap, so you can expect a lot of improvements in the next weeks.
-
-## Settings, Themes and Plugins
-
-In the **settings area** of the author panel you can:
-
-* Configure your **system**.
-* Choose and configure a **theme**.
-* Activate and configure **plugins**.
-* Manage **users**.
\ No newline at end of file
diff --git a/content/02-for-writers/02-naming files and folders.md b/content/02-for-writers/02-naming files and folders.md
deleted file mode 100644
index 4990791..0000000
--- a/content/02-for-writers/02-naming files and folders.md
+++ /dev/null
@@ -1,24 +0,0 @@
-# Naming your Files and Folders
-
-Naming conventions are not very relevant anymore since you can create new pages online with the author panel right now. If you still want to create your content offline, then please follow the rules below.
-
-To create a clean website with TYPEMILL, you have to follow some naming conventions for your files and folders. A typcial structure for folders and file looks like this:
-
-````
-/01_content_folder
- 01_markdown_file.md
- 02_another_markdown_file.md
- index.md
-/02_another_folder
- 01_another_content_file.md
-````
-
-The rules are simple:
-
-- **Keep it short**: The names of the files and folders are used to create the navigation, so it is essential to keep them really short and descriptive!!
-- **Use prefixes**: Please use some kind of sorting-prefix for your files and folders. You can use numbers `01-` or letters `aa-`. The part before the first separator (the prefix) is striped out by TYPEMILL.
-- **Use Separators**: Please use separators like dashes `-` or underscores `_` to separate words or prefixes in your file names and folder names. **Do not use space**!!!
-- **Use index.md**: TYPEMILL creates websites for the folders and users can click on folder-names exactly like they click on file-names in the navigation. Folder pages are empty by default, but you can use a file named `index.md` to create content for the folder page.
-- **Avoid Language Specific Characters**: As of version 1.0.5 the character encoding has been improved, but it is still not perfect. You can try to use german, french or other character sets to name your files and folders. But if you see some errors in the navigation of the website, please use english characters instead. In the content files itself you can use all character sets of course.
-
-When you name your files and folders, then always keep in mind, that the names are used to generate the navigation and the table of contents. So keep it short. Otherwise it might break the layout and the design.
\ No newline at end of file
diff --git a/content/02-for-writers/03-folder structure.md b/content/02-for-writers/03-folder structure.md
deleted file mode 100644
index a83a863..0000000
--- a/content/02-for-writers/03-folder structure.md
+++ /dev/null
@@ -1,5 +0,0 @@
-# Folder Structure
-
-You can create any kind of folder structure with TYPEMILL, as long as you follow the naming conventions for folders and files.
-
-However, if you create a very deep structure, then it might result in an odd design or even in usability errors. Similar to real live, it is always a good idea to keep the hierarchy as flat as possible.
\ No newline at end of file
diff --git a/content/02-for-writers/04-mardown.md b/content/02-for-writers/04-mardown.md
deleted file mode 100644
index 6f696ea..0000000
--- a/content/02-for-writers/04-mardown.md
+++ /dev/null
@@ -1,63 +0,0 @@
-# Markdown
-
-Never heard of Markdown? Markdown is a simple syntax for text formatting and very similar to the markup used by wikipedia. Markdown uses a handful special characters like `#` of `*` to format the text.
-
-The big advantage for writers: They don't have to click a button to format a headline or to create a list. Instead they can format the text during the writing process without an interruption. Once you are familiar with the syntax, you can write cleaner and faster than with any common HTML editor. For a quick start with many examples, read the [markdown reference page](/info/markdown-test).
-
-## Markdown Example
-
-This is a short example for a markdown text:
-
-````
-# My first level headline
-
-This is a paragraph and now we create an unordered list:
-
-- Item
-- Another item
-- A last item
-````
-
-From a technical point of view, markdown is cleaner, shorter and safer than HTML. At the same time, markdown can be transformed to clean HTML easily. This is why markdown is used by a lot of technology platforms like GitHub or StackOverflow. And Markdown is also entering the non technical mainstream. The press releases of dpa are written in Markdown, for example.
-
-## Markdown Quick Reference
-
-This is a quick reference table. For a detailed reference with examples, please check the [markdown reference page](/info/markdown-test).
-
-| Markdown | Result |
-| ------------------------------------------------------------ | --------------------------------------- |
-| `[TOC]` | Table of content |
-| `#` | Headline first level |
-| `######` | Headline sixth level |
-| simple text | Paragraph |
-| `_italic_` | Italic text |
-| `*italic*` | Italic text |
-| `__bold__` | Bold text |
-| `**bold**` | Bold text |
-| `- list item` | Unordered list |
-| `* list item` | Unordered list |
-| `5. ordered list` | Ordered list (use any number you want). |
-| `---` | Horizontal rule |
-| `[link text](http://typemill.net)` | Link |
-| `` | Image |
-| `> interesting quote` | Blockquote |
-| `footnote[^1]` `[^1]:footnote text` | Footnote |
-| `*[HTML]:Hyper Text Markup Language` | Abbreviation |
-| `Apple` `: Green thingy growing on trees` | Definition list |
-| `|name |usage |` `|-----------|-----------|` `| My Name | For Me |` | Table |
-| ` | Inline code |
-| `` | Inline math expression |
-| ``` | Code block |
-| ```latex | Math block |
-
-
-
-
-
-## Write Markdown with TYPEMILL
-
-An online editor for TYPEMILL is on its way, but for time beeing, you have to create your markdown text-files offline and upload them with your favourite FTP software.
-
-You can create markdown-files with any kind of text editor. Simply create a file with the ending `.md`. You can use any code editor, a simple text editor like the standard "editor" of Microsoft, or you can use a special markdown editor like Typora. Typora is a very clean WYSIWYG-editor that is specialized on distraction free text creation.
-
-For a quick reference and examples for all markdown formats you can head over to the [markdown reference page](/info/markdown-test).
diff --git a/content/02-for-writers/05-google sitemap.md b/content/02-for-writers/05-google sitemap.md
deleted file mode 100644
index a2e788c..0000000
--- a/content/02-for-writers/05-google sitemap.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# Google Sitemap
-
-As of version 1.0.1, TYPEMILL creates a google sitemap in the cache folder. You can find the url for the sitemap in the system settings (basically it is something like `https://yourwebsite.net/cache/sitemap.xml`). Simply add the url to the google search console and you are donw. The sitemap will update once a day. You can also trigger a manual update with the F5 key (Windows) that refreshs the cache of your browser and the cache of TYPEMILL.
\ No newline at end of file
diff --git a/content/02-for-writers/06-themes.md b/content/02-for-writers/06-themes.md
deleted file mode 100644
index 3ede696..0000000
--- a/content/02-for-writers/06-themes.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# Themes
-
-TYPEMILL ships with the standard theme called "Typemill". Typemill is a univeral theme the fits for documentations as well as for any other kind of text-work. There are plans to add a lot more themes for specific need s in the future.
-
-You can configure the theme in the settings of the author panel. You will see an update banner, if there is a new version of the theme available.
-
-To update a theme, simply go to the theme folder of your typemill installation, delete the old folder of your theme (e.g. `/typemill`) and upload the new folder.
-
-If you are a developer or web-designer, you can easily create your own theme with the template language Twig. Please read the [theme documentation](/theme-developers) for more details.
\ No newline at end of file
diff --git a/content/02-for-writers/07-plugins.md b/content/02-for-writers/07-plugins.md
deleted file mode 100644
index 7920104..0000000
--- a/content/02-for-writers/07-plugins.md
+++ /dev/null
@@ -1,16 +0,0 @@
-# Plugins
-
-As of version 1.1.0, TYPEMILL supports plugins. You can activate and configure all plugins in the author panel of TYPEMILL. You will see a small update banner if there exists a new version of the plugin.
-
-To update a plugin, simply go to the plugin folder of TYPEMILL, delete the plugin and upload the new version of the plugin. Then check the plugin configuration in the settings of the author panel.
-
-Right now all plugins are delivered with the core version of TYPEMILL. But as the number of plugins grows, there will probably be a central place to download and install the plugins in the future.
-
-The core version ships with the following plugins:
-
-* **Cookie Consent**: Adds a cookie consent banner to your website.
-* **Analytics**: Adds Matomo (Piwik) or Google Analytics to your website.
-* **Highlight**: Highlights code in code-blocks (useful for developers).
-* **Math**: Write math with markdown and MathJax or KaTeX. Check the [markdown reference page](/info/markdown-test).
-
-If you are a developer and if you want to create your own plugins, please refer to the [plugin documentation](/plugin-developers).
diff --git a/content/02-for-writers/08-forgot password.md b/content/02-for-writers/08-forgot password.md
deleted file mode 100644
index 2b66e01..0000000
--- a/content/02-for-writers/08-forgot password.md
+++ /dev/null
@@ -1,21 +0,0 @@
-# Lost Your Password?
-
-TYPEMILL does not provide a password recovery, but there are two ways to create a new password.
-
-## Is there another admin?
-
-If there is another user with admin rights, then contact him. He can delete your user, create a new one and tell you the new password. Change the password immediately after login.
-
-## No other admin?
-
-If you are the only admin user, then please follow these steps:
-
-* Connect to your website (e.g. via FTP).
-* Go to the folder `/settings` and backup the file `settings.yaml`.
-* Then delete the file `settings.yaml` on your server.
-* Go to `yoursite.com/setup`.
-* Fill out the form. This will create a new admin user and a fresh settings-file.
-* Upload your old settings-file, so your old settings are active again.
-* If not done before e.g. via FTP, delete the old admin-user in the user management now.
-
-It might look a bit uncomfortable but it makes sure, that you are the owner of the website.
\ No newline at end of file
diff --git a/content/02-for-writers/index.md b/content/02-for-writers/index.md
deleted file mode 100644
index f9f8f39..0000000
--- a/content/02-for-writers/index.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# Hello Writers!
-
-If you love **simple text files** (Markdown) and if you like **distraction free websites** without fiddly technology, then TYPEMILL is for you!
\ No newline at end of file
diff --git a/content/03-for-theme-developers/00-quick start.md b/content/03-for-theme-developers/00-quick start.md
deleted file mode 100644
index a1db029..0000000
--- a/content/03-for-theme-developers/00-quick start.md
+++ /dev/null
@@ -1,113 +0,0 @@
-# Quick Start for Theme-Developers
-
-You are a professional web developer and don't want to read the whole documentation? No problem, this is all you need to know to create your own theme for TYPEMILL.
-
-## Theme Folder
-
-You will find all themes in the `theme` folder of TYPEMILL. You can add a new folder for your theme there. The name of your folder is the name of your theme.
-
-## Change Theme
-
-You can choose the theme in author panel of TYPEMILL.
-
-## Theme Structure
-
-There is no theme structure. There are only two files that are required:
-
-- `index.twig`: All content files will be rendered with this template.
-- `404.twig`: This is the template for a not found message.
-
-There is another optional template:
-
-- `cover.twig`: Use this name to create a template for a special startpage with a different design.
-
-There are two other files that are optional, but it is strongly recommended to add them:
-
-* `themeName.jpg`: A preview picture of your theme with a minimal width of 800px;
-* `themeName.yaml`: A configuration file with the version, the author name, licence and other informations.
-
-It is always a good idea to structure your files a bit more. For example, you can create a folder called `partials` with separate files for different layouts (maybe a folder and file layout?), a navigation, a header, a footer or whatever you want. But this decision is completely up to you. The same with CSS, JavaScript and other ressources: It is a good practice to create separate folders for that, but it is up to you.
-
-## Theme-YAML
-
-The `themeName.yaml` must have the same name as your theme folder. A basic file looks like this:
-
-````
-name: My Theme Name
-version: 1.0.0
-description: Write what you want
-author: Your name here
-homepage: http://an-info-website-for-the-theme.com
-licence: MIT
-````
-
-You can also add settings for your themesi in the YAML-file like this:
-
-````
-settings:
- chapter: Chapter
- start: Start
-````
-
-The settings are automatically merged with all other TYPEMILL settings and are available on all pages, so you can access your theme variables like this:
-
-````
-{{ settings.themes.typemill.chapter }} // prints out "Chapter".
-````
-
-Finally you can make your theme variables editable for the user in the author panel. Just add a form definition in your yaml like this:
-
-````
-forms:
- fields:
-
- chapter:
- type: text
- label: chapter
- placeholder: Add Name for Chapter
- required: true
-
- start:
- type: text
- label: Start-Button
- placeholder: Add Label for Start-Button
- required: true
-````
-
-This will create input forms in the author panel. The input forms will be prefilled with the settings-values of your YAML-file.
-
-## Twig
-
-TYPEMILL uses Twig as a template language. You are probably familiar with it. If not: Twig is a widespread template language, that is very easy to learn. It is shorter and safer to use than pure PHP.
-
-## Template Variables
-
-There are exactly six template variables to fill your templates with dynamic content:
-
-- `navigation`: This variable is a multidimensional array of objects. Each object represents a file or a folder. You can use this variable to create a navigation with a Twig-macro. A macro in Twig is the same as a recursive function in PHP.
-- `item`: This variable is an object of the actual page. It contains all the details like the name, the url, the path, the chapter as well as the next and the previous items for a pagination. And guess what? The `navigation` variable mentioned above is just an array, that holds many of these item-objects.
-- `content`: This variable holds the HTML content of the markdown file. Just print it out.
-- `description`: This are the first lines of the content of a page. You can use this for the meta description.
-
-
-- `breadcrumb`: This variable is an one dimensional array. It contains the breadcrumb of the page. Just use a loop like `{% for element in breadcrumb %}` to print it out.
-- `settings`: In this variable you will find all the settings like the navigation-title, the author, the theme, the theme variables or the copyright.
-
-You can print out each variable with the twig-tag `{{ dump(navigation) }}` and inspect the content. This is probably the easiest way to familiarize with the possibilities for themes.
-
-## Asset Tags
-
-Plugin-developers want to add their own CSS and JavaScript to your theme. You should enable plugin-developers to do so with two Twig-tags:
-
-* `{{ assets.renderCSS() }}`: Put this before the closing ``-tag of your theme.
-* `{{ assets.renderJS() }}`: Put this before the closing `
`-tag of your theme.
-
-## Content-Styling
-
-If you create a theme, make sure that all content types (headlines, paragraphs, tables) are styled properly. You can use the [markdown-test-page](/info/markdown-test) to check the styling of all content-elements.
-
-## Read more
-
-If you are not ready to start with these information, then please read the full developer manual. In less than one hour you can develop your own themes for TYPEMILL like a pro.
-
-Happy coding!
\ No newline at end of file
diff --git a/content/03-for-theme-developers/01-theme structure.md b/content/03-for-theme-developers/01-theme structure.md
deleted file mode 100644
index 2e68ddb..0000000
--- a/content/03-for-theme-developers/01-theme structure.md
+++ /dev/null
@@ -1,51 +0,0 @@
-# Theme Structure
-
-TYPEMILL requires a minimal structure and a small set of mandatory files:
-
-````
-/myTheme
-- 404.twig
-- index.twig
-- cover.twig
-- myTheme.jpg
-- myTheme.yaml
-````
-
-Some Details:
-
-- **/myTheme**: A theme folder. The name of the folder is the name of the theme.
-- **404.twig**: The template for a not found page. It is mandatory.
-- **index.twig**: The template for all other pages. It is mandatory.
-- **cover.twig**: The template for a different startpage-design. It is optional.
-- **myTheme.jpg**: A preview picture of your theme. It is mandatory. The file must be named exactly like the theme folder. Minimum width is 800px.
-- **myTheme.yaml**: A configuration file for your theme with author, version number and others. This is not mandatory, but highly recommended. The file must be named exactly like the theme folder.
-
-That's it.
-
-## Recommendation
-
-If you want to create a more complex structure, then you can do whatever you want, as long as you follow the basic structure and conventions described above.
-
-However, if you don't have an idea how to start, then you can follow this example:
-
-- `/css`
- - style.css
- - another.css
-- `/js`
- - javascript.js
-- `/img`
- - icon.png
- - favicon.ico
- - themeLogo.jpg
-- `/partials`
- - `layoutStart.twig`: Layout for the static startpage, usually with the html-head, a page structure and other stuff.
- - `layout.twig`: Layout for all other pages, usually with the html-head, a page structure and other stuff.
- - `navigation.twig`: The content-navigation of the page. include this into your layouts.
- - `header.twig`: The head-area of your page. Include this into your layouts.
- - `footer.twig`: The footer-area of your page. Include this into your layouts.
-- `cover.twig`: Template with the content for an individual startpage. The cover.twig extends the layoutStart.twig.
-- `index.twig`: Template for all other pages. The index.twig extends the layout.twig
-- `404.twig`: Template for the not found page. The 404.twig extends the layout.twig.
-- `themeName.yaml`: The meta-information with version, author name and other stuff.
-
-In Twig, you can include and extend templates and create a template hierarchy. Read the twig-chapter to understand how this works.
\ No newline at end of file
diff --git a/content/03-for-theme-developers/02-theme meta.md b/content/03-for-theme-developers/02-theme meta.md
deleted file mode 100644
index 229e0f9..0000000
--- a/content/03-for-theme-developers/02-theme meta.md
+++ /dev/null
@@ -1,100 +0,0 @@
-# Theme Meta with YAML
-
-It is highly recommendet to add some meta-information to your theme. This is quickly done with a small YAML-file. The YAML-file must have the same name as your theme folder. The YAML-file has up to three parts and is used for this:
-
-* Display basic informations in the author-panel and generate update notifications.
-* Use settings (variables) for your theme if you want.
-* Let users edit the settings and customize the theme in the author-panel.
-
-## Add Basic Informations
-
-The basic informations in the YAML-file look like this:
-
-```
-name: My Theme Name
-version: 1.0.0
-description: Write what you want
-author: Your name here
-homepage: http://an-info-website-for-the-theme.com
-licence: MIT
-```
-
-As you can see the YAML-syntax is simple and readable even for non-technicians. Inside TYPEMILL the YAML-files are converted to one-dimensional or multi-dimensional arrays, so you can think about YAML as a simplified array language, if that helps.
-
-## Use Settings
-
-Sometimes you want to use variables in your theme, for example to change the text of a button. With YAML you can easily do this: Just create a new block that starts with `settings` and write all your settings as simple key-value-pairs. Indent them with two spaces like this:
-
-```
-settings:
- chapter: Chapter
- start: Start
-```
-
-The settings are automatically merged with all other TYPEMILL settings and are available in your themes with a simple Twig tag like this:
-
-```
-{{ settings.themes.typemill.chapter }} // prints out "Chapter".
-```
-
-Replace `typemill` with the name of your theme like this:
-
-````
-{{ settings.themes.mytheme.chapter }}
-````
-
-## Make Settings Editable
-
-Finally you can make your theme variables editable for the user in the author panel. To do this, just add another block that starts with `forms` and `fields`. After that, you can define a wide range of input fields with YAML. It starts with the name of the field followed by the field definition.
-
-```
-forms:
- fields:
-
- chapter:
- type: text
- label: chapter
- placeholder: Add Name for Chapter
- required: true
-
- start:
- type: text
- label: Start-Button
- placeholder: Add Label for Start-Button
- required: true
-```
-
-TYPEMILL will use these definitions and generate input fields for the author panel on the fly, so that the user can edit the values and customize the theme. If you have defined settings with the same name as the field name (e.g. `chapter`), then the input field in the author panel will automatically be prefilled with your settings from the YAML-file.
-
-If you have a lot of fields, you can even group some fields together in a fieldset like this:
-
-````
-forms:
- fields:
-
- chapter:
- type: text
- label: chapter
- placeholder: Add Name for Chapter
- required: true
-
- MyFirstfieldset:
- type: fieldset
- legend: Last Modified
- fields:
-
- modified:
- type: checkbox
- label: Activate Last Modified
- description: Show last modified date at the end of each page?
-
- modifiedText:
- type: text
- label: Last Modified Text
- placeholder: Last Updated
-
-````
-
-The fields `modified` and `modifiedText` will then be grouped in a fieldset with the legend `Last Modified`.
-
-If you read the YAML-definition for input fields carefully, then you will notice that the definitions are pretty similar to HTML: You simply define types and attributes like input-type, labels and placeholders. Nearly all valid field-types and field attributes are supported. You can find a detailed list in the [documentation for plugins](/plugin-developers/documentation/field-overview).
\ No newline at end of file
diff --git a/content/03-for-theme-developers/03-asset tags.md b/content/03-for-theme-developers/03-asset tags.md
deleted file mode 100644
index cf033d8..0000000
--- a/content/03-for-theme-developers/03-asset tags.md
+++ /dev/null
@@ -1,44 +0,0 @@
-# Asset Tags
-
-Sometimes, a plugin wants to add some CSS and JavaScript to your theme. For example, the cookieconsent-plugin. It adds a cookie-consent popup to all pages, so that users can agree to the cookie policy of your website.
-
-There are two Twig-tags, that allow plugins to add JavaScript and CSS. Please make sure that you add these tags to your theme, because otherwise, the plugins won't work:
-
-- `{{ assets.renderCSS() }}`
-- `{{ assets.renderJS() }}`
-
-It is recommended to add the CSS tag after all your css-files and before the closing head-tag. It is also a good practice in Twig, to wrap your ressources in a block-tag. You can read more about this in the Twig-chapter.
-
-````
-
-
-
title
- ....
- ....
- {% block stylesheets %}
-
-
- {{ assets.renderCSS() }}
-
- {% endblock %}
-
-````
-
-The same for JavaScript: It is recommended to place all JavaScript at the end of the page before the closing body-tag. And you should wrap all your JavaScript in a block-element, too:
-
-````
-
-````
diff --git a/content/03-for-theme-developers/04-twig.md b/content/03-for-theme-developers/04-twig.md
deleted file mode 100644
index c664cdc..0000000
--- a/content/03-for-theme-developers/04-twig.md
+++ /dev/null
@@ -1,215 +0,0 @@
-# Templates with Twig
-
-Twig is a flexible, fast and secure template engine for PHP. Twig is used by many modern software projects and content management systems like CraftCMS, Statamic and even Drupal. If you have never used a template language before, then there are some good reasons to start with it today:
-
-- The Twig syntax is **much shorter**, so your templates look cleaner and are easier to maintain.
-- Twig produces **less errors**. An unknown variable produces an error in PHP, but it does not in Twig. Twig handles most of these cases, so you skip a lot of ugly logic in your theme.
-- Twig is very **widespread**, so you can work with Twig in many other cms.
-
-The full Twig documentation for template designers is just one page long, so just head [over to Twig](http://twig.sensiolabs.org/doc/2.x/templates.html) and read it. You can learn the most important essentials for TYPEMILL in the following list.
-
-[TOC]
-
-## Basic Twig Syntax
-
-In a Twig template, you can use ordinary HTML markup. Statements and expressions are written in curly brackets.
-
-Twig uses two curly brackets **to print out** a variable or expression:
-
-````
-
{{ variable }}
-````
-
-Twig uses one curly bracket with a procent sign **to execute** statements such as loops:
-
-````
-
- {% for element in breadcrumb %}
-
{{ element.output|e }}
- {% endfor %}
-
-````
-
-As you can see, the Twig syntax is cleaner and easier than pure PHP:
-
-- You don't need the long `` introduction.
-- You don't need the `$` to mark a variable.
-- You don't need the `;` to finish a statement.
-- You don't need the `->` or `['foo']` notation for objects and arrays, just use a dot-notation like `element.name` for everything.
-- You don't need a lot of `()` like `foreach(a as b)`.
-- You don't need a syntax like `output, ENT_QUOTES, 'UTF-8') ?>` for escaping, just use a filter with a pipe notation like this `{{ element.output|e }}`.
-
-## References
-
-These are some useful examples and snippets, that you can use for your templates.
-
-### Simple Variable
-
-Set a simple variable and print it out:
-
-````
-{% set content = "my content" %}
-{{ content }}
-````
-
-### Array
-
-Set an array and print out a value:
-
-````
-{% set content = ['first' => 'one value', 'second' => 'another value'] %}
-
-{{ content.first }} // prints out 'one value'
-````
-
-### Object
-
-Set an object and print out a value:
-
-````
-{% set content = {'first' : 'first value', 'second' : 'another value'} %}
-
-{{ content.first }} // prints out 'first value'
-````
-
-### Loop
-
-Loop over an object or array and print out the values:
-
-````
-{% for value in content %}
- {{ value }}
-{% endfor %}
-````
-
-Outputs:
-
-- first value
-- another value
-
-### Filters
-
-Set the first character of the words to uppercase:
-
-````
-
-{% for value in content %}
-
{{ value|title }}
-{% endfor %}
-
-````
-
-Output:
-
-- First Value
-- Another Value
-
-You can manipulate variables with filters. Filters are used after a pipe notation. See a list of all filters in the [Twig documentation](http://twig.sensiolabs.org/doc/2.x/filters/index.html).
-
-### Functions
-
-Print out content that was created in the last 30 days:
-
-```
-{% if date(content.created_at) > date('-30days') %}
- {{ content.title }}
-{% endif %}
-```
-
-'created_at' could be a timestamp of the content file. See a list of all functions in the [Twig documentation](https://twig.sensiolabs.org/doc/2.x/functions/index.html).
-
-### Include Template
-
-To include a template, just write:
-
-````
-{{ include(sidebar.twig) }}
-````
-
-**Example usage**: Your layout-template **includes** other templates like header.twig, footer.twig or sidebar.twig.
-
-### Extend Template
-
-To extend a template, just write:
-
-````
-{% extends "partials/layout.twig" %}
-````
-
-**Example usage:** Your content template (e.g. index.twig) **extends** your layout template. This means, index.twig is rendered within the layout.twig, and the layout.twig includes a header.twig, a footer.twig and a sidebar.twig.
-
-### Example: Include and Extend
-
-If you extend a template with another template (e.g. if you extend `layout.twig` with `index.twig`), then you have to define some content areas in the "parent" template that get overwritten with the content of the "child" template. You can use the "block" statement to define such areas.
-
-Your layout.twig looks like this:
-
-````
-
-
-