Skip to content

Commit bd50e79

Browse files
author
git-no
committed
Fix missing include files in lib
1 parent 9f3d855 commit bd50e79

File tree

5 files changed

+176
-85
lines changed

5 files changed

+176
-85
lines changed

VERSION.md

Lines changed: 91 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
# Version Description
1+
# Version List
2+
3+
## v.3.0.0
4+
5+
**SUMMARY**: Major performance improvement. Complete redesign. Beta Version.
26

37
## Beta
48
This is a beta version. Not fully tested.
5-
LSI, Permalink not tested yet.
9+
LSI, permalinks not tested yet.
610

7-
### Change Log
11+
### Changes
812
- Improved performance, much faster, espacially with larger sites
913
- Smaller nav-breadcrumb.html include file (also less liquid code)
1014
- Better support of Jekyll collections, pages and posts
@@ -28,4 +32,88 @@ We do not provide individual support. If your find issues about the plugin pleas
2832
[https://developers.google.com/search/docs/data-types/breadcrumbs](https://developers.google.com/search/docs/data-types/breadcrumbs)
2933
[http://schema.org/BreadcrumbList](http://schema.org/BreadcrumbList)
3034

35+
---
36+
37+
## v.2.0.0
38+
### Changes
39+
- Reconstruction and simplifying of core plugin and breadcrumb include html
40+
- Reduced dependencies to files
41+
- Added example CSS included within nav-breadcrumb.html
42+
- Added some more example pages
43+
- Added option to enable/disable breadcrumbs on home page via _config.yml
44+
- Added option to enable/disable image or text as root breadcrumb via _config.yml
45+
- Removed SCSS template
46+
- Removed translation plugin support
47+
- Updated readme and installation description
48+
49+
### Fixes
50+
- Collection breadcrumb items are not shown
51+
- Several other bugs
52+
53+
---
54+
55+
## v.1.0.5
56+
57+
### Fixes
58+
- Wrong folder name drops (could lead to plugin integration failures)
59+
60+
---
61+
62+
## v.1.0.4
63+
**Summary**: improvements for first time installation.
64+
65+
### Changes
66+
- Default root breadcrumb item is text (not image anymore).
67+
- Default is now the plugin works out of the box without the language-plugin (previously without the language-plugin installed, building Jekyll failed without code modifications).
68+
69+
### Fixes
70+
- Fix jekyll build error if YAML page.language is not set.
71+
`Liquid Exception: wrong argument type nil (expected Regexp) ...`
72+
- Fix configuration description for integrating language-plugin.
73+
- Fix CSS style for root breadcrumb item as text.
74+
75+
---
76+
77+
## v.1.0.3
78+
79+
### Enhancements
80+
- Added icon example files
81+
- Improved installation description
82+
- Improved source code readability
83+
84+
### Fixes
85+
- Resolved file name collision of style.css
86+
- Fix naming of folder plugins
87+
88+
---
89+
90+
## v.1.0.2
91+
92+
### Features
93+
- Support of breadcrumb item translation
94+
95+
### Fixes
96+
- Fix translation of breadcrumbs with multiple items in a row
97+
- Fix of breadcrumb style. Implemented CSS instead SCSS. Runs also without Twitter Bootstrap.
98+
99+
---
100+
101+
## v.1.0.1
102+
103+
### Bug Fixes
104+
- Breadcrumb on root level (homepage) was visible in combination with page.language
105+
106+
---
107+
108+
## v.1.0.0
31109

110+
### Features
111+
- Works with posts, pages and collections.
112+
- HTML5 compliant and includes a HTML template for quick integration.
113+
- SEO improved, implements Googles RDFA format.
114+
- Works with Pretty Permalinks.
115+
- Breadcrumb title can differ from page title.
116+
- Hides breadcrumbs at root page.
117+
- Skips language breadcrumb page.language if jekyll-language-plugin is in use.
118+
- Icon for root level.
119+
- Works as Jekyll Hook, does not require an additional Ruby GEM.

_config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ description: >- # this means to ignore newlines until "baseurl:"
1919
Write an awesome description for your new site here. You can edit this
2020
line in _config.yml. It will appear in your document head meta (for
2121
Google search results) and in your feed.xml site description.
22-
baseurl: "/blog" # the subpath of your site, e.g. /blog
23-
url: "http://localhost:4000" # the base hostname & protocol for your site, e.g. http://example.com
22+
baseurl: "" # the subpath of your site, e.g. /blog
23+
url: "" # the base hostname & protocol for your site, e.g. http://example.com
2424
twitter_username: jekyllrb
2525
github_username: jekyll
2626

lib/_includes/icon.html

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 2 additions & 2 deletions
Loading

lib/_includes/nav-breadcrumbs.html

Lines changed: 81 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -1,88 +1,92 @@
1-
<nav class="breadcrumbs bootstrap hidden-sm-down" {% if (page.url == '/') and (site.breadcrumbs.root.hide) %}{{ 'style="display: none;"' }}{% endif %}>
2-
<ol class="breadcrumb list-unstyled" vocab="http://schema.org/" typeof="BreadcrumbList">
3-
4-
{% for crumb in breadcrumbs %}
5-
{% if forloop.first and site.breadcrumbs.root.image %}
6-
{% include icon.html class="breadcrumb-item" color=include.color %}
7-
{% continue %}
8-
{% endif %}
9-
1+
<nav class="breadcrumbs bootstrap hidden-sm-down">
2+
<ol class="breadcrumb list-unstyled" vocab="http://schema.org/" typeof="BreadcrumbList">
3+
4+
{% for crumb in breadcrumbs %}
5+
{% if forloop.first and site.breadcrumbs.root.image %}
6+
<li class="breadcrumb-item breadcrumb-item-icon" property="itemListElement" typeof="ListItem">
7+
<a property="item" typeof="WebPage" href="{{ crumb.url | relative_url }}">
8+
<span class="icon" property="name">{% include nav-breadcrumb-icon.svg %}</span>
9+
<meta property="position" content="{{ crumb.position }}" />
10+
</a>
11+
</li>
12+
{% continue %}
13+
{% endif %}
1014
{% if forloop.last %}
11-
<li class="breadcrumb-item" property="itemListElement" typeof="ListItem"><span property="name">{{ crumb.title }}</span><meta property="position" content="{{ crumb.position }}" /></li>
12-
{% continue %}
13-
{% endif %}
1415
<li class="breadcrumb-item" property="itemListElement" typeof="ListItem">
15-
<a property="item" typeof="WebPage" href="{{ crumb.url | prepend: site.baseurl }}"><span property="name">{{ crumb.title }}</span><meta property="position" content="{{ crumb.position }}" /></a>
16+
<span property="name">{{ crumb.title }}</span>
17+
<meta property="position" content="{{ crumb.position }}" />
18+
</li>
19+
{% continue %} {% endif %}
20+
<li class="breadcrumb-item" property="itemListElement" typeof="ListItem">
21+
<a property="item" typeof="WebPage" href="{{ crumb.url | relative_url }}">
22+
<span property="name">{{ crumb.title }}</span>
23+
<meta property="position" content="{{ crumb.position }}" />
24+
</a>
1625
</li>
17-
{% endfor %}
26+
{% endfor %}
1827

19-
</ol>
28+
</ol>
2029
</nav>
2130

2231

2332

2433
<!-- This is an example of CSS. Maybe you want to implement the css code into your main css file or modify it as you want -->
2534
<style>
26-
nav.breadcrumbs.bootstrap {
27-
/* from Twitter Bootstrap 4 */
28-
/* If you already use Twitter, you do not need these css lines above, cause they already in Twitter Bootstrap */
29-
/* Additions: image integration */
30-
}
31-
nav.breadcrumbs.bootstrap ol {
32-
margin-left: 0
33-
}
34-
nav.breadcrumbs.bootstrap .breadcrumb {
35-
font-size: 1rem;
36-
padding: 0.75rem 1rem;
37-
margin-bottom: 1rem;
38-
list-style: none;
39-
background-color: #f1f2ed;
40-
border-radius: 0.25rem;
41-
}
42-
nav.breadcrumbs.bootstrap .breadcrumb::after {
43-
content: "";
44-
display: table;
45-
clear: both;
46-
}
47-
nav.breadcrumbs.bootstrap .breadcrumb-item {
48-
float: left;
49-
}
50-
nav.breadcrumbs.bootstrap .breadcrumb-item + .breadcrumb-item::before {
51-
display: inline-block;
52-
padding-right: 0.5rem;
53-
padding-left: 0.5rem;
54-
color: #818a91;
55-
content: "/";
56-
}
57-
nav.breadcrumbs.bootstrap .breadcrumb-item + .breadcrumb-item:hover::before {
58-
text-decoration: underline;
59-
}
60-
nav.breadcrumbs.bootstrap .breadcrumb-item + .breadcrumb-item:hover::before {
61-
text-decoration: none;
62-
}
63-
nav.breadcrumbs.bootstrap .breadcrumb-item-active {
64-
color: #818a91;
65-
}
35+
nav.breadcrumbs.bootstrap {
36+
/* from Twitter Bootstrap 4 */
37+
/* If you already use Twitter, you do not need these css lines above, cause they already in Twitter Bootstrap */
38+
/* Additions: image integration */
39+
}
40+
41+
nav.breadcrumbs.bootstrap ol {
42+
margin-left: 0
43+
}
44+
45+
nav.breadcrumbs.bootstrap .breadcrumb {
46+
font-size: 1rem;
47+
padding: 0.75rem 1rem;
48+
margin-bottom: 1rem;
49+
list-style: none;
50+
background-color: #f1f2ed;
51+
border-radius: 0.25rem;
52+
}
53+
54+
nav.breadcrumbs.bootstrap .breadcrumb::after {
55+
content: "";
56+
display: table;
57+
clear: both;
58+
}
59+
60+
nav.breadcrumbs.bootstrap .breadcrumb-item {
61+
float: left;
62+
}
63+
64+
nav.breadcrumbs.bootstrap .breadcrumb-item+.breadcrumb-item::before {
65+
display: inline-block;
66+
padding-right: 0.5rem;
67+
padding-left: 0.5rem;
68+
color: #818a91;
69+
content: "/";
70+
}
71+
72+
nav.breadcrumbs.bootstrap .breadcrumb-item+.breadcrumb-item:hover::before {
73+
text-decoration: underline;
74+
}
75+
76+
nav.breadcrumbs.bootstrap .breadcrumb-item+.breadcrumb-item:hover::before {
77+
text-decoration: none;
78+
}
79+
80+
nav.breadcrumbs.bootstrap .breadcrumb-item-active {
81+
color: #818a91;
82+
}
83+
84+
nav.breadcrumbs.bootstrap .breadcrumb .icon {
85+
display: inline-block;
86+
}
6687

67-
nav.breadcrumbs.bootstrap .breadcrumb a.breadcrumb-item:after {
68-
display: inline-block;
69-
padding-right: 0.5rem;
70-
padding-left: 0.5rem;
71-
content: "/";
72-
text-decoration: none;
73-
}
74-
nav.breadcrumbs.bootstrap .breadcrumb .icon:after {
75-
display: inline-block;
76-
padding-right: 0.5rem;
77-
padding-left: 0.5rem;
78-
color: #818a91;
79-
content: "/";
80-
}
81-
nav.breadcrumbs.bootstrap .breadcrumb .icon {
82-
display: inline-block;
83-
}
84-
nav.breadcrumbs.bootstrap .breadcrumb .icon svg {
85-
height: 0.7rem;
86-
width: 0.7rem;
87-
}
88-
</style>
88+
nav.breadcrumbs.bootstrap .breadcrumb .icon svg {
89+
height: 0.8rem;
90+
width: 0.8rem;
91+
}
92+
</style>

0 commit comments

Comments
 (0)