jekyll-theme-horizon-flow 0.1.1 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 23b04ffbae4c3fa6ca250c7a884e5b3cccda2510fba3822ca99aa0cef512ce02
4
- data.tar.gz: 877f81aa52faee7fc9a0dd433b1de0ce163912a7fbb0d4f096a1e81c1ae16334
3
+ metadata.gz: fd4a3025c5c7dee3341d1b781738590518af5ec7d17438132723a39a13758e9d
4
+ data.tar.gz: 8606bb51af10a0e4e3fbd022b2ce394d9cf299e9e06ccceb52f06741af34c29d
5
5
  SHA512:
6
- metadata.gz: cb9f6b187749923d41d0cb363673cf898cdb8e4b850a4bf466a432104b53e73b286d13905701a27fa6a7522dc3683505feef721801de242a59933da837a949aa
7
- data.tar.gz: 8862bb2a54f1868d0427b35bffe3c51979689baccab5c418f149420c73e564892bc79a97b7524b817bbf6832dfcfbbaa0c26e322ca740311cb48e45c6eab0e33
6
+ metadata.gz: 6f296954fdad793ba6945194ce91b40e1fc71933df88d0e4b07442084fcc3a6c5beb62c0f0af2a0d9a4564c793a36e3bce0de2a9db94e7df849d7813e2412301
7
+ data.tar.gz: 32617a1c81c5d929a9e6bf5c73d59f47e6d29bbec9f0dfc774e688e986eb5771bd7d8dac0ed07df6f2c030cbe8e3f1223cac2aefde9f58f187c4c13bd4efa024
data/README.md CHANGED
@@ -1,22 +1,20 @@
1
- # Horizon Flow Jekyll Theme
1
+ # [Horizon Flow Jekyll Theme](https://papierkorp.github.io/jekyll-theme-horizon-flow/)
2
2
 
