jekyll-theme-horizon-flow 0.1.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +29 -86
- data/_config.yml +4 -4
- data/_includes/footer.html +3 -3
- data/_includes/header.html +1 -1
- data/_layouts/archive.html +3 -3
- data/_layouts/categories.html +3 -3
- data/_layouts/default.html +1 -1
- data/_layouts/home.html +5 -5
- data/_layouts/post.html +2 -2
- data/_layouts/search.html +2 -8
- data/_layouts/tags.html +3 -3
- data/_posts/2021-01-01-markdown-test-page.md +3 -0
- data/_posts/2023-07-13-title-for-champions.md +1 -1
- data/assets/search.json +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b1490345f03372f82de84d6e7cbf9bb019b71b7eaf29004d33864cc50056162
|
4
|
+
data.tar.gz: 3ca9974557e6cd103bbce7f55ec75cc35b5685aab2ec9a3e42f69839cd6653ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8748f115726697bef71a04e003b388606e6c41943e10eb678ba6562c6286d25ad2b04a213fcf55268688154201dd747bea7d72b1f9d06ba6aa0993a405a0d678
|
7
|
+
data.tar.gz: 05dcf53e6abff5e184cd946187f9b33e01c592b2c3c4e056241322b30bab813dc8eb0404a7e01e8d905a5e24b5f0e916310f62c8e8b1face7e24fa9935bde007
|
data/README.md
CHANGED
@@ -1,22 +1,22 @@
|
|
1
|
-
# Horizon Flow Jekyll Theme
|
1
|
+
# [Horizon Flow Jekyll Theme](https://papierkorp.github.io/jekyll-theme-horizon-flow/)
|
2
|
+
|
3
|
+
<!-- MarkdownTOC -->
|
2
4
|
|
3
5
|
- [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
6
|
- [Configuration](#configuration)
|
10
7
|
- [Site URL](#site-url)
|
11
8
|
- [Site Base URL](#site-base-url)
|
12
9
|
- [Navigation](#navigation)
|
13
10
|
- [Footer](#footer)
|
11
|
+
- [Layouts](#layouts)
|
14
12
|
- [Footer Sidebar](#footer-sidebar)
|
15
13
|
- [Table of Contents](#table-of-contents)
|
16
14
|
- [paginate](#paginate)
|
15
|
+
- [Read Time](#read-time)
|
17
16
|
- [default plugins](#default-plugins)
|
17
|
+
- [Configurable Labels](#configurable-labels)
|
18
18
|
- [Front Matter](#front-matter)
|
19
|
-
- [Layouts](#layouts)
|
19
|
+
- [Layouts](#layouts-1)
|
20
20
|
- [`layout: default`](#layout-default)
|
21
21
|
- [`layout: post`](#layout-post)
|
22
22
|
- [`layout: archive`](#layout-archive)
|
@@ -24,11 +24,15 @@
|
|
24
24
|
- [`layout: categories`](#layout-categories)
|
25
25
|
- [`layout: search`](#layout-search)
|
26
26
|
- [`layout: tags`](#layout-tags)
|
27
|
+
- [whislist](#whislist)
|
28
|
+
|
29
|
+
<!-- /MarkdownTOC -->
|
30
|
+
|
27
31
|
|
28
32
|
|
29
33
|
[![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
34
|
[![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)]()
|
35
|
+
[![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
36
|
|
33
37
|
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
38
|
|
@@ -44,103 +48,40 @@ This theme can offer:
|
|
44
48
|
* Carefully designed posts for almost all Markup elements
|
45
49
|
* Activateable TOC and to the TOP Buttons for each post
|
46
50
|
|
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
|
-
|
51
|
+
![Horizon Flow Screenshots](https://papierkorp.github.io/jekyll-theme-horizon-flow/screenshot.png)
|
52
|
+
![Horizon Flow Screenshots](https://papierkorp.github.io/jekyll-theme-horizon-flow/post.png)
|
53
|
+
![Horizon Flow Screenshots](https://papierkorp.github.io/jekyll-theme-horizon-flow/post_toc.png)
|
54
|
+
![Horizon Flow Screenshots](https://papierkorp.github.io/jekyll-theme-horizon-flow/categories.png)
|
55
|
+
![Horizon Flow Screenshots](https://papierkorp.github.io/jekyll-theme-horizon-flow/tags.png)
|
56
|
+
![Horizon Flow Screenshots](https://papierkorp.github.io/jekyll-theme-horizon-flow/archive.png)
|
56
57
|
|
57
58
|
|
58
59
|
## Installation
|
59
60
|
|
60
|
-
|
61
|
+
1. Follow the [Jekyll Quickstart](https://jekyllrb.com/docs/)
|
61
62
|
|
62
|
-
|
63
|
-
|
64
|
-
1. Add this line to your Jekyll site's `Gemfile`:
|
63
|
+
2. Add this line to your Jekyll site's `Gemfile`:
|
65
64
|
|
66
65
|
```ruby
|
67
66
|
gem "jekyll-theme-horizon-flow"
|
68
67
|
```
|
69
68
|
|
70
|
-
|
69
|
+
3. Add one of those lines to your Jekyll site's `_config.yml` file:
|
71
70
|
|
72
71
|
```yaml
|
73
72
|
theme: jekyll-theme-horizon-flow
|
73
|
+
#remote_theme: papierkorp/jekyll-theme-horizon-flow #if you host on github pages
|
74
74
|
```
|
75
75
|
|
76
|
-
|
76
|
+
4. Then run [Bundler](http://bundler.io/) to install the theme gem and dependencies:
|
77
77
|
|
78
78
|
```terminal
|
79
79
|
bundle install
|
80
80
|
```
|
81
81
|
|
82
|
-
|
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/).
|
82
|
+
5. Rename `index.md` to [`index.html`](index.html)
|
102
83
|
|
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.
|
128
|
-
|
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)
|
84
|
+
6. Follow the [Navigation setup](#Navigation) guide to make the best out of the theme.
|
144
85
|
|
145
86
|
|
146
87
|
|
@@ -272,11 +213,13 @@ As for the possible Configurations this theme offers take note of the following:
|
|
272
213
|
* [Site Base URL](#site-base-url)
|
273
214
|
* [Navigation](#navigation)
|
274
215
|
* [Footer](#footer)
|
216
|
+
* [Layouts](#layouts)
|
275
217
|
* [Footer Sidebar](#footer-sidebar)
|
276
218
|
* [Table of Contents](#table-of-contents)
|
277
219
|
* [paginate](#paginate)
|
220
|
+
* [Read Time](#read-time)
|
278
221
|
* [default plugins](#default-plugins)
|
279
|
-
|
222
|
+
* [Configurable Labels](#configurable-labels)
|
280
223
|
|
281
224
|
### Site URL
|
282
225
|
|
@@ -672,4 +615,4 @@ There is no front matter for it.
|
|
672
615
|
+ fix for mobile screens
|
673
616
|
- post
|
674
617
|
+ fix TOC for mobile screens
|
675
|
-
- more colors
|
618
|
+
- 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
|
-
|
30
|
+
remote_theme: papierkorp/jekyll-theme-horizon-flow
|
31
31
|
plugins:
|
32
32
|
- jekyll-feed
|
33
33
|
- jekyll-paginate
|
@@ -100,4 +100,4 @@ paginate_path: "/:num/"
|
|
100
100
|
read_time_after: "min read"
|
101
101
|
words_per_minute: 180
|
102
102
|
|
103
|
-
permalink: /posts/:title #remove date from link
|
103
|
+
permalink: /posts/:title #remove date from link
|
data/_includes/footer.html
CHANGED
@@ -41,7 +41,7 @@
|
|
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>
|
@@ -62,7 +62,7 @@
|
|
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>
|
@@ -73,7 +73,7 @@
|
|
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>
|
data/_includes/header.html
CHANGED
@@ -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 %}
|
data/_layouts/archive.html
CHANGED
@@ -54,10 +54,10 @@ layout: default
|
|
54
54
|
|
55
55
|
<span class="archive_date">
|
56
56
|
|
57
|
-
<a href="{{ post.url }}">
|
57
|
+
<a href="{{ site.baseurl }}{{ post.url }}">
|
58
58
|
<i class="archive_day">{{ post.date | date: "%d" }}</i>
|
59
59
|
</a>
|
60
|
-
<a href="{{ post.url }}">
|
60
|
+
<a href="{{ site.baseurl }}{{ post.url }}">
|
61
61
|
<span>{{ post.date | date: "%b/%Y" }}</span>
|
62
62
|
</a>
|
63
63
|
|
@@ -65,7 +65,7 @@ layout: default
|
|
65
65
|
|
66
66
|
<span class="archive_summary">
|
67
67
|
<h3>
|
68
|
-
<a href="{{ post.url
|
68
|
+
<a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
|
69
69
|
</h3>
|
70
70
|
{{ post.content | markdownify | strip_html | truncatewords: 50 }}
|
71
71
|
</span>
|
data/_layouts/categories.html
CHANGED
@@ -57,10 +57,10 @@ layout: default
|
|
57
57
|
<div class="categories_findresult">
|
58
58
|
<span class="categories_date">
|
59
59
|
|
60
|
-
<a href="{{ post.url }}">
|
60
|
+
<a href="{{ site.baseurl }}{{ post.url }}">
|
61
61
|
<i class="categories_day">{{ post.date | date: "%d" }}</i>
|
62
62
|
</a>
|
63
|
-
<a href="{{ post.url }}">
|
63
|
+
<a href="{{ site.baseurl }}{{ post.url }}">
|
64
64
|
<span>{{ post.date | date: "%b/%Y" }}</span>
|
65
65
|
</a>
|
66
66
|
|
@@ -68,7 +68,7 @@ layout: default
|
|
68
68
|
|
69
69
|
<span class="categories_summary">
|
70
70
|
<h3>
|
71
|
-
<a href="{{ post.url }}">{{ post.title }}</a>
|
71
|
+
<a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
|
72
72
|
</h3>
|
73
73
|
{{ post.content | markdownify | strip_html | truncatewords: 50 }}
|
74
74
|
</span>
|
data/_layouts/default.html
CHANGED
@@ -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
|
32
|
+
<a href="{{ site.baseurl }}/tags#{{ tag | slugify }}">{{ tag }}</a>{% if forloop.last == false %},{% endif %}
|
33
33
|
{% endfor %}
|
34
34
|
</span>
|
35
35
|
{% endif %}
|
@@ -47,11 +47,11 @@ layout: default
|
|
47
47
|
<!-- Pagination links -->
|
48
48
|
<div class="pagination">
|
49
49
|
{% 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>
|
50
|
+
<a class="previous" href="{{ site.baseurl}}{{ paginator.previous_page_path }}"><span class="spanprevious"><i class="arrow left" title="previous page"></i></span></a>
|
51
51
|
{% endif %}
|
52
52
|
<p class="page_count">{{ paginator.page }} / {{ paginator.total_pages }}</p>
|
53
53
|
{% 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>
|
54
|
+
<a class="next" href="{{ site.baseurl}}{{ paginator.next_page_path }}"><span class="spannext"><i class="arrow right" title="next page"></i></span></a>
|
55
55
|
{% endif %}
|
56
56
|
</div>
|
57
57
|
</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
@@ -13,11 +13,6 @@ layout: default
|
|
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
@@ -54,17 +54,17 @@ layout: default
|
|
54
54
|
{% for post in tag[1] %}
|
55
55
|
<div class="tags_findresult">
|
56
56
|
<span class="tags_date">
|
57
|
-
<a href="{{ post.url }}">
|
57
|
+
<a href="{{ site.baseurl }}{{ post.url }}">
|
58
58
|
<i class="tags_day">{{ post.date | date: "%d" }}</i>
|
59
59
|
</a>
|
60
|
-
<a href="{{ post.url }}">
|
60
|
+
<a href="{{ site.baseurl }}{{ post.url }}">
|
61
61
|
<span>{{ post.date | date: "%b/%Y" }}</span>
|
62
62
|
</a>
|
63
63
|
</span>
|
64
64
|
|
65
65
|
<span class="tags_summary">
|
66
66
|
<h3>
|
67
|
-
<a href="{{ post.url }}">{{ post.title }}</a>
|
67
|
+
<a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
|
68
68
|
</h3>
|
69
69
|
{{ post.content | markdownify | strip_html | truncatewords: 50 }}
|
70
70
|
</span>
|
@@ -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:
|
data/assets/search.json
CHANGED
@@ -6,8 +6,8 @@
|
|
6
6
|
{% if post.searchable != false %}
|
7
7
|
{
|
8
8
|
"title" : "{{ post.title | escape }}",
|
9
|
-
"summary" :
|
10
|
-
"url" : "{{ site.baseurl }}{{ post.url }}",
|
9
|
+
"summary" : {{ post.content | strip_html | truncatewords: 50 | jsonify }},
|
10
|
+
"url" : "{{site.url}}{{ site.baseurl }}{{ post.url }}",
|
11
11
|
"category" : "{{ post.categories | join: ', ' }}",
|
12
12
|
"tags" : "{{ post.tags | join: ', ' }}",
|
13
13
|
"keywords" : "{{ post.search_keywords }}",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-horizon-flow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Markus Schiller
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09-
|
11
|
+
date: 2023-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|