jekyll-theme-minimal-bootstrap 0.1.2 → 0.1.5
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 +4 -4
- data/README.md +3 -7
- metadata +49 -12
- data/_includes/footer.html +0 -36
- data/_includes/head.html +0 -34
- data/_includes/header.html +0 -25
- data/_includes/main.html +0 -3
- data/_layouts/blog.html +0 -29
- data/_layouts/default.html +0 -1
- data/_layouts/page.html +0 -17
- data/_layouts/post.html +0 -31
- data/assets/images/apple-touch-icon.png +0 -0
- data/assets/images/favicon.png +0 -0
- data/assets/javascript/minimal-bootstrap.js +0 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ecd5d717064cb2b8c5b65dd3166255b470282c9d5c758ebb242e56ba22adedf3
|
|
4
|
+
data.tar.gz: 6c85717af669f14cac69b48b45c9e3c88614bd8dcc96d2c3632c183ef103f6dc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4c646e0221450e2a8fe01b45ace4e940b2e236178b495ebee6fba328a13001ef285ca0499d87a8f2fccda899f3224d6aa47134edcb7dc20cc15b50c423979881
|
|
7
|
+
data.tar.gz: 6876939c59e25d48114648beea48f53fb5adaede0f966a329f4233671a017d6df512a6ca3fe68953956ad43e1d560ef55f97da1746223f847f1c8e07617db75d
|
data/README.md
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
|
|
4
|
-
|
|
5
|
-
To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
|
|
6
|
-
|
|
7
|
-
TODO: Delete this and the text above, and describe your gem
|
|
1
|
+
# A minimal Jekyll Theme with Bootstrap 4 support
|
|
8
2
|
|
|
3
|
+
Yet another Jekyll theme, with native support for Bootstrap 4.2.1, JQuery 3.3.1,
|
|
4
|
+
PopperJs 1.14, FontAwesome 5.6.3.
|
|
9
5
|
|
|
10
6
|
## Installation
|
|
11
7
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-theme-minimal-bootstrap
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- saltgz
|
|
@@ -44,6 +44,54 @@ dependencies:
|
|
|
44
44
|
- - "~>"
|
|
45
45
|
- !ruby/object:Gem::Version
|
|
46
46
|
version: 0.11.0
|
|
47
|
+
- !ruby/object:Gem::Dependency
|
|
48
|
+
name: jekyll-redirect-from
|
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - "~>"
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: 0.14.0
|
|
54
|
+
type: :runtime
|
|
55
|
+
prerelease: false
|
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
57
|
+
requirements:
|
|
58
|
+
- - "~>"
|
|
59
|
+
- !ruby/object:Gem::Version
|
|
60
|
+
version: 0.14.0
|
|
61
|
+
- !ruby/object:Gem::Dependency
|
|
62
|
+
name: jekyll-sitemap
|
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
|
64
|
+
requirements:
|
|
65
|
+
- - ">="
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
version: 1.2.0
|
|
68
|
+
- - "~>"
|
|
69
|
+
- !ruby/object:Gem::Version
|
|
70
|
+
version: '1.2'
|
|
71
|
+
type: :runtime
|
|
72
|
+
prerelease: false
|
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
74
|
+
requirements:
|
|
75
|
+
- - ">="
|
|
76
|
+
- !ruby/object:Gem::Version
|
|
77
|
+
version: 1.2.0
|
|
78
|
+
- - "~>"
|
|
79
|
+
- !ruby/object:Gem::Version
|
|
80
|
+
version: '1.2'
|
|
81
|
+
- !ruby/object:Gem::Dependency
|
|
82
|
+
name: jekyll-toc
|
|
83
|
+
requirement: !ruby/object:Gem::Requirement
|
|
84
|
+
requirements:
|
|
85
|
+
- - "~>"
|
|
86
|
+
- !ruby/object:Gem::Version
|
|
87
|
+
version: 0.9.1
|
|
88
|
+
type: :runtime
|
|
89
|
+
prerelease: false
|
|
90
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
91
|
+
requirements:
|
|
92
|
+
- - "~>"
|
|
93
|
+
- !ruby/object:Gem::Version
|
|
94
|
+
version: 0.9.1
|
|
47
95
|
- !ruby/object:Gem::Dependency
|
|
48
96
|
name: bundler
|
|
49
97
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -87,17 +135,6 @@ extra_rdoc_files: []
|
|
|
87
135
|
files:
|
|
88
136
|
- LICENSE.txt
|
|
89
137
|
- README.md
|
|
90
|
-
- _includes/footer.html
|
|
91
|
-
- _includes/head.html
|
|
92
|
-
- _includes/header.html
|
|
93
|
-
- _includes/main.html
|
|
94
|
-
- _layouts/blog.html
|
|
95
|
-
- _layouts/default.html
|
|
96
|
-
- _layouts/page.html
|
|
97
|
-
- _layouts/post.html
|
|
98
|
-
- assets/images/apple-touch-icon.png
|
|
99
|
-
- assets/images/favicon.png
|
|
100
|
-
- assets/javascript/minimal-bootstrap.js
|
|
101
138
|
homepage: https://github.com/saltgz/jekyll-theme-minimal-bootstrap
|
|
102
139
|
licenses:
|
|
103
140
|
- MIT
|
data/_includes/footer.html
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
<div class="py-2">
|
|
2
|
-
{% if site.footer.copyright %} {% if site.footer.copyright.creative-common %}
|
|
3
|
-
<p class="text-{{ site.footer.align | dafault: center }}">
|
|
4
|
-
<a
|
|
5
|
-
rel="license"
|
|
6
|
-
href="https://creativecommons.org/licenses/by/4.0/"
|
|
7
|
-
title="Creative Commons Attribution 4.0 International license"
|
|
8
|
-
class="text-decoration-none"
|
|
9
|
-
>
|
|
10
|
-
<i class="fab fa-creative-commons fa-2x" aria-hidden="true"></i>
|
|
11
|
-
<i class="fab fa-creative-commons-by fa-2x" aria-hidden="true"></i>
|
|
12
|
-
</a>
|
|
13
|
-
</p>
|
|
14
|
-
{% endif %} {% if site.footer.copyright.text %}
|
|
15
|
-
<p class="text-{{ site.footer.align | dafault: center }}">
|
|
16
|
-
{{ site.footer.copyright.text }}
|
|
17
|
-
</p>
|
|
18
|
-
{% endif %} {% endif %}
|
|
19
|
-
</div>
|
|
20
|
-
|
|
21
|
-
<script
|
|
22
|
-
crossorigin="anonymous"
|
|
23
|
-
integrity="{{ site.cdn.jquery_hash }}"
|
|
24
|
-
src="{{ site.cdn.jquery }}"
|
|
25
|
-
></script>
|
|
26
|
-
<script
|
|
27
|
-
crossorigin="anonymous"
|
|
28
|
-
integrity="{{ site.cdn.popper_hash }}"
|
|
29
|
-
src="{{ site.cdn.popper }}"
|
|
30
|
-
></script>
|
|
31
|
-
<script
|
|
32
|
-
crossorigin="anonymous"
|
|
33
|
-
integrity="{{ site.cdn.bs_js_hash }}"
|
|
34
|
-
src="{{ site.cdn.bs_js }}"
|
|
35
|
-
></script>
|
|
36
|
-
<script src="{{ site.baseurl }}/assets/javascript/minimal-bootstrap.js"></script>
|
data/_includes/head.html
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
<head>
|
|
2
|
-
<meta charset="utf-8" />
|
|
3
|
-
<meta
|
|
4
|
-
content="initial-scale=1, shrink-to-fit=no, width=device-width"
|
|
5
|
-
name="viewport"
|
|
6
|
-
/>
|
|
7
|
-
<title>
|
|
8
|
-
{% if page.title %}{{ page.title }} · {% endif %}{{ site.title }}
|
|
9
|
-
</title>
|
|
10
|
-
<link
|
|
11
|
-
crossorigin="anonymous"
|
|
12
|
-
integrity="{{ site.cdn.bs_hash }}"
|
|
13
|
-
href="{{ site.cdn.bs_css }}"
|
|
14
|
-
rel="stylesheet"
|
|
15
|
-
/>
|
|
16
|
-
<link
|
|
17
|
-
crossorigin="anonymous"
|
|
18
|
-
integrity="{{ site.cdn.icon_hash }}"
|
|
19
|
-
href="{{ site.cdn.icon_css }}"
|
|
20
|
-
rel="stylesheet"
|
|
21
|
-
/>
|
|
22
|
-
<link
|
|
23
|
-
href="{{ site.apple-touch-icon | relative_url }}"
|
|
24
|
-
rel="apple-touch-icon"
|
|
25
|
-
type="image/png"
|
|
26
|
-
sizes="180x180"
|
|
27
|
-
/>
|
|
28
|
-
<link
|
|
29
|
-
href="{{ site.favicon | relative_url }}"
|
|
30
|
-
rel="icon"
|
|
31
|
-
type="image/png"
|
|
32
|
-
size="32x32"
|
|
33
|
-
/>
|
|
34
|
-
</head>
|
data/_includes/header.html
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
<div class="py-2">
|
|
2
|
-
<div class="text-{{ site.header.align | dafault: center }}">
|
|
3
|
-
{% if site.header.text %}
|
|
4
|
-
<p>{{ site.header.text }}</p>
|
|
5
|
-
{% else %} {% if site.title %}<a href="{{ site.url }}"
|
|
6
|
-
><h1>{{ site.title }}</h1></a
|
|
7
|
-
>{% endif %} {% if site.description %}
|
|
8
|
-
<h6>{{ site.description }}</h6>
|
|
9
|
-
{% endif %}{% endif %}
|
|
10
|
-
</div>
|
|
11
|
-
|
|
12
|
-
{% if site.navigation %} {% assign default_paths = site.pages | map: "path" %}
|
|
13
|
-
{% assign paths = site.header_pages | default: default_paths %} {% if paths %}
|
|
14
|
-
<div class="nav-scroller">
|
|
15
|
-
<nav class="nav d-flex justify-content-between">
|
|
16
|
-
{% for path in paths %} {% assign page = site.pages | where: "path", path
|
|
17
|
-
| first %} {% if page.title %}
|
|
18
|
-
<a class="p-2" href="{{ page.url | absolute_url }}">
|
|
19
|
-
{{ page.title | escape }}
|
|
20
|
-
</a>
|
|
21
|
-
{% endif %} {% endfor %}
|
|
22
|
-
</nav>
|
|
23
|
-
</div>
|
|
24
|
-
{% endif %} {% endif %}
|
|
25
|
-
</div>
|
data/_includes/main.html
DELETED
data/_layouts/blog.html
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
layout: page
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
<div class="text-{{ site.main.blog.align | dafault: center }}">
|
|
6
|
-
<div class="d-inline-flex list-group">
|
|
7
|
-
{% for post in site.posts %} {% assign condition = true %} {% assign compare
|
|
8
|
-
= page.title | downcase %} {% if page.scope == 'authors' %} {% assign
|
|
9
|
-
post_author = post.author | downcase %} {% if post_author == compare %} {%
|
|
10
|
-
assign condition = true %} {% else %} {% assign condition = false %} {%
|
|
11
|
-
endif %} {% elsif page.scope == 'categories' %} {% if post.categories
|
|
12
|
-
contains compare %} {% assign condition = true %} {% else %} {% assign
|
|
13
|
-
condition = false %} {% endif %} {% endif %} {% if condition %}
|
|
14
|
-
<a
|
|
15
|
-
href="{{ post.url | relative_url }}"
|
|
16
|
-
class="list-group-item list-group-item-action"
|
|
17
|
-
>
|
|
18
|
-
<h5 class="text-left my-2">{{ post.title | escape }}</h5>
|
|
19
|
-
<div class="d-flex w-100 justify-content-between">
|
|
20
|
-
<small
|
|
21
|
-
>by <em>{% if post.author %}{{ post.author }}{% endif %}</em> | {{
|
|
22
|
-
post.date | date_to_long_string }} | {{ post.content | number_of_words
|
|
23
|
-
}} words</small
|
|
24
|
-
>
|
|
25
|
-
</div>
|
|
26
|
-
</a>
|
|
27
|
-
{% endif %} {%- endfor -%}
|
|
28
|
-
</div>
|
|
29
|
-
</div>
|
data/_layouts/default.html
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{{ content }}
|
data/_layouts/page.html
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
layout: default
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
<!DOCTYPE html>
|
|
6
|
-
<html lang="{{ site.lang | default: en-US }}">
|
|
7
|
-
{%- include head.html -%}
|
|
8
|
-
|
|
9
|
-
<body
|
|
10
|
-
class="container"
|
|
11
|
-
style="font-weight:{{ site.font-weight | default: 300 }}"
|
|
12
|
-
>
|
|
13
|
-
<header>{%- include header.html -%}</header>
|
|
14
|
-
<main>{%- include main.html -%}</main>
|
|
15
|
-
<footer>{%- include footer.html -%}</footer>
|
|
16
|
-
</body>
|
|
17
|
-
</html>
|
data/_layouts/post.html
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
layout: page
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
<article class="text-{{ site.main.article.align | dafault: left }}">
|
|
6
|
-
<header>
|
|
7
|
-
<h3>{{ page.title | escape }}</h3>
|
|
8
|
-
<p>
|
|
9
|
-
<time datetime="{{ page.date | date_to_xmlschema }}">
|
|
10
|
-
{{ page.date | date_to_long_string }}
|
|
11
|
-
</time>
|
|
12
|
-
• {% if page.author %}<a href="{{ site.baseurl }}/authors/{{ page.author }}" role="button"
|
|
13
|
-
>{{ page.author }}</a
|
|
14
|
-
>{% endif %}
|
|
15
|
-
</p>
|
|
16
|
-
<p class="btn-group-sm" role="group" aria-label="Tags buttons group">
|
|
17
|
-
{% for category in page.categories %}
|
|
18
|
-
<a class="btn btn-light" href="{{ site.baseurl }}/{{ category }}" role="button">{{ category }}</a> {%
|
|
19
|
-
endfor %}
|
|
20
|
-
</p>
|
|
21
|
-
</header>
|
|
22
|
-
|
|
23
|
-
{{ content }}
|
|
24
|
-
<p>
|
|
25
|
-
<i class="fas fa-rss" aria-hidden="true"></i> {% if site.feed.path %}<a
|
|
26
|
-
href="{{ site.feed.path }}"
|
|
27
|
-
title="Atom Feed RSS"
|
|
28
|
-
>Subscribe</a
|
|
29
|
-
>{% endif %}
|
|
30
|
-
</p>
|
|
31
|
-
</article>
|
|
Binary file
|
data/assets/images/favicon.png
DELETED
|
Binary file
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
$( 'p' ).addClass( "text-body text-justify" );
|
|
2
|
-
$( 'a' ).each( function() {
|
|
3
|
-
$( this ).addClass( "text-dark" );
|
|
4
|
-
var a = new RegExp( '/' + window.location.host + '/' );
|
|
5
|
-
if ( !a.test( this.href ) ) {
|
|
6
|
-
$( this ).attr( "target", "_blank" );
|
|
7
|
-
}
|
|
8
|
-
});
|
|
9
|
-
$( 'table' ).addClass( "table" );
|