jekyll-theme-endless 0.23.1 → 0.23.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a859f17fdb1330ea0f52419e406e09a3f25f1e7a146f7336a5711cf8c795e242
|
|
4
|
+
data.tar.gz: 6cc6484d9bcde77f9838968f78715dfe4fb03c16987ed5fda7f6eca054a83aa8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6702d2f326268694c18993a612d9a897f39238bb82b7cf8f30eb86e9f5b41b1f0a71cd0cea9522d73b98dc9a827d46c831c883b7524871631dfb5b4062159925
|
|
7
|
+
data.tar.gz: '09d9fd748914d50b5f860a835ae106f5b7c6b202216c9b1a8e641b279dce68a80a02aa3ce226ff929f0688de7574fb56975d396c654463bee051c87b1487eec7'
|
data/README.adoc
CHANGED
|
@@ -768,8 +768,8 @@ In such cases, you can configure a prefix so that your tag folders are not store
|
|
|
768
768
|
[source, yaml]
|
|
769
769
|
----
|
|
770
770
|
# For each tag, a folder with the tag's name is created.
|
|
771
|
-
# Names that start with a dot, for example `.htaccess
|
|
772
|
-
# Therefore, a prefix can be added in the
|
|
771
|
+
# Names that start with a dot, can cause problems (for example `.htaccess` on Apache servers).
|
|
772
|
+
# Therefore, a prefix can be added in the name of the tag-folder.
|
|
773
773
|
# default: ``
|
|
774
774
|
dir_for_tag_prefix: "tag_"
|
|
775
775
|
----
|
|
@@ -20,7 +20,7 @@ files for tag-pages using filenames with the unescaped tag.
|
|
|
20
20
|
{{ include.description.long | asciidocify }}
|
|
21
21
|
<p>
|
|
22
22
|
{% if number > 0 %}
|
|
23
|
-
Number of <a href="{{ '/' | append: tag_dir | append: '/' | append: dir_for_tag_prefix | append: include.term | relative_url }}">posts tagged with "{{ include.term | escape }}"</a>:
|
|
23
|
+
Number of <a href="{{ '/' | append: tag_dir | append: '/' | append: dir_for_tag_prefix | append: include.term | append: '/index.html' | relative_url }}">posts tagged with "{{ include.term | escape }}"</a>:
|
|
24
24
|
{% else %}
|
|
25
25
|
Number of posts tagged with "{{ include.term | escape }}":
|
|
26
26
|
{% endif %}
|
|
@@ -33,7 +33,7 @@ files for tag-pages using filenames with the unescaped tag.
|
|
|
33
33
|
{{ include.description.short | asciidocify }}
|
|
34
34
|
<p>
|
|
35
35
|
{% if number > 0 %}
|
|
36
|
-
Number of <a href="{{ '/' | append: tag_dir | append: '/' | append: dir_for_tag_prefix | append: include.term | relative_url }}">posts tagged with "{{ include.term | escape }}"</a>:
|
|
36
|
+
Number of <a href="{{ '/' | append: tag_dir | append: '/' | append: dir_for_tag_prefix | append: include.term | append: '/index.html' | relative_url }}">posts tagged with "{{ include.term | escape }}"</a>:
|
|
37
37
|
{% else %}
|
|
38
38
|
Number of posts tagged with "{{ include.term | escape }}":
|
|
39
39
|
{% endif %}
|
|
@@ -82,7 +82,7 @@ Assumption: Non of the tags occurs more than one million times.
|
|
|
82
82
|
{% endcomment %}
|
|
83
83
|
{% assign tag_dir = site.tag_dir | default: 'tags' %}
|
|
84
84
|
{% assign dir_for_tag_prefix = site.dir_for_tag_prefix | default: '' %}
|
|
85
|
-
href="{{ '/' | append: tag_dir | append: '/' | append: dir_for_tag_prefix | append: tag | relative_url }}"
|
|
85
|
+
href="{{ '/' | append: tag_dir | append: '/' | append: dir_for_tag_prefix | append: tag | append: '/index.html' | relative_url }}"
|
|
86
86
|
style = "font-size: {{ percent }}%"
|
|
87
87
|
|
|
88
88
|
{% if site.data.tag-description[tag].short %}
|
data/_includes/function_tag.html
CHANGED
|
@@ -20,7 +20,7 @@ Call via:
|
|
|
20
20
|
{% endcomment %}
|
|
21
21
|
{% assign tag_dir = site.tag_dir | default: 'tags' %}
|
|
22
22
|
{% assign dir_for_tag_prefix = site.dir_for_tag_prefix | default: '' %}
|
|
23
|
-
href="{{ '/' | append: tag_dir | append: '/' | append: dir_for_tag_prefix | append: include.tag | relative_url }}"
|
|
23
|
+
href="{{ '/' | append: tag_dir | append: '/' | append: dir_for_tag_prefix | append: include.tag | append: '/index.html' | relative_url }}"
|
|
24
24
|
>{{ include.tag | escape }}</a>
|
|
25
25
|
{% else %}
|
|
26
26
|
<span class="badge badge-pill badge-secondary">{{ include.tag | escape }}</span>
|
|
@@ -48,8 +48,8 @@ module Jekyll
|
|
|
48
48
|
# For each tag in the tag-list:
|
|
49
49
|
site.tags.each_key do |tag|
|
|
50
50
|
# For each tag, a folder with the tag's name is created.
|
|
51
|
-
# Names that start with a dot, for example
|
|
52
|
-
# Therefore, a prefix can be
|
|
51
|
+
# Names that start with a dot, can cause problems (for example `.htaccess` on Apache servers).
|
|
52
|
+
# Therefore, a prefix for the name of the tag-folder can be configured in the _config.yml.
|
|
53
53
|
# I set the default value to an empty string.
|
|
54
54
|
# Reason: If the default value is not empty, I cannot override it with an empty string
|
|
55
55
|
# from the _config.yml when creating links in Liquid.
|