jekyll-theme-minimal-bootstrap 0.1.7 → 0.1.8
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/LICENSE +14 -0
- data/_config.yml +95 -0
- data/_data/cdn.yml +8 -0
- data/_data/nav.yml +5 -0
- data/_data/style.yml +28 -0
- data/_includes/analytics.html +7 -4
- data/_includes/{footer.html → copyright.html} +9 -9
- data/_includes/head.html +4 -11
- data/_includes/header.html +9 -21
- data/_includes/navbar.html +22 -0
- data/_includes/script.html +4 -4
- data/_includes/stylesheet.html +4 -5
- data/_layouts/blog.html +42 -22
- data/_layouts/default.html +12 -8
- data/_layouts/page.html +22 -0
- data/_layouts/post.html +27 -33
- data/_pages/about.md +3 -0
- data/_posts/2019-03-07_post-name.md +5 -0
- data/assets/img/brand/social.jpg +0 -0
- data/assets/img/favicons/apple-touch-icon.png +0 -0
- data/assets/img/favicons/favicon-32x32.png +0 -0
- data/assets/js/minimal-bootstrap.js +11 -8
- metadata +18 -35
- data/LICENSE.txt +0 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88e49ceee11beec7139a26bf5a6c235399f9937dd279a09b6fad748b28dae962
|
4
|
+
data.tar.gz: 20e8594474f34d647eff87d9478cd33b6c55ab90a6bc1b16a2ebc24e71cf724b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bcc98c2c759b08c1457db706a6537fc9c33a9e147bbe669c810ce6a39d277a8d3842adfd3741e522c051584b20138b04407fbc38f0a16492e564bf6d11143bf1
|
7
|
+
data.tar.gz: c07acd514345a49f5ffc6a35fe23be35ab6c9f1e0bcadc269e007412abce64742432c98efc49b8fc4ad72975adb2f4b5b03990dba350bcffeb1c7e06fd3f1855
|
data/LICENSE
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
Copyright (C) 2019 <stefanopio.zingaro@unibo.it>
|
2
|
+
|
3
|
+
This program is free software: you can redistribute it and/or modify
|
4
|
+
it under the terms of the GNU General Public License as published by
|
5
|
+
the Free Software Foundation, either version 3 of the License, or
|
6
|
+
(at your option) any later version.
|
7
|
+
|
8
|
+
This program is distributed in the hope that it will be useful,
|
9
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
11
|
+
GNU General Public License for more details.
|
12
|
+
|
13
|
+
You should have received a copy of the GNU General Public License
|
14
|
+
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
data/_config.yml
ADDED
@@ -0,0 +1,95 @@
|
|
1
|
+
# Serve Command Options
|
2
|
+
port: 9001
|
3
|
+
host: "localhost"
|
4
|
+
baseurl: "" # the optional subpath of your site, e.g. "/blog"
|
5
|
+
detach: false
|
6
|
+
url: "" #the base hostname & protocol for your site e.g. "https://mmistakes.github.io"
|
7
|
+
|
8
|
+
# Build Command Options
|
9
|
+
show_drafts: false
|
10
|
+
future: false
|
11
|
+
unpublished: false
|
12
|
+
incremental: false
|
13
|
+
profile: false
|
14
|
+
strict_front_matter: true
|
15
|
+
|
16
|
+
# Global Configurations
|
17
|
+
source: "."
|
18
|
+
destination: "_site"
|
19
|
+
safe: true # Exclude directories and/or files from the conversion
|
20
|
+
include: # Force inclusion of directories and/or files in the conversion
|
21
|
+
exclude:
|
22
|
+
- .asset-cache
|
23
|
+
- .jekyll-assets-cache
|
24
|
+
- .sass-cache
|
25
|
+
- Gemfile
|
26
|
+
- Gemfile.lock
|
27
|
+
- LICENSE
|
28
|
+
- README
|
29
|
+
|
30
|
+
# Meta
|
31
|
+
lang: en-US
|
32
|
+
social_image_path: /assets/img/brand/social.jpg
|
33
|
+
social_logo_path: /assets/img/brand/social.jpg
|
34
|
+
|
35
|
+
# Analytics
|
36
|
+
google:
|
37
|
+
monitoring_id: # set your google analytics monitoring id
|
38
|
+
|
39
|
+
# Dependencies
|
40
|
+
markdown: kramdown
|
41
|
+
highlighter: rouge
|
42
|
+
|
43
|
+
kramdown:
|
44
|
+
auto_ids: true
|
45
|
+
|
46
|
+
# Permalinks
|
47
|
+
permalink: /:categories/:slug:output_ext
|
48
|
+
|
49
|
+
# Build settings
|
50
|
+
# theme: jekyll-theme-minimal-bootstrap
|
51
|
+
plugins: # some plugins need by the theme
|
52
|
+
- jekyll-feed
|
53
|
+
- jekyll-sitemap
|
54
|
+
feed:
|
55
|
+
path: atom.xml
|
56
|
+
|
57
|
+
# Collections settings for Categories and Authors posts list pages
|
58
|
+
collections:
|
59
|
+
pages:
|
60
|
+
output: true
|
61
|
+
permalink: /:name
|
62
|
+
categories:
|
63
|
+
output: true
|
64
|
+
permalink: /:name/
|
65
|
+
authors:
|
66
|
+
output: false
|
67
|
+
permalink: /:collection/:name/
|
68
|
+
|
69
|
+
# Front Matter Defaults
|
70
|
+
defaults:
|
71
|
+
# _posts
|
72
|
+
- scope:
|
73
|
+
path: "_posts"
|
74
|
+
type: posts
|
75
|
+
values:
|
76
|
+
layout: post
|
77
|
+
read_time: true
|
78
|
+
# _pages
|
79
|
+
- scope:
|
80
|
+
path: "_pages"
|
81
|
+
type: pages
|
82
|
+
values:
|
83
|
+
layout: page
|
84
|
+
# _categories
|
85
|
+
- scope:
|
86
|
+
path: "_categories"
|
87
|
+
type: categories
|
88
|
+
values:
|
89
|
+
layout: blog
|
90
|
+
# _authors
|
91
|
+
- scope:
|
92
|
+
path: "_authors"
|
93
|
+
type: authors
|
94
|
+
values:
|
95
|
+
layout: blog
|
data/_data/cdn.yml
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
css: "https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css"
|
2
|
+
css_hash: "sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS"
|
3
|
+
icon: "https://use.fontawesome.com/releases/v5.6.3/css/all.css"
|
4
|
+
icon_hash: "sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/"
|
5
|
+
js: "https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js"
|
6
|
+
js_hash: "sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k"
|
7
|
+
jquery: "https://code.jquery.com/jquery-3.3.1.slim.min.js"
|
8
|
+
jquery_hash: "sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
|
data/_data/nav.yml
ADDED
data/_data/style.yml
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
header:
|
2
|
+
navigation: true
|
3
|
+
align: "center" # "left" | "center" | "right"
|
4
|
+
text: >
|
5
|
+
<h1><a href="#">Your awesome title</a></h1>
|
6
|
+
<h6>your motto</h6>
|
7
|
+
|
8
|
+
main:
|
9
|
+
font_weight: 300 # a custom value for the font-weight of the body
|
10
|
+
blog:
|
11
|
+
title: true
|
12
|
+
align: "left" # "left" | "center" | "right"
|
13
|
+
words: "words"
|
14
|
+
article:
|
15
|
+
align: "left" # "left" | "center" | "right"
|
16
|
+
word_count: true
|
17
|
+
feed_message: "RSS feed"
|
18
|
+
nav_message:
|
19
|
+
|
20
|
+
copyright:
|
21
|
+
creative_common: false # "true" | "false"
|
22
|
+
align: "left" # "left" | "center" | "right"
|
23
|
+
text:
|
24
|
+
|
25
|
+
footer:
|
26
|
+
align: "left" # "left" | "center" | "right"
|
27
|
+
text: >
|
28
|
+
finally
|
data/_includes/analytics.html
CHANGED
@@ -1,6 +1,9 @@
|
|
1
|
+
<!-- Global site tag (gtag.js) - Google Analytics -->
|
2
|
+
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-112361799-2"></script>
|
1
3
|
<script>
|
2
|
-
window.
|
3
|
-
|
4
|
-
|
4
|
+
window.dataLayer = window.dataLayer || [];
|
5
|
+
function gtag(){dataLayer.push(arguments);}
|
6
|
+
gtag('js', new Date());
|
7
|
+
|
8
|
+
gtag('config', 'UA-112361799-2');
|
5
9
|
</script>
|
6
|
-
<script async src='https://www.google-analytics.com/analytics.js'></script>
|
@@ -1,6 +1,10 @@
|
|
1
|
-
{%- if site.
|
2
|
-
|
3
|
-
|
1
|
+
{%- if site.data.style.copyright.text -%}
|
2
|
+
<div class="text-{{ site.data.style.copyright.align }} text-muted">
|
3
|
+
{{ site.data.style.copyright.text }}
|
4
|
+
</div>
|
5
|
+
{%- endif -%}
|
6
|
+
{%- if site.data.style.copyright.creative_common -%}
|
7
|
+
<div class="text-{{ site.data.style.copyright.align }}">
|
4
8
|
<a
|
5
9
|
rel="license"
|
6
10
|
href="https://creativecommons.org/licenses/by/4.0/"
|
@@ -10,9 +14,5 @@
|
|
10
14
|
<i class="fab fa-creative-commons fa-2x" aria-hidden="true"></i>
|
11
15
|
<i class="fab fa-creative-commons-by fa-2x" aria-hidden="true"></i>
|
12
16
|
</a>
|
13
|
-
</
|
14
|
-
{%- endif -%}
|
15
|
-
<p class="text-{{ site.footer.align | dafault: center }}">
|
16
|
-
{{ site.footer.copyright.text }}
|
17
|
-
</p>
|
18
|
-
{%- endif -%} {%- endif -%}
|
17
|
+
</div>
|
18
|
+
{%- endif -%}
|
data/_includes/head.html
CHANGED
@@ -1,19 +1,12 @@
|
|
1
1
|
<meta charset="utf-8" />
|
2
|
-
<meta
|
3
|
-
|
4
|
-
content="width=device-width, initial-scale=1, shrink-to-fit=no"
|
5
|
-
/>
|
6
|
-
<meta
|
7
|
-
name="description"
|
8
|
-
content="{{ page.description | default: site.description | smartify }}"
|
9
|
-
/>
|
2
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
3
|
+
<meta name="description" content="{{ site.data.style.header.text | strip_html | smartify }}" />
|
10
4
|
<meta name="author" content="Stefano Pio Zingaro and Edoardo Arzenton" />
|
11
5
|
<meta name="generator" content="Jekyll v{{ jekyll.version }}" />
|
12
6
|
|
13
7
|
<title>
|
14
|
-
{%- if page.title -%}
|
15
|
-
|
16
|
-
}} {%- endif -%}
|
8
|
+
{%- if page.title -%}{{ page.title | smartify }} · {%- endif -%}
|
9
|
+
{{ site.data.style.header.text | strip_html | smartify }}
|
17
10
|
</title>
|
18
11
|
|
19
12
|
{% include stylesheet.html %} {% include favicons.html %} {% include social.html
|
data/_includes/header.html
CHANGED
@@ -1,24 +1,12 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
1
|
+
{%- if site.data.style.header.navigation -%}
|
2
|
+
{%- include navbar.html -%}
|
3
|
+
{%- else -%}
|
4
|
+
<div class="text-{{ site.data.style.header.align }}">
|
5
|
+
{%- if site.data.style.header.text -%}{{ site.data.style.header.text }}{%-
|
6
|
+
else -%}{%- if site.title -%}<a href="{{ site.url }}">
|
7
|
+
<h1>{{ site.title }}</h1>
|
8
|
+
</a>{%- endif -%} {%- if site.description -%}
|
7
9
|
<h6>{{ site.description }}</h6>
|
8
10
|
{%- endif -%}{%- endif -%}
|
9
11
|
</div>
|
10
|
-
|
11
|
-
{%- if site.navigation -%} {%- assign default_paths = site.pages | map: "path"
|
12
|
-
-%} {%- assign paths = site.header_pages | default: default_paths -%} {%- if
|
13
|
-
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 -%}
|
12
|
+
{%- endif -%}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<div class="py-2 text-{{ site.data.style.header.align }}">
|
2
|
+
{%- if site.data.style.header.text -%}{{ site.data.style.header.text }}{%-
|
3
|
+
else -%}{%- if site.title -%}<a href="{{ site.url }}">
|
4
|
+
<h1>{{ site.title }}</h1>
|
5
|
+
</a>{%- endif -%} {%- if site.description -%}
|
6
|
+
<h6>{{ site.description }}</h6>
|
7
|
+
{%- endif -%}{%- endif -%}
|
8
|
+
</div>
|
9
|
+
<div class="card border-left-0 border-right-0 border-bottom-0 border-top-1 rounded-0">
|
10
|
+
<ul class="navbar-nav my-2 d-flex flex-row justify-content-around">
|
11
|
+
{%- for item in site.data.nav.items -%}
|
12
|
+
<li class="nav-item">
|
13
|
+
<a class="nav-link" href="{{ item.url | relative_url | prepend: site.baseurl }}">
|
14
|
+
{{ item.title | escape }}
|
15
|
+
</a>
|
16
|
+
</li>
|
17
|
+
{%- endfor -%}
|
18
|
+
</ul>
|
19
|
+
</div>
|
20
|
+
{%- if site.data.style.copyright.text -%}
|
21
|
+
<div class="card-footer">{%- include copyright.html -%}</div>
|
22
|
+
{%- endif -%}
|
data/_includes/script.html
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
<script
|
2
|
-
src="{{ site.cdn.jquery }}"
|
3
|
-
integrity="{{ site.cdn.jquery_hash }}"
|
2
|
+
src="{{ site.data.cdn.jquery }}"
|
3
|
+
integrity="{{ site.data.cdn.jquery_hash }}"
|
4
4
|
crossorigin="anonymous"
|
5
5
|
></script>
|
6
6
|
<script
|
7
7
|
crossorigin="anonymous"
|
8
|
-
integrity="{{ site.cdn.js_hash }}"
|
9
|
-
src="{{ site.cdn.js }}"
|
8
|
+
integrity="{{ site.data.cdn.js_hash }}"
|
9
|
+
src="{{ site.data.cdn.js }}"
|
10
10
|
></script>
|
11
11
|
<script src="{{ site.baseurl }}/assets/js/minimal-bootstrap.js"></script>
|
data/_includes/stylesheet.html
CHANGED
@@ -1,13 +1,12 @@
|
|
1
|
-
<!-- Bootstrap core CSS -->
|
2
1
|
<link
|
3
2
|
crossorigin="anonymous"
|
4
|
-
integrity="{{ site.cdn.css_hash }}"
|
5
|
-
href="{{ site.cdn.css }}"
|
3
|
+
integrity="{{ site.data.cdn.css_hash }}"
|
4
|
+
href="{{ site.data.cdn.css }}"
|
6
5
|
rel="stylesheet"
|
7
6
|
/>
|
8
7
|
<link
|
9
8
|
crossorigin="anonymous"
|
10
|
-
integrity="{{ site.cdn.icon_hash }}"
|
11
|
-
href="{{ site.cdn.icon }}"
|
9
|
+
integrity="{{ site.data.cdn.icon_hash }}"
|
10
|
+
href="{{ site.data.cdn.icon }}"
|
12
11
|
rel="stylesheet"
|
13
12
|
/>
|
data/_layouts/blog.html
CHANGED
@@ -1,29 +1,49 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
{%-
|
12
|
-
|
13
|
-
{%-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
4
|
+
|
5
|
+
<div class="card border-0">
|
6
|
+
<div class="card-body">
|
7
|
+
{% if site.data.style.main.blog.title %}
|
8
|
+
<h5 class="card-title">{{ page.title | escape }}</h5>
|
9
|
+
{% if page.subtitle %}
|
10
|
+
<h6 class="card-subtitle mb-2 text-muted">{{ page.subtitle | escape }}</h6>
|
11
|
+
{% endif %} {% endif %} {%- for post in site.posts -%} {%- assign condition
|
12
|
+
= true -%} {%- assign compare = page.title | downcase -%} {%- if page.scope
|
13
|
+
== 'authors' -%} {%- assign post_author = post.author | downcase -%} {%- if
|
14
|
+
post_author == compare -%} {%- assign condition = true -%} {%- else -%} {%-
|
15
|
+
assign condition = false -%} {%- endif -%} {%- elsif page.scope ==
|
16
|
+
'categories' -%} {%- if post.categories contains compare -%} {%- assign
|
17
|
+
condition = true -%} {%- else -%} {%- assign condition = false -%} {%- endif
|
18
|
+
-%} {%- endif -%} {%- if condition -%}
|
19
|
+
|
20
|
+
<div class="card mb-3 border-0">
|
21
|
+
{% if post.image %}
|
22
|
+
<img src="{{ post.image }}" class="card-img-top" alt="Featured image of the post" />
|
23
|
+
{% endif %}
|
24
|
+
<div class="card-body">
|
25
|
+
<a href="{{ post.url | relative_url | prepend: site.baseurl }}">
|
26
|
+
<h5 class="card-title">{{ post.title | escape }}</h5>
|
27
|
+
</a>
|
28
|
+
<p class="card-text">{{ post.excerpt | strip_html | truncate: 240 }}</p>
|
29
|
+
<p class="card-text">
|
30
|
+
{%- if post.author -%}
|
31
|
+
<small class="text-muted">by </small>
|
32
|
+
<a class="card-link badge badge-light text-dark" href="{{ post.author | relative_url }}.html">{{ post.author }} | </a>{%- endif -%}
|
33
|
+
<small class="text-muted">{{ post.date | date_to_long_string }}</small>
|
34
|
+
{%- if site.data.style.main.article.word_count -%}
|
35
|
+
<small class="text-muted"> | {{ post.content | number_of_words }} {{ site.data.style.main.blog.words }}</small>
|
36
|
+
{%- endif -%}
|
37
|
+
</p>
|
25
38
|
</div>
|
26
|
-
</
|
39
|
+
</div>
|
27
40
|
{%- endif -%} {%- endfor -%}
|
28
41
|
</div>
|
42
|
+
|
43
|
+
<div class="card-footer bg-white">
|
44
|
+
<p class="text-muted">{{ site.data.style.footer.text}}</p>
|
45
|
+
{%- for item in site.data.nav.items -%}
|
46
|
+
<a class="card-link badge badge-light text-dark" href="{{ item.url | absolute_url }}">{{ item.title | escape }}</a>
|
47
|
+
{%- endfor -%}
|
48
|
+
</div>
|
29
49
|
</div>
|
data/_layouts/default.html
CHANGED
@@ -1,14 +1,18 @@
|
|
1
|
-
<!
|
1
|
+
<!DOCTYPE html>
|
2
2
|
<html lang="{{ site.lang | default: en-US }}">
|
3
|
-
|
4
|
-
|
3
|
+
<head>
|
4
|
+
{%- include head.html -%}
|
5
|
+
</head>
|
5
6
|
<body
|
6
7
|
class="container"
|
7
|
-
style="font-weight:{{ site.font_weight }}"
|
8
|
+
style="font-weight:{{ site.data.style.main.font_weight }}"
|
8
9
|
>
|
9
|
-
<header class="
|
10
|
-
<main id="content" role="main" class="
|
11
|
-
|
12
|
-
|
10
|
+
<header class="border-0">{%- include header.html -%}</header>
|
11
|
+
<main id="content" role="main" class="py-2">
|
12
|
+
{{ content | markdownify }}
|
13
|
+
</main>
|
14
|
+
{%- if site.data.style.header.navigation == false -%}
|
15
|
+
<footer class="p-5">{%- include copyright.html -%}</footer>
|
16
|
+
{%- endif -%} {%- include script.html -%}
|
13
17
|
</body>
|
14
18
|
</html>
|
data/_layouts/page.html
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="card border-0">
|
6
|
+
<div class="card-body">
|
7
|
+
<h5 class="card-title">{{ page.title | escape }}</h5>
|
8
|
+
{% if page.subtitle %}
|
9
|
+
<h6 class="card-subtitle mb-2 text-muted">{{ page.subtitle | escape }}</h6>
|
10
|
+
{% endif %}
|
11
|
+
<p class="card-text">{{ content | markdownify }}</p>
|
12
|
+
</div>
|
13
|
+
<div class="card-footer ">
|
14
|
+
<p class="text-muted">{{ site.data.style.footer.text}}</p>
|
15
|
+
|
16
|
+
{%- for item in site.data.nav.items -%}
|
17
|
+
<a class="card-link badge badge-light text-dark" href="{{ item.url | relative_url | prepend: site.baseurl }}"
|
18
|
+
>{{ item.title | escape }}</a
|
19
|
+
>
|
20
|
+
{%- endfor -%}
|
21
|
+
</div>
|
22
|
+
</div>
|
data/_layouts/post.html
CHANGED
@@ -2,37 +2,31 @@
|
|
2
2
|
layout: default
|
3
3
|
---
|
4
4
|
|
5
|
-
<
|
6
|
-
<header>
|
7
|
-
<
|
8
|
-
<
|
9
|
-
|
10
|
-
{{ page.date | date_to_long_string }}
|
11
|
-
</time>
|
12
|
-
• {%- if page.author -%}<a
|
13
|
-
href="{{ site.baseurl }}/authors/{{ page.author }}"
|
14
|
-
role="button"
|
15
|
-
>{{ page.author }}</a
|
16
|
-
>{%- endif -%}
|
17
|
-
</p>
|
18
|
-
<p class="btn-group-sm" role="group" aria-label="Tags buttons group">
|
19
|
-
{%- for category in page.categories -%}
|
20
|
-
<a
|
21
|
-
class="btn btn-light"
|
22
|
-
href="{{ site.baseurl }}/{{ category }}"
|
23
|
-
role="button"
|
24
|
-
>{{ category }}</a
|
25
|
-
>
|
26
|
-
{%- endfor -%}
|
27
|
-
</p>
|
28
|
-
</header>
|
29
|
-
|
30
|
-
{{ content }}
|
31
|
-
<p>
|
32
|
-
<i class="fas fa-rss" aria-hidden="true"></i> {%- if site.feed.path -%}<a
|
33
|
-
href="{{ site.baseurl }}/{{ site.feed.path }}"
|
34
|
-
title="Atom Feed RSS"
|
35
|
-
>Subscribe</a
|
5
|
+
<div class="card border-0">
|
6
|
+
<div class="card-header bg-white">
|
7
|
+
<i class="fas fa-rss mr-2" aria-hidden="true"></i> {%- if site.feed.path
|
8
|
+
-%}<a class="text-dark" href="{{ site.feed.path | relative_url | prepend: site.baseurl }}" title="Atom Feed RSS"
|
9
|
+
>{{ site.data.style.main.article.feed_message }}</a
|
36
10
|
>{%- endif -%}
|
37
|
-
</
|
38
|
-
|
11
|
+
</div>
|
12
|
+
<div class="card-body">
|
13
|
+
<h5 class="card-title">{{ page.title | escape }}</h5>
|
14
|
+
{% if page.subtitle %}
|
15
|
+
<h6 class="card-subtitle mb-2 text-muted">{{ page.subtitle | escape }}</h6>
|
16
|
+
{% endif %}
|
17
|
+
<p class="card-text">{{ content }}</p>
|
18
|
+
</div>
|
19
|
+
<div class="card-footer bg-white">
|
20
|
+
<p class="text-muted">{{ site.data.style.main.article.nav_message}}</p>
|
21
|
+
{%- for item in page.authors -%}
|
22
|
+
<a class="card-link badge badge-light text-dark" href="{{ site.baseurl }}/{{ item }}"
|
23
|
+
>{{ item | escape }}</a
|
24
|
+
>
|
25
|
+
{%- endfor -%}
|
26
|
+
{%- for item in page.categories -%}
|
27
|
+
<a class="card-link badge badge-light text-dark" href="{{ site.baseurl }}/{{ item }}"
|
28
|
+
>{{ item | escape }}</a
|
29
|
+
>
|
30
|
+
{%- endfor -%}
|
31
|
+
</div>
|
32
|
+
</div>
|
data/_pages/about.md
ADDED
Binary file
|
Binary file
|
Binary file
|
@@ -1,9 +1,12 @@
|
|
1
|
-
$(
|
2
|
-
$(
|
3
|
-
$(
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
$(function() {
|
2
|
+
$("p").addClass("text-body");
|
3
|
+
$("i").addClass("text-success");
|
4
|
+
$("a").addClass("text-dark");
|
5
|
+
$("table").addClass("table table-striped text-left");
|
6
|
+
$("a").click(function() {
|
7
|
+
var a = new RegExp("/" + window.location.host + "/");
|
8
|
+
if (!a.test(this.href)) {
|
9
|
+
$(this).attr("target", "_blank");
|
10
|
+
}
|
11
|
+
});
|
8
12
|
});
|
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.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- szingaro
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -44,20 +44,6 @@ 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
47
|
- !ruby/object:Gem::Dependency
|
62
48
|
name: jekyll-sitemap
|
63
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -78,20 +64,6 @@ dependencies:
|
|
78
64
|
- - "~>"
|
79
65
|
- !ruby/object:Gem::Version
|
80
66
|
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
|
95
67
|
- !ruby/object:Gem::Dependency
|
96
68
|
name: bundler
|
97
69
|
requirement: !ruby/object:Gem::Requirement
|
@@ -133,23 +105,34 @@ executables: []
|
|
133
105
|
extensions: []
|
134
106
|
extra_rdoc_files: []
|
135
107
|
files:
|
136
|
-
- LICENSE
|
108
|
+
- LICENSE
|
137
109
|
- README.md
|
110
|
+
- _config.yml
|
111
|
+
- _data/cdn.yml
|
112
|
+
- _data/nav.yml
|
113
|
+
- _data/style.yml
|
138
114
|
- _includes/analytics.html
|
115
|
+
- _includes/copyright.html
|
139
116
|
- _includes/favicons.html
|
140
|
-
- _includes/footer.html
|
141
117
|
- _includes/head.html
|
142
118
|
- _includes/header.html
|
119
|
+
- _includes/navbar.html
|
143
120
|
- _includes/script.html
|
144
121
|
- _includes/social.html
|
145
122
|
- _includes/stylesheet.html
|
146
123
|
- _layouts/blog.html
|
147
124
|
- _layouts/default.html
|
125
|
+
- _layouts/page.html
|
148
126
|
- _layouts/post.html
|
127
|
+
- _pages/about.md
|
128
|
+
- _posts/2019-03-07_post-name.md
|
129
|
+
- assets/img/brand/social.jpg
|
130
|
+
- assets/img/favicons/apple-touch-icon.png
|
131
|
+
- assets/img/favicons/favicon-32x32.png
|
149
132
|
- assets/js/minimal-bootstrap.js
|
150
|
-
homepage: https://github.com/
|
133
|
+
homepage: https://github.com/szingaro/jekyll-theme-minimal-bootstrap
|
151
134
|
licenses:
|
152
|
-
-
|
135
|
+
- GPL-3.0
|
153
136
|
metadata: {}
|
154
137
|
post_install_message:
|
155
138
|
rdoc_options: []
|
data/LICENSE.txt
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2019 saltgz
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
THE SOFTWARE.
|