jekyll-theme-minimal-bootstrap 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/footer.html +19 -20
- data/_includes/head.html +2 -2
- data/_includes/header.html +23 -21
- data/_includes/main.html +3 -1
- data/_layouts/blog.html +9 -12
- data/_layouts/post.html +7 -0
- data/assets/images/apple-touch-icon.png +0 -0
- data/assets/images/favicon.png +0 -0
- data/assets/javascript/minimal-bootstrap.js +9 -0
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c28b02b3426ea3ba31de8559cd51721101e98e80eb8a6b1c9abde8d79e990bb9
|
4
|
+
data.tar.gz: 2be53746fe45f29d5da2cecefe9cbb02323e4609a99f61fbc9adc3f286ff372a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46c426a7e35fa0ea62cc70f9b3f367ab010e3ed7639b2f746df3b2ad994cd5a1cc815d74dd2f7b8b26cb6eabea06bf54be11feab013f169f9f473b520f0f772d
|
7
|
+
data.tar.gz: 2724c3e48ac733ea08e652ae841c2426c699a6e820e5c1d1df40de16f604ce2c1901eb488f28fdb138d0b0de7f4cbc5c784f0961b7b11bee61afbdd5684ac0c5
|
data/_includes/footer.html
CHANGED
@@ -1,23 +1,22 @@
|
|
1
|
-
|
2
|
-
{% if site.footer.copyright.creative-common %}
|
3
|
-
<p class="text-{{ site.footer.align | dafault: center }}">
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
</p>
|
14
|
-
{% endif %}
|
15
|
-
{
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
{% endif %}
|
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>
|
21
20
|
|
22
21
|
<script
|
23
22
|
crossorigin="anonymous"
|
data/_includes/head.html
CHANGED
@@ -20,13 +20,13 @@
|
|
20
20
|
rel="stylesheet"
|
21
21
|
/>
|
22
22
|
<link
|
23
|
-
href="{{ site.apple-touch-icon |
|
23
|
+
href="{{ site.apple-touch-icon | relative_url }}"
|
24
24
|
rel="apple-touch-icon"
|
25
25
|
type="image/png"
|
26
26
|
sizes="180x180"
|
27
27
|
/>
|
28
28
|
<link
|
29
|
-
href="{{ site.favicon |
|
29
|
+
href="{{ site.favicon | relative_url }}"
|
30
30
|
rel="icon"
|
31
31
|
type="image/png"
|
32
32
|
size="32x32"
|
data/_includes/header.html
CHANGED
@@ -1,23 +1,25 @@
|
|
1
|
-
<div class="
|
2
|
-
{
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
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>
|
10
11
|
|
11
|
-
{% if site.navigation %} {% assign default_paths = site.pages | map: "path" %}
|
12
|
-
{% assign paths = site.header_pages | default: default_paths %} {% if paths %}
|
13
|
-
<div class="nav-scroller">
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
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 %}
|
22
25
|
</div>
|
23
|
-
{% endif %} {% endif %}
|
data/_includes/main.html
CHANGED
data/_layouts/blog.html
CHANGED
@@ -2,10 +2,15 @@
|
|
2
2
|
layout: page
|
3
3
|
---
|
4
4
|
|
5
|
-
{
|
6
|
-
<div class="text-{{ site.main.blog.align | dafault: center }} py-1">
|
5
|
+
<div class="text-{{ site.main.blog.align | dafault: center }}">
|
7
6
|
<div class="d-inline-flex list-group">
|
8
|
-
{% for post in site.posts %}
|
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 %}
|
9
14
|
<a
|
10
15
|
href="{{ post.url | relative_url }}"
|
11
16
|
class="list-group-item list-group-item-action"
|
@@ -19,14 +24,6 @@ layout: page
|
|
19
24
|
>
|
20
25
|
</div>
|
21
26
|
</a>
|
22
|
-
{%- endfor -%}
|
23
|
-
<p class="py-2">
|
24
|
-
<i class="fas fa-rss" aria-hidden="true"></i> {% if site.feed.path %}<a
|
25
|
-
href="{{ site.feed.path }}"
|
26
|
-
title="Atom Feed RSS"
|
27
|
-
>Subscribe</a
|
28
|
-
>{% endif %}
|
29
|
-
</p>
|
27
|
+
{% endif %} {%- endfor -%}
|
30
28
|
</div>
|
31
29
|
</div>
|
32
|
-
{%- endif -%}
|
data/_layouts/post.html
CHANGED
Binary file
|
Binary file
|
@@ -0,0 +1,9 @@
|
|
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" );
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- saltgz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -95,6 +95,9 @@ files:
|
|
95
95
|
- _layouts/default.html
|
96
96
|
- _layouts/page.html
|
97
97
|
- _layouts/post.html
|
98
|
+
- assets/images/apple-touch-icon.png
|
99
|
+
- assets/images/favicon.png
|
100
|
+
- assets/javascript/minimal-bootstrap.js
|
98
101
|
homepage: https://github.com/saltgz/jekyll-theme-minimal-bootstrap
|
99
102
|
licenses:
|
100
103
|
- MIT
|