3
3
  - [Installation](#installation)
4
- - [Ruby Gem Method](#ruby-gem-method)
5
- - [GitHub Pages Method](#github-pages-method)
6
- - [Structure](#structure)
7
- - [Starting Fresh](#starting-fresh)
8
- - [Starting from `jekyll new`](#starting-from-jekyll-new)
9
4
  - [Configuration](#configuration)
10
5
  - [Site URL](#site-url)
11
6
  - [Site Base URL](#site-base-url)
12
7
  - [Navigation](#navigation)
13
8
  - [Footer](#footer)
9
+ - [Layouts](#layouts)
14
10
  - [Footer Sidebar](#footer-sidebar)
15
11
  - [Table of Contents](#table-of-contents)
16
12
  - [paginate](#paginate)
13
+ - [Read Time](#read-time)
17
14
  - [default plugins](#default-plugins)
15
+ - [Configurable Labels](#configurable-labels)
18
16
  - [Front Matter](#front-matter)
19
- - [Layouts](#layouts)
17
+ - [Layouts](#layouts-1)
20
18
  - [`layout: default`](#layout-default)
21
19
  - [`layout: post`](#layout-post)
22
20
  - [`layout: archive`](#layout-archive)
@@ -24,11 +22,13 @@
24
22
  - [`layout: categories`](#layout-categories)
25
23
  - [`layout: search`](#layout-search)
26
24
  - [`layout: tags`](#layout-tags)
25
+ - [whislist](#whislist)
26
+
27
27
 
28
28
 
29
29
  [![LICENSE](https://img.shields.io/badge/license-MIT-lightgrey.svg?style=flat-square)](https://raw.githubusercontent.com/papierkorp/jekyll-theme-horizon-flow/main/LICENSE.txt)
30
30
  [![Jekyll](https://img.shields.io/badge/jekyll-%3E%3D%203.6-blue.svg?style=flat-square)](https://jekyllrb.com/)
31
- [![Ruby gem](https://img.shields.io/gem/v/jekyll-theme-so-simple.svg?style=flat-square)]()
31
+ [![Ruby gem](https://img.shields.io/gem/v/jekyll-theme-so-simple.svg?style=flat-square)](https://rubygems.org/gems/jekyll-theme-horizon-flow)
32
32
 
33
33
  This is my first ever theme or anything like this so I got a whole damn LOT of Inspiration and Ideas of the [So Simple](https://github.com/mmistakes/so-simple-theme/tree/master) theme from [mmistakes](https://github.com/mmistakes). Also i almost completly copied his readme pls forgive me <3.
34
34
 
@@ -43,104 +43,38 @@ This theme can offer:
43
43
  * offers an archive
44
44
  * Carefully designed posts for almost all Markup elements
45
45
  * Activateable TOC and to the TOP Buttons for each post
46
+ * Mobile Friendly
47
+ * Highly Customizable
46
48
 
47
- ![Horizon Flow Screenshots](screenshot.png)
48
- ![Horizon Flow Screenshots](post.png)
49
- ![Horizon Flow Screenshots](post_toc.png)
50
- ![Horizon Flow Screenshots](categories.png)
51
- ![Horizon Flow Screenshots](tags.png)
52
- ![Horizon Flow Screenshots](archive.png)
53
-
54
- ![Horizon Flow Screenshots](search.png)
55
-
49
+ ![Horizon Flow Screenshots](https://papierkorp.github.io/jekyll-theme-horizon-flow/screenshot.png)
56
50
 
57
51
 
58
52
  ## Installation
59
53
 
60
- If you're running Jekyll v4.3+ and self-hosting you can quickly install the theme as a Ruby gem. If you're hosting with [**GitHub Pages**](https://pages.github.com/) you can install as a [remote theme](https://github.com/benbalter/jekyll-remote-theme) or directly copy all of the theme files (see [structure](#structure) below) into your project.
54
+ 1. Follow the [Jekyll Quickstart](https://jekyllrb.com/docs/)
61
55
 
62
- ### Ruby Gem Method
63
-
64
- 1. Add this line to your Jekyll site's `Gemfile`:
56
+ 2. Add this line to your Jekyll site's `Gemfile`:
65
57
 
66
58
  ```ruby
67
59
  gem "jekyll-theme-horizon-flow"
68
60
  ```
69
61
 
70
- 2. Add this line to your Jekyll site's `_config.yml` file:
62
+ 3. Add one of those lines to your Jekyll site's `_config.yml` file:
71
63
 
72
64
  ```yaml
73
65
  theme: jekyll-theme-horizon-flow
66
+ #remote_theme: papierkorp/jekyll-theme-horizon-flow #if you host on github pages
74
67
  ```
75
68
 
76
- 3. Then run [Bundler](http://bundler.io/) to install the theme gem and dependencies:
69
+ 4. Then run [Bundler](http://bundler.io/) to install the theme gem and dependencies:
77
70
 
78
71
  ```terminal
79
72
  bundle install
80
73
  ```
81
74
 
82
- ### GitHub Pages Method
83
-
84
- GitHub Pages has added [full support](https://github.com/blog/2464-use-any-theme-with-github-pages) for any GitHub-hosted theme.
85
-
86
- 1. Replace `gem "jekyll"` with:
87
-
88
- ```ruby
89
- gem "github-pages", group: :jekyll_plugins
90
- ```
91
-
92
- 2. Run `bundle update` and verify that all gems install properly.
93
-
94
- 3. Add `remote_theme: ""` to your
95
- `_config.yml` file. Remove any other `theme:` or `remote_theme:` entries.
96
-
97
- ---
98
-
99
- **Note:** Your Jekyll site should be viewable immediately at <http://USERNAME.github.io>. If it's not, you can force a rebuild by pushing empty commits to GitHub (see below for more details).
100
-
101
- If you're hosting several Jekyll based sites under the same GitHub username you will have to use Project Pages instead of User Pages. Essentially you rename the repo to something other than **USERNAME.github.io** and create a `gh-pages` branch off of `master`. For more details on how this works, check [GitHub's documentation](https://help.github.com/articles/user-organization-and-project-pages/).
102
-
103
-
104
- ### Structure
105
-
106
-
107
- **Please note:** If you installed Horizon Flow via the Ruby Gem or remote theme methods, theme files found in `/_layouts`, `/_includes`, `/_sass`, and `/assets` will be missing from your project. This is normal as they are bundled with the [`jekyll-theme-horizon-flow`](https://rubygems.org/gems/jekyll-theme-horizon-flow) gem.
108
-
109
- ```
110
- ├── _includes # theme includes
111
- ├── _layouts # theme layouts (see below for usage)
112
- ├── _sass # Sass partials
113
- ├── assets
114
- | ├── style.scss # main style file
115
- | └── search.json # stores your data, used for the search
116
- ├── _config.yml # sample configuration
117
- ├── archive.md # if you want to use the archive page
118
- ├── categories.md # if you want to use the categories page
119
- ├── impressum.html # sample impressum
120
- ├── index.html # default index.html file with pagination
121
- ├── search.md # if you want to use the search page
122
- ├── tags.md # if you want to use the tags page
123
- ```
124
-
125
- ### Starting Fresh
126
-
127
- Using the `jekyll new` command will get you up and running the quickest.
75
+ 5. Rename `index.md` to [`index.html`](index.html)
128
76
 
129
- Edit your `Gemfile` and `_config.yml` files following the [Installation guide](#installation) above and [Configuration guide](#configuration) below.
130
-
131
-
132
- After creating a `Gemfile` and installing the theme you'll need to rename `index.md` to [`index.html`](index.html)
133
- Also you have to add `gem "jekyll-paginate"` to your `Gemfile` plugins list:
134
-
135
- ```ruby
136
- group :jekyll_plugins do
137
- gem "jekyll-feed", "~> 0.12"
138
- gem "jekyll-paginate"
139
- end
140
- ```
141
-
142
- If you want to use the full potential of this theme you should also follow along [Navigation setup](#Navigation)
143
- You can also configure most of the hard coded Labels if you follow this Instruction: [Configurable Lables](#configurable-lables)
77
+ 6. Follow the [Navigation setup](#Navigation) guide to make the best out of the theme.
144
78
 
145
79
 
146
80
 
@@ -272,11 +206,13 @@ As for the possible Configurations this theme offers take note of the following:
272
206
  * [Site Base URL](#site-base-url)
273
207
  * [Navigation](#navigation)
274
208
  * [Footer](#footer)
209
+ * [Layouts](#layouts)
275
210
  * [Footer Sidebar](#footer-sidebar)
276
211
  * [Table of Contents](#table-of-contents)
277
212
  * [paginate](#paginate)
213
+ * [Read Time](#read-time)
278
214
  * [default plugins](#default-plugins)
279
-
215
+ * [Configurable Labels](#configurable-labels)
280
216
 
281
217
  ### Site URL
282
218
 
@@ -474,25 +410,34 @@ footer_sidebar:
474
410
  - recentposts # will be displayed last
475
411
  description:
476
412
  enabled: true # default: true
413
+ coluns: 2 # default: 2 - if you include a list
477
414
  categories:
478
415
  enabled: true # default: false
479
416
  count: 100 # default: 100
417
+ columns: 5 # default: 5
480
418
  tags:
481
419
  enabled: true # default: false
482
420
  count: 100 # default: 100
421
+ columns: 5 # default: 5
483
422
  recentposts:
484
423
  enabled: true # default: true
485
424
  count: 10 # default: 10
425
+ columsn: 2 # default: 2
486
426
  custom_content:
487
427
  enabled: true
488
428
  data: >-
489
429
  <h3>EXTRACONTENT</h3>
490
430
  <p>not really content though...</p>
431
+ columns: 2 # default: 2 - if you include a list
491
432
  custom_content2:
492
433
  enabled: false
493
434
  data: "<h3>mhm</h3>"
435
+ columns: 2 # default: 2 - if you include a list
494
436
  ```
495
437
 
438
+
439
+
440
+
496
441
  ### Table of Contents
497
442
 
498
443
  Take a look at the [Front Matter](#front-matter) on how to disable the TOC.
@@ -667,9 +612,4 @@ There is no front matter for it.
667
612
 
668
613
  # whislist
669
614
 
670
- - footer
671
- + make the columns in the footer-sidebar (tags, categories, recent posts) configurable
672
- + fix for mobile screens
673
- - post
674
- + fix TOC for mobile screens
675
- - more colors
615
+ - more colors
data/_config.yml CHANGED
@@ -23,11 +23,11 @@ description: >- # this means to ignore newlines until "baseurl:"
23
23
  Write an awesome description for your new site here. You can edit this
24
24
  line in _config.yml. It will appear in your document head meta (for
25
25
  Google search results) and in your feed.xml site description.
26
- baseurl: "" # the subpath of your site, e.g. /blog
27
- url: "" # the base hostname & protocol for your site, e.g. http://example.com
26
+ baseurl: "/jekyll-theme-horizon-flow" # the subpath of your site, e.g. /blog
27
+ url: "https://papierkorp.github.io" # the base hostname & protocol for your site, e.g. http://example.com
28
28
 
29
29
  # Build settings
30
- theme: jekyll-theme-horizon-flow
30
+ remote_theme: papierkorp/jekyll-theme-horizon-flow
31
31
  plugins:
32
32
  - jekyll-feed
33
33
  - jekyll-paginate
@@ -63,19 +63,9 @@ navigation:
63
63
  footer_sidebar:
64
64
  arrangement:
65
65
  - description
66
- - tags
67
- - categories
68
66
  - recentposts
69
67
  description:
70
68
  enabled: true
71
- categories:
72
- enabled: true
73
- count: 100
74
- columns: 1
75
- tags:
76
- enabled: true
77
- count: 100
78
- columns: 3
79
69
  recentposts:
80
70
  enabled: true
81
71
  count: 10
@@ -100,4 +90,4 @@ paginate_path: "/:num/"
100
90
  read_time_after: "min read"
101
91
  words_per_minute: 180
102
92
 
103
- permalink: /posts/:title #remove date from link
93
+ permalink: /posts/:title #remove date from link
@@ -13,19 +13,19 @@
13
13
  <aside class="footer_sidebar">
14
14
  {% for section in site.footer_sidebar.arrangement %}
15
15
  {% if section == 'description' and site.footer_sidebar.description.enabled %}
16
- <section class="footer_sitedescription">
16
+ <section class="footer_sitedescription footer_sitedescription{% if site.footer_sidebar.description.columns and site.footer_sidebar.description.columns >= 1 and site.footer_sidebar.description.columns <= 5 %}{{site.footer_sidebar.description.columns}}{% else %}2{% endif %}">
17
17
  {{ site.description }}
18
18
  </section>
19
- {% elsif section == 'extracontent' and site.footer_sidebar.extracontent.enabled %}
20
- <section class="footer_extracontent">
21
- {{ site.footer_sidebar.extracontent.data }}
19
+ {% elsif section == 'customcontent' and site.footer_sidebar.customcontent.enabled %}
20
+ <section class="footer_customcontent footer_customcontent{% if site.footer_sidebar.customcontent.columns and site.footer_sidebar.customcontent.columns >= 1 and site.footer_sidebar.customcontent.columns <= 5 %}{{site.footer_sidebar.customcontent.columns}}{% else %}2{% endif %}">
21
+ {{ site.footer_sidebar.customcontent.data }}
22
22
  </section>
23
- {% elsif section == 'extracontent2' and site.footer_sidebar.extracontent2.enabled %}
24
- <section class="footer_extracontent">
25
- {{ site.footer_sidebar.extracontent2.data }}
23
+ {% elsif section == 'customcontent2' and site.footer_sidebar.customcontent2.enabled %}
24
+ <section class="footer_customcontent2 footer_customcontent2{% if site.footer_sidebar.customcontent2.columns and site.footer_sidebar.customcontent2.columns >= 1 and site.footer_sidebar.customcontent2.columns <= 5 %}{{site.footer_sidebar.customcontent2.columns}}{% else %}2{% endif %}">
25
+ {{ site.footer_sidebar.customcontent2.data }}
26
26
  </section>
27
27
  {% elsif section == 'categories' and site.footer_sidebar.categories.enabled %}
28
- <section class="footer_categories">
28
+ <section class="footer_categories footer_categories{% if site.footer_sidebar.categories.columns and site.footer_sidebar.categories.columns >= 1 and site.footer_sidebar.categories.columns <= 5 %}{{site.footer_sidebar.categories.columns}}{% else %}5{% endif %}">
29
29
  <h3>Categories</h3>
30
30
  <ul>
31
31
  {% assign all_categories = "" %}
@@ -41,12 +41,12 @@
41
41
  {% assign categories_to_display = unique_categories | slice: 0, categories_count %}
42
42
 
43
43
  {% for category in categories_to_display %}
44
- <li><a href="categories.html#{{ category }}">{{ category }}</a></li>
44
+ <li><a href="{{ site.baseurl }}/categories.html#{{ category }}">{{ category }}</a></li>
45
45
  {% endfor %}
46
46
  </ul>
47
47
  </section>
48
48
  {% elsif section == 'tags' and site.footer_sidebar.tags.enabled %}
49
- <section class="footer_tags">
49
+ <section class="footer_tags footer_tags{% if site.footer_sidebar.tags.columns and site.footer_sidebar.tags.columns >= 1 and site.footer_sidebar.tags.columns <= 5 %}{{site.footer_sidebar.tags.columns}}{% else %}5{% endif %}">
50
50
  <h3>Tags</h3>
51
51
  <ul>
52
52
  {% assign all_tags = "" %}
@@ -62,18 +62,18 @@
62
62
  {% assign tags_to_display = unique_tags | slice: 0, tags_count %}
63
63
 
64
64
  {% for tag in tags_to_display %}
65
- <li><a href="/tags#{{ tag }}">{{ tag }}</a></li>
65
+ <li><a href="{{ site.baseurl }}/tags#{{ tag }}">{{ tag }}</a></li>
66
66
  {% endfor %}
67
67
  </ul>
68
68
  </section>
69
69
  {% elsif section == 'recentposts' and site.footer_sidebar.recentposts.enabled %}
70
- <section class="footer_recentposts">
70
+ <section class="footer_recentposts footer_recentposts{% if site.footer_sidebar.recentposts.columns and site.footer_sidebar.recentposts.columns >= 1 and site.footer_sidebar.recentposts.columns <= 5 %}{{site.footer_sidebar.recentposts.columns}}{% else %}2{% endif %}">
71
71
  <h3>Recent Posts</h3>
72
72
  <ul>
73
73
  {% assign recentposts_count = site.footer_sidebar.recentposts.count | default: 10 %}
74
74
  {% assign recent_posts = site.posts | reverse | limit: recentposts_count %}
75
75
  {% for post in recent_posts %}
76
- <li><a href="{{ post.url }}">{{ post.title }}</a></li>
76
+ <li><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></li>
77
77
  {% endfor %}
78
78
  </ul>
79
79
  </section>
@@ -90,9 +90,9 @@
90
90
  <div class="social-icons item3">
91
91
  {% for link in site.footer_links %}
92
92
  {% if link.icon %}
93
- <a href="{{ link.url }}" class="{{ link.icon }}" target="_blank"></a>
93
+ <a href="{{ site.baseurl }}{{ link.url }}" class="{{ link.icon }}" target="_blank"></a>
94
94
  {% else %}
95
- <a href="{{ link.url }}">{{ link.title }}</a>
95
+ <a href="{{ site.baseurl }}{{ link.url }}">{{ link.title }}</a>
96
96
  {% endif %}
97
97
  {% unless forloop.last %}
98
98
  <span class="divider"></span>
@@ -11,7 +11,7 @@
11
11
  {% if page.url contains item.url %} <!--or (page.url == '/' and item.url == '/index.html')-->
12
12
  {% assign class = 'navi_current' %}
13
13
  {% endif %}
14
- <li><a href="{{ item.url }}" class="{{ class }}">
14
+ <li><a href="{{ site.baseurl }}{{ item.url }}" class="{{ class }}">
15
15
  {{ item.title }}
16
16
  </a></li>
17
17
  {% endfor %}
@@ -8,7 +8,7 @@ layout: default
8
8
 
9
9
  {% if site.posts.size > 0 %}
10
10
  <!-- show all years -->
11
- <div class="archive_all_years{% if site.layouts.archive.columns and site.layouts.archive.columns >= 1 and site.layouts.archive.columns <= 5 %}{{site.layouts.archive.columns}}{% else %}2{% endif %}">
11
+ <div class="archive_all_years archive_all_years{% if site.layouts.archive.columns and site.layouts.archive.columns >= 1 and site.layouts.archive.columns <= 5 %}{{site.layouts.archive.columns}}{% else %}2{% endif %}">
12
12
  <ul>
13
13
  {% assign postsByYear = site.posts | group_by_exp: 'post', 'post.date | date: "%Y"' %}
14
14
  {% for year in postsByYear %}
@@ -52,20 +52,16 @@ layout: default
52
52
 
53
53
  <div class="archive_findresults">
54
54
 
55
- <span class="archive_date">
55
+
56
56
 
57
- <a href="{{ post.url }}">
58
- <i class="archive_day">{{ post.date | date: "%d" }}</i>
59
- </a>
60
- <a href="{{ post.url }}">
61
- <span>{{ post.date | date: "%b/%Y" }}</span>
62
- </a>
63
-
64
- </span>
57
+ <a class="archive_date" href="{{ site.baseurl }}{{ post.url }}">
58
+ <i class="archive_day">{{ post.date | date: "%d" }}</i>
59
+ <span>{{ post.date | date: "%b/%Y" }}</span>
60
+ </a>
65
61
 
66
62
  <span class="archive_summary">
67
63
  <h3>
68
- <a href="{{ post.url | relative_url }}">{{ post.title }}</a>
64
+ <a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
69
65
  </h3>
70
66
  {{ post.content | markdownify | strip_html | truncatewords: 50 }}
71
67
  </span>
@@ -17,7 +17,7 @@ layout: default
17
17
 
18
18
  {% if sortedCategories.size > 0 %}
19
19
  <!-- Show all categories sorted by count -->
20
- <div class="categories_all{% if site.layouts.categories.columns and site.layouts.categories.columns >= 1 and site.layouts.categories.columns <= 5 %}{{site.layouts.categories.columns}}{% else %}3{% endif %}">
20
+ <div class="categories_all categories_all{% if site.footer_sidebar.categories.columns and site.footer_sidebar.categories.columns >= 1 and site.footer_sidebar.categories.columns <= 5 %}{{site.footer_sidebar.categories.columns}}{% else %}3{% endif %}">
21
21
  <ul>
22
22
  {% for category in sortedCategories %}
23
23
  {% assign categoryParts = category | split: '&#x1F;' %}
@@ -55,20 +55,14 @@ layout: default
55
55
 
56
56
  {% for post in category[1] %}
57
57
  <div class="categories_findresult">
58
- <span class="categories_date">
59
-
60
- <a href="{{ post.url }}">
61
- <i class="categories_day">{{ post.date | date: "%d" }}</i>
62
- </a>
63
- <a href="{{ post.url }}">
64
- <span>{{ post.date | date: "%b/%Y" }}</span>
65
- </a>
66
-
67
- </span>
58
+ <a href="{{ site.baseurl }}{{ post.url }}" class="categories_date">
59
+ <i class="categories_day">{{ post.date | date: "%d" }}</i>
60
+ <span>{{ post.date | date: "%b/%Y" }}</span>
61
+ </a>
68
62
 
69
63
  <span class="categories_summary">
70
64
  <h3>
71
- <a href="{{ post.url }}">{{ post.title }}</a>
65
+ <a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
72
66
  </h3>
73
67
  {{ post.content | markdownify | strip_html | truncatewords: 50 }}
74
68
  </span>
@@ -11,7 +11,7 @@
11
11
  {% feed_meta %}
12
12
  <title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
13
13
  <meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}">
14
- <link rel="canonical" href="{{ page.url | replace:'index.html', '' | absolute_url }}">
14
+ <link rel="canonical" href="{{ page.url | replace:'index.html', '' | absolute_url }}{{ site.baseurl }}">
15
15
  </head>
16
16
 
17
17
  <body>
data/_layouts/home.html CHANGED
@@ -6,7 +6,7 @@ layout: default
6
6
  <section>
7
7
  {% for post in paginator.posts %}
8
8
  <article class="single_article">
9
- <a href="{{ post.url }}"><h3>{{ post.title }}</h3></a>
9
+ <a href="{{ site.baseurl }}{{ post.url }}"><h3>{{ post.title }}</h3></a>
10
10
  <p class="supplements">
11
11
  <span>
12
12
  <i class="fa fa-calendar"></i> {{ post.date | date: "%B %d, %Y" }}
@@ -20,7 +20,7 @@ layout: default
20
20
  <span class="supplements-category">
21
21
  <i class="fa fa-bars"></i>
22
22
  {% for category in post.categories %}
23
- <a href="/categories#{{ category | slugify }}">{{ category }}</a>{% if forloop.last == false %},{% endif %}
23
+ <a href="{{ site.baseurl }}/categories#{{ category | slugify }}">{{ category }}</a>{% if forloop.last == false %},{% endif %}
24
24
  {% endfor %}
25
25
  </span>
26
26
  {% endif %}
@@ -29,7 +29,7 @@ layout: default
29
29
  <span>
30
30
  <i class="fa fa-tags"></i>
31
31
  {% for tag in post.tags %}
32
- <a href="/tags/{{ tag | slugify }}">{{ tag }}</a>{% if forloop.last == false %},{% endif %}
32
+ <a href="{{ site.baseurl }}/tags#{{ tag | slugify }}">{{ tag }}</a>{% if forloop.last == false %},{% endif %}
33
33
  {% endfor %}
34
34
  </span>
35
35
  {% endif %}
@@ -42,16 +42,17 @@ layout: default
42
42
  </p>
43
43
 
44
44
  </article>
45
+ <hr class="article-divider">
45
46
  {% endfor %}
46
47
 
47
48
  <!-- Pagination links -->
48
49
  <div class="pagination">
49
50
  {% if paginator.previous_page %}
50
- <a class="previous" href="{{ paginator.previous_page_path }}"><span class="spanprevious"><i class="arrow left" title="previous page"></i></span></a>
51
+ <a class="previous" href="{{ site.baseurl}}{{ paginator.previous_page_path }}"><span class="spanprevious"><i class="fa fa-arrow-left" title="previous page"></i></span></a>
51
52
  {% endif %}
52
53
  <p class="page_count">{{ paginator.page }} / {{ paginator.total_pages }}</p>
53
54
  {% if paginator.next_page %}
54
- <a class="next" href="{{ paginator.next_page_path }}"><span class="spannext"><i class="arrow right" title="next page"></i></span></a>
55
+ <a class="next" href="{{ site.baseurl}}{{ paginator.next_page_path }}"><span class="spannext"><i class="fa fa-arrow-right" title="next page"></i></span></a>
55
56
  {% endif %}
56
57
  </div>
57
58
  </section>
data/_layouts/post.html CHANGED
@@ -36,7 +36,7 @@ layout: default
36
36
  <span class="supplements-category">
37
37
  <i class="fa fa-bars"></i>
38
38
  {% for category in page.categories %}
39
- <a href="/categories#{{ category | slugify }}">{{ category }}</a>{% if forloop.last == false %},{% endif %}
39
+ <a href="{{ site.baseurl }}/categories#{{ category | slugify }}">{{ category }}</a>{% if forloop.last == false %},{% endif %}
40
40
  {% endfor %}
41
41
  </span>
42
42
  {% endif %}
@@ -45,7 +45,7 @@ layout: default
45
45
  <span>
46
46
  <i class="fa fa-tags"></i>
47
47
  {% for tag in page.tags %}
48
- <a href="/tags#{{ tag | slugify }}">{{ tag }}</a>{% if forloop.last == false %},{% endif %}
48
+ <a href="{{ site.baseurl }}/tags#{{ tag | slugify }}">{{ tag }}</a>{% if forloop.last == false %},{% endif %}
49
49
  {% endfor %}
50
50
  </span>
51
51
  {% endif %}
data/_layouts/search.html CHANGED
@@ -9,15 +9,10 @@ layout: default
9
9
  * Copyright 2015-2020, Christian Fei
10
10
  * Licensed under the MIT License.
11
11
  */
12
- !function(){"use strict";var f={compile:function(r){return i.template.replace(i.pattern,function(t,e){var n=i.middleware(e,r[e],i.template);return void 0!==n?n:r[e]||t})},setOptions:function(t){i.pattern=t.pattern||i.pattern,i.template=t.template||i.template,"function"==typeof t.middleware&&(i.middleware=t.middleware)}};const i={pattern:/\{(.*?)\}/g,template:"",middleware:function(){}};var n=function(t,e){var n=e.length,r=t.length;if(n<r)return!1;if(r===n)return t===e;t:for(var i=0,o=0;i<r;i++){for(var u=t.charCodeAt(i);o<n;)if(e.charCodeAt(o++)===u)continue t;return!1}return!0},e=new function(){this.matches=function(t,e){return n(e.toLowerCase(),t.toLowerCase())}},r=new function(){this.matches=function(e,t){return!!e&&(e=e.trim().toLowerCase(),(t=t.trim().toLowerCase()).split(" ").filter(function(t){return 0<=e.indexOf(t)}).length===t.split(" ").length)}},d={put:function(t){if(l(t))return a(t);if(function(t){return Boolean(t)&&"[object Array]"===Object.prototype.toString.call(t)}(t))return function(n){const r=[];s();for(let t=0,e=n.length;t<e;t++)l(n[t])&&r.push(a(n[t]));return r}(t);return undefined},clear:s,search:function(t){return t?function(e,n,r,i){const o=[];for(let t=0;t<e.length&&o.length<i.limit;t++){var u=function(t,e,n,r){for(const i in t)if(!function(n,r){for(let t=0,e=r.length;t<e;t++){var i=r[t];if(new RegExp(i).test(n))return!0}return!1}(t[i],r.exclude)&&n.matches(t[i],e))return t}(e[t],n,r,i);u&&o.push(u)}return o}(u,t,c.searchStrategy,c).sort(c.sort):[]},setOptions:function(t){c=t||{},c.fuzzy=t.fuzzy||!1,c.limit=t.limit||10,c.searchStrategy=t.fuzzy?e:r,c.sort=t.sort||o,c.exclude=t.exclude||[]}};function o(){return 0}const u=[];let c={};function s(){return u.length=0,u}function l(t){return Boolean(t)&&"[object Object]"===Object.prototype.toString.call(t)}function a(t){return u.push(t),u}c.fuzzy=!1,c.limit=10,c.searchStrategy=c.fuzzy?e:r,c.sort=o,c.exclude=[];var p={load:function(t,e){const n=window.XMLHttpRequest?new window.XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP");n.open("GET",t,!0),n.onreadystatechange=h(n,e),n.send()}};function h(e,n){return function(){if(4===e.readyState&&200===e.status)try{n(null,JSON.parse(e.responseText))}catch(t){n(t,null)}}}var m=function y(t){if(!(e=t)||!("undefined"!=typeof e.required&&e.required instanceof Array))throw new Error("-- OptionsValidator: required options missing");var e;if(!(this instanceof y))return new y(t);const r=t.required;this.getRequiredOptions=function(){return r},this.validate=function(e){const n=[];return r.forEach(function(t){"undefined"==typeof e[t]&&n.push(t)}),n}},w={merge:function(t,e){const n={};for(const r in t)n[r]=t[r],"undefined"!=typeof e[r]&&(n[r]=e[r]);return n},isJSON:function(t){try{return t instanceof Object&&JSON.parse(JSON.stringify(t))?!0:!1}catch(e){return!1}}};!function(t){let i={searchInput:null,resultsContainer:null,json:[],success:Function.prototype,searchResultTemplate:'<div class="single_result"><div class="search_findresults"><span class="search_date"><a href="{url}"><i class="search_day">{date_day}</i></a><a href="{url}">{date_my}</a></span><span class="search_summary"><h3><a href="{url}">{title}</a></h3>{summary}</span></div></div>',templateMiddleware:Function.prototype,sortMiddleware:function(){return 0},noResultsText:"No results found",limit:10,fuzzy:!1,debounceTime:null,exclude:[]},n;const e=function(t,e){e?(clearTimeout(n),n=setTimeout(t,e)):t.call()};var r=["searchInput","resultsContainer","json"];const o=m({required:r});function u(t){d.put(t),i.searchInput.addEventListener("input",function(t){-1===[13,16,20,37,38,39,40,91].indexOf(t.which)&&(c(),e(function(){l(t.target.value)},i.debounceTime))})}function c(){i.resultsContainer.innerHTML=""}function s(t){i.resultsContainer.innerHTML+=t}function l(t){var e;(e=t)&&0<e.length&&(c(),function(e,n){var r=e.length;if(0===r)return s(i.noResultsText);for(let t=0;t<r;t++)e[t].query=n,s(f.compile(e[t]))}(d.search(t),t))}function a(t){throw new Error("SimpleJekyllSearch --- "+t)}t.SimpleJekyllSearch=function(t){var n;0<o.validate(t).length&&a("You must specify the following required options: "+r),i=w.merge(i,t),f.setOptions({template:i.searchResultTemplate,middleware:i.templateMiddleware}),d.setOptions({fuzzy:i.fuzzy,limit:i.limit,sort:i.sortMiddleware,exclude:i.exclude}),w.isJSON(i.json)?u(i.json):(n=i.json,p.load(n,function(t,e){t&&a("failed to get JSON ("+n+")"),u(e)}));t={search:l};return"function"==typeof i.success&&i.success.call(t),t}}(window)}();
12
+ !function(){"use strict";var f={compile:function(r){return i.template.replace(i.pattern,function(t,e){var n=i.middleware(e,r[e],i.template);return void 0!==n?n:r[e]||t})},setOptions:function(t){i.pattern=t.pattern||i.pattern,i.template=t.template||i.template,"function"==typeof t.middleware&&(i.middleware=t.middleware)}};const i={pattern:/\{(.*?)\}/g,template:"",middleware:function(){}};var n=function(t,e){var n=e.length,r=t.length;if(n<r)return!1;if(r===n)return t===e;t:for(var i=0,o=0;i<r;i++){for(var u=t.charCodeAt(i);o<n;)if(e.charCodeAt(o++)===u)continue t;return!1}return!0},e=new function(){this.matches=function(t,e){return n(e.toLowerCase(),t.toLowerCase())}},r=new function(){this.matches=function(e,t){return!!e&&(e=e.trim().toLowerCase(),(t=t.trim().toLowerCase()).split(" ").filter(function(t){return 0<=e.indexOf(t)}).length===t.split(" ").length)}},d={put:function(t){if(l(t))return a(t);if(function(t){return Boolean(t)&&"[object Array]"===Object.prototype.toString.call(t)}(t))return function(n){const r=[];s();for(let t=0,e=n.length;t<e;t++)l(n[t])&&r.push(a(n[t]));return r}(t);return undefined},clear:s,search:function(t){return t?function(e,n,r,i){const o=[];for(let t=0;t<e.length&&o.length<i.limit;t++){var u=function(t,e,n,r){for(const i in t)if(!function(n,r){for(let t=0,e=r.length;t<e;t++){var i=r[t];if(new RegExp(i).test(n))return!0}return!1}(t[i],r.exclude)&&n.matches(t[i],e))return t}(e[t],n,r,i);u&&o.push(u)}return o}(u,t,c.searchStrategy,c).sort(c.sort):[]},setOptions:function(t){c=t||{},c.fuzzy=t.fuzzy||!1,c.limit=t.limit||10,c.searchStrategy=t.fuzzy?e:r,c.sort=t.sort||o,c.exclude=t.exclude||[]}};function o(){return 0}const u=[];let c={};function s(){return u.length=0,u}function l(t){return Boolean(t)&&"[object Object]"===Object.prototype.toString.call(t)}function a(t){return u.push(t),u}c.fuzzy=!1,c.limit=10,c.searchStrategy=c.fuzzy?e:r,c.sort=o,c.exclude=[];var p={load:function(t,e){const n=window.XMLHttpRequest?new window.XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP");n.open("GET",t,!0),n.onreadystatechange=h(n,e),n.send()}};function h(e,n){return function(){if(4===e.readyState&&200===e.status)try{n(null,JSON.parse(e.responseText))}catch(t){n(t,null)}}}var m=function y(t){if(!(e=t)||!("undefined"!=typeof e.required&&e.required instanceof Array))throw new Error("-- OptionsValidator: required options missing");var e;if(!(this instanceof y))return new y(t);const r=t.required;this.getRequiredOptions=function(){return r},this.validate=function(e){const n=[];return r.forEach(function(t){"undefined"==typeof e[t]&&n.push(t)}),n}},w={merge:function(t,e){const n={};for(const r in t)n[r]=t[r],"undefined"!=typeof e[r]&&(n[r]=e[r]);return n},isJSON:function(t){try{return t instanceof Object&&JSON.parse(JSON.stringify(t))?!0:!1}catch(e){return!1}}};!function(t){let i={searchInput:null,resultsContainer:null,json:[],success:Function.prototype,searchResultTemplate:'<div class="single_result"><div class="search_findresults"><a href="{url}" class="search_date"><i class="search_day">{date_day}</i>{date_my}</a><span class="search_summary"><h3><a href="{url}">{title}</a></h3>{summary}</span></div></div>',templateMiddleware:Function.prototype,sortMiddleware:function(){return 0},noResultsText:"No results found",limit:10,fuzzy:!1,debounceTime:null,exclude:[]},n;const e=function(t,e){e?(clearTimeout(n),n=setTimeout(t,e)):t.call()};var r=["searchInput","resultsContainer","json"];const o=m({required:r});function u(t){d.put(t),i.searchInput.addEventListener("input",function(t){-1===[13,16,20,37,38,39,40,91].indexOf(t.which)&&(c(),e(function(){l(t.target.value)},i.debounceTime))})}function c(){i.resultsContainer.innerHTML=""}function s(t){i.resultsContainer.innerHTML+=t}function l(t){var e;(e=t)&&0<e.length&&(c(),function(e,n){var r=e.length;if(0===r)return s(i.noResultsText);for(let t=0;t<r;t++)e[t].query=n,s(f.compile(e[t]))}(d.search(t),t))}function a(t){throw new Error("SimpleJekyllSearch --- "+t)}t.SimpleJekyllSearch=function(t){var n;0<o.validate(t).length&&a("You must specify the following required options: "+r),i=w.merge(i,t),f.setOptions({template:i.searchResultTemplate,middleware:i.templateMiddleware}),d.setOptions({fuzzy:i.fuzzy,limit:i.limit,sort:i.sortMiddleware,exclude:i.exclude}),w.isJSON(i.json)?u(i.json):(n=i.json,p.load(n,function(t,e){t&&a("failed to get JSON ("+n+")"),u(e)}));t={search:l};return"function"==typeof i.success&&i.success.call(t),t}}(window)}();
13
13
  </script>
14
14
 
15
15
 
16
-
17
- <!-- <div class="search_results">
18
- <div class="single_result"><div class="search_findresults"><span class="search_date"><a href="{url}"><i class="search_day">{date_day}</i></a><a href="{url}">{date_my}</a></span><span class="search_summary"><h3><a href="{url}">{title}</a></h3>{summary}</span></div></div>
19
- </div> -->
20
-
21
16
  <!-- Html Elements for Search -->
22
17
  <main id="search">
23
18
  <section>
@@ -32,14 +27,13 @@ layout: default
32
27
  </section>
33
28
  </main>
34
29
 
35
- <!-- Script pointing to search-script.js -->
36
- <!-- <script src="/path/to/search-script.js" type="text/javascript"></script> -->
37
30
 
38
31
  <!-- Configuration -->
39
32
  <script>
40
33
  SimpleJekyllSearch({
41
34
  searchInput: document.getElementById('search-input'),
42
35
  resultsContainer: document.getElementById('results-container'),
43
- json: '/assets/search.json'
36
+ json: '{{ post.url }}{{ site.baseurl }}/assets/search.json'
44
37
  })
38
+ console.log("test")
45
39
  </script>
data/_layouts/tags.html CHANGED
@@ -17,7 +17,7 @@ layout: default
17
17
 
18
18
  {% if sortedTags.size > 0 %}
19
19
  <!-- Show all tags sorted by count -->
20
- <div class="tags_all{% if site.layouts.tags.columns and site.layouts.tags.columns >= 1 and site.layouts.tags.columns <= 5 %}{{site.layouts.tags.columns}}{% else %}4{% endif %}">
20
+ <div class="tags_all tags_all{% if site.layouts.tags.columns and site.layouts.tags.columns >= 1 and site.layouts.tags.columns <= 5 %}{{site.layouts.tags.columns}}{% else %}4{% endif %}">
21
21
  <ul>
22
22
  {% for tag in sortedTags %}
23
23
  {% assign tagParts = tag | split: '&#x1F;' %}
@@ -53,18 +53,15 @@ layout: default
53
53
 
54
54
  {% for post in tag[1] %}
55
55
  <div class="tags_findresult">
56
- <span class="tags_date">
57
- <a href="{{ post.url }}">
58
- <i class="tags_day">{{ post.date | date: "%d" }}</i>
59
- </a>
60
- <a href="{{ post.url }}">
61
- <span>{{ post.date | date: "%b/%Y" }}</span>
62
- </a>
63
- </span>
56
+
57
+ <a href="{{ site.baseurl }}{{ post.url }}" class="tags_date">
58
+ <i class="tags_day">{{ post.date | date: "%d" }}</i>
59
+ <span>{{ post.date | date: "%b/%Y" }}</span>
60
+ </a>
64
61
 
65
62
  <span class="tags_summary">
66
63
  <h3>
67
- <a href="{{ post.url }}">{{ post.title }}</a>
64
+ <a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
68
65
  </h3>
69
66
  {{ post.content | markdownify | strip_html | truncatewords: 50 }}
70
67
  </span>
@@ -5,6 +5,9 @@ date: 2021-01-01
5
5
  tags: markdown test
6
6
  subtitle: "copied from https://github.com/fullpipe/markdown-test-page/tree/master"
7
7
  ---
8
+ # **bold title**
9
+
10
+ Special Character Test: % | { } \ " ' , :
8
11
 
9
12
  # <a name="top"></a>Markdown Test Page
10
13
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  layout: post
3
- title: "Chatgpt Testpost all markdown elements"
3
+ title: "Supercalifragilisticexpialidocious: A Comprehensive Guide to the Longest Word in the English Language"
4
4
  date: 2022-12-12
5
5
  tags: champion test
6
6
  subtitle: "testing can be fun"
@@ -110,7 +110,7 @@ test ob ich liquid in markdown verwenden kann
110
110
  paginator.posts:
111
111
 
112
112
  {% for post in paginator.posts %}
113
- <a href="{{ post.url }}"><h3>{{ post.title }}</h3></a>
113
+ <a href="{{ site.baseurl }}{{ post.url }}"><h3>{{ post.title }}</h3></a>
114
114
  {% endfor %}
115
115
 
116
116
  site.description: