diff --git a/_config.yml b/_config.yml
index c7e7697..e296f22 100644
--- a/_config.yml
+++ b/_config.yml
@@ -9,6 +9,9 @@ collections:
uploads:
title: Uploads
output: true
+ wiki:
+ title: Wiki
+ output: true
defaults:
- scope:
path: ''
@@ -28,7 +31,22 @@ defaults:
type: pages
values:
layout: single
+ breadcrumbs: false
+ author_profile: false
+- scope:
+ path: ""
+ type: wiki
+ values:
+ layout: wiki
+ read_time: false
author_profile: false
+ share: false
+ related: false
+ sidebar_include: wiki-sidebar.html
+ breadcrumbs: true
+ classes: wide
+ permalink: "/wiki/:path/"
+
subtitle: Dein Makerspace in Basel!
email: open@lists.starship-factory.ch
description: Write an awesome description for your new site here. You can edit this
@@ -37,17 +55,22 @@ description: Write an awesome description for your new site here. You can edit t
twitter_username: StarshipFactory
github_username: starshipfactory
minimal_mistakes_skin: default
+relative_permalinks: false
search: true
logo: "/assets/images/logo.svg"
breadcrumbs: true
teaser: "/assets/images/logo.svg"
markdown: kramdown
+markdown_ext: "markdown,mkdown,mkdn,mkd,md,mdwn"
+strict_front_matter : false
remote_theme: mmistakes/minimal-mistakes
permalink: "/:categories/:title/"
+permalink: pretty
paginate: 5
paginate_path: "/blog/page:num/"
include:
- _pages
+- wiki
plugins:
- jekyll-paginate
- jekyll-sitemap
@@ -79,23 +102,17 @@ footer:
icon: fab fa-brands fa-discourse
url: https://discourse.starship-factory.ch
- label: Signal
- icon: fa fa-comment
+ icon: fab fa-brands fa-signal-messenger
url: https://signal.group/#CjQKIIt5fkwCXHlImGzm41tTrf-6umAhyM7ENTpqW4Y0P4SHEhDgMyhI63oL7v3mTk0N7G3t
- label: Kalender
- icon: fa fa-calendar
+ icon: fa-solid fa-calendar-days
url: https://cloud.starship-factory.ch/apps/calendar/p/NBiqtDiWQZmAZYfq
- - label: Twitter
- icon: fab fa-fw fa-twitter-square
- url: https://twitter.com/StarshipFactory
- label: GitHub
- icon: fab fa-fw fa-github
+ icon: fab fa-brands fa-github
url: https://github.com/starshipfactory
- label: Instagram
- icon: fab fa-fw fa-instagram
+ icon: fab fa-brands fa-instagram
url: https://instagram.com/starship_factory
- - label: Facebook
- icon: fab fa-fw fa-facebook
- url: https://www.facebook.com/starshipfactory
linked_pages:
- label: Impressum
url: "/impressum/"
diff --git a/_includes/breadcrumbs.html b/_includes/breadcrumbs.html
new file mode 100644
index 0000000..c7377fe
--- /dev/null
+++ b/_includes/breadcrumbs.html
@@ -0,0 +1,46 @@
+{% case site.category_archive.type %}
+{% when "liquid" %}
+{% assign path_type = "#" %}
+{% when "jekyll-archives" %}
+{% assign path_type = nil %}
+{% endcase %}
+
+{% if page.collection != 'posts' %}
+{% assign path_type = nil %}
+{% assign crumb_path = '/' %}
+{% else %}
+{% assign crumb_path = site.category_archive.path %}
+{% endif %}
+
+
\ No newline at end of file
diff --git a/_includes/sidebar.html b/_includes/sidebar.html
new file mode 100644
index 0000000..24905d1
--- /dev/null
+++ b/_includes/sidebar.html
@@ -0,0 +1,21 @@
+{% if page.author_profile or layout.author_profile or page.sidebar or page.sidebar_include %}
+
+ {% if page.author_profile or layout.author_profile %}{% include author-profile.html %}{% endif %}
+ {% if page.sidebar %}
+ {% for s in page.sidebar %}
+ {% if s.image %}
+
+ {% endif %}
+ {% if s.title %}
{{ s.title }}
{% endif %}
+ {% if s.text %}{{ s.text | markdownify }}{% endif %}
+ {% if s.nav %}{% include nav_list nav=s.nav %}{% endif %}
+ {% endfor %}
+ {% if page.sidebar.nav %}
+ {% include nav_list nav=page.sidebar.nav %}
+ {% endif %}
+ {% endif %}
+ {% if page.sidebar_include %}
+ {% include {{ page.sidebar_include }} %}
+ {% endif %}
+
+{% endif %}
\ No newline at end of file
diff --git a/_includes/wiki-sidebar.html b/_includes/wiki-sidebar.html
new file mode 100644
index 0000000..c8afe54
--- /dev/null
+++ b/_includes/wiki-sidebar.html
@@ -0,0 +1,28 @@
+
\ No newline at end of file
diff --git a/_layouts/wiki.html b/_layouts/wiki.html
new file mode 100644
index 0000000..4ca4498
--- /dev/null
+++ b/_layouts/wiki.html
@@ -0,0 +1,87 @@
+---
+layout: default
+---
+
+{% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
+{% include page__hero.html %}
+{% elsif page.header.video.id and page.header.video.provider %}
+{% include page__hero_video.html %}
+{% endif %}
+
+{% assign breadcrumbs_enabled = site.breadcrumbs %}
+{% if page.breadcrumbs != null %}
+{% assign breadcrumbs_enabled = page.breadcrumbs %}
+{% endif %}
+{% if page.url != "/" and breadcrumbs_enabled %}
+{% unless paginator %}
+{% include breadcrumbs.html %}
+{% endunless %}
+{% endif %}
+
+
+ {% include sidebar.html %}
+
+
+ {% if page.title %}
+
+ {% endif %}
+ {% if page.excerpt %}
+ {% endif %}
+ {% if page.date %}
+ {% endif %}
+ {% if page.last_modified_at %}
+ {% endif %}
+
+
+ {% unless page.header.overlay_color or page.header.overlay_image %}
+
+
\ No newline at end of file
diff --git a/_wiki/formating.md b/_wiki/formating.md
new file mode 100644
index 0000000..d571f2c
--- /dev/null
+++ b/_wiki/formating.md
@@ -0,0 +1,122 @@
+---
+title: Formatting in this Wiki
+---
+# Markdown Cheat Sheet
+
+Thanks for visiting [The Markdown Guide](https://www.markdownguide.org)!
+
+This Markdown cheat sheet provides a quick overview of all the Markdown syntax elements. It can’t cover every edge case, so if you need more information about any of these elements, refer to the reference guides for [basic syntax](https://www.markdownguide.org/basic-syntax/) and [extended syntax](https://www.markdownguide.org/extended-syntax/).
+
+## Basic Syntax
+
+These are the elements outlined in John Gruber’s original design document. All Markdown applications support these elements.
+
+### Heading
+
+ # H1
+ ## H2
+ ### H3
+
+### Bold
+
+ **bold text**
+
+### Italic
+
+ *italicized text*
+
+### Blockquote
+
+ > blockquote
+
+### Ordered List
+
+ 1. First item
+ 2. Second item
+ 3. Third item
+
+### Unordered List
+
+ - First item
+ - Second item
+ - Third item
+
+### Code
+
+ `code`
+
+### Horizontal Rule
+
+ ---
+
+### Link
+
+ [Markdown Guide](https://www.markdownguide.org)
+
+### Image
+
+ ![alt text](https://www.markdownguide.org/assets/images/tux.png)
+
+## Extended Syntax
+
+ These elements extend the basic syntax by adding additional features. Not all Markdown applications support these elements.
+
+### Table
+
+ | Syntax | Description |
+ | ----------- | ----------- |
+ | Header | Title |
+ | Paragraph | Text |
+
+### Fenced Code Block
+
+ ```
+ {
+ "firstName": "John",
+ "lastName": "Smith",
+ "age": 25
+ }
+ ```
+
+### Footnote
+
+ Here's a sentence with a footnote. [^1]
+
+ [^1]: This is the footnote.
+
+### Heading ID
+
+ ### My Great Heading {#custom-id}
+
+### Definition List
+
+ term
+ : definition
+
+### Strikethrough
+
+ ~~The world is flat.~~
+
+### Task List
+
+ - [x] Write the press release
+ - [ ] Update the website
+ - [ ] Contact the media
+
+### Emoji
+
+ That is so funny! :joy:
+
+ (See also [Copying and Pasting Emoji](https://www.markdownguide.org/extended-syntax/#copying-and-pasting-emoji))
+
+### Highlight
+
+ I need to highlight these ==very important words==.
+
+### Subscript
+
+ H~2~O
+
+### Superscript
+
+ X^2^
\ No newline at end of file
diff --git a/_wiki/index.md b/_wiki/index.md
new file mode 100644
index 0000000..7c27dc2
--- /dev/null
+++ b/_wiki/index.md
@@ -0,0 +1,12 @@
+---
+title: Wiki
+permalink: /wiki
+---
+
+