jekyll-theme-minimal-bootstrap 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/analytics.html +6 -0
- data/_includes/favicons.html +29 -0
- data/_includes/footer.html +18 -0
- data/_includes/head.html +20 -0
- data/_includes/header.html +24 -0
- data/_includes/script.html +11 -0
- data/_includes/social.html +18 -0
- data/_includes/stylesheet.html +13 -0
- data/_layouts/blog.html +29 -0
- data/_layouts/default.html +14 -0
- data/_layouts/post.html +38 -0
- data/assets/js/minimal-bootstrap.js +9 -0
- metadata +13 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5603145075c3c03710f8b97b092097dab5415f54b13802aaeacca1339e52335
|
4
|
+
data.tar.gz: cea12e30e0b3aa0b59490c2364a322ec3e08e48391ea2fc54ba818ff60356ba6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a4f307016e96e69c10c0e0e80d04fca975e7d6d516808328c6049aee9eb9805bf1c94bf9156fa8aa3d70e692ac7da931b45012cda355fccd9985239969af8ed
|
7
|
+
data.tar.gz: f243aacc2800386f1583d06abc42e504d8ce3ad2495f9aad92041e80dd969cb905e6d3da7cde4d2f39ed00733bb3e2550a271a08c3a923106f024269d093e9fd
|
@@ -0,0 +1,6 @@
|
|
1
|
+
<script>
|
2
|
+
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
|
3
|
+
ga('create', '{{ site.google.monitoring_id }}', '{{ site.url }}');
|
4
|
+
ga('send', 'pageview');
|
5
|
+
</script>
|
6
|
+
<script async src='https://www.google-analytics.com/analytics.js'></script>
|
@@ -0,0 +1,29 @@
|
|
1
|
+
<!-- Favicons -->
|
2
|
+
<link
|
3
|
+
rel="apple-touch-icon"
|
4
|
+
href="{{ site.baseurl }}/assets/img/favicons/apple-touch-icon.png"
|
5
|
+
sizes="180x180"
|
6
|
+
/>
|
7
|
+
<link
|
8
|
+
rel="icon"
|
9
|
+
href="{{ site.baseurl }}/assets/img/favicons/favicon-32x32.png"
|
10
|
+
sizes="32x32"
|
11
|
+
type="image/png"
|
12
|
+
/>
|
13
|
+
<link
|
14
|
+
rel="icon"
|
15
|
+
href="{{ site.baseurl }}/assets/img/favicons/favicon-16x16.png"
|
16
|
+
sizes="16x16"
|
17
|
+
type="image/png"
|
18
|
+
/>
|
19
|
+
<link
|
20
|
+
rel="mask-icon"
|
21
|
+
href="{{ site.baseurl }}/assets/img/favicons/safari-pinned-tab.svg"
|
22
|
+
color="#563d7c"
|
23
|
+
/>
|
24
|
+
<link rel="icon" href="{{ site.baseurl }}/favicon.ico" />
|
25
|
+
<meta
|
26
|
+
name="msapplication-config"
|
27
|
+
content="{{ site.baseurl }}/assets/img/favicons/browserconfig.xml"
|
28
|
+
/>
|
29
|
+
<meta name="theme-color" content="#fff" />
|
@@ -0,0 +1,18 @@
|
|
1
|
+
{%- if site.footer.copyright -%} {%- if site.footer.copyright.creative-common
|
2
|
+
-%}
|
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 -%}
|
data/_includes/head.html
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
<meta charset="utf-8" />
|
2
|
+
<meta
|
3
|
+
name="viewport"
|
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
|
+
/>
|
10
|
+
<meta name="author" content="Stefano Pio Zingaro and Edoardo Arzenton" />
|
11
|
+
<meta name="generator" content="Jekyll v{{ jekyll.version }}" />
|
12
|
+
|
13
|
+
<title>
|
14
|
+
{%- if page.title -%} {{ page.title | smartify }} · {{ site.title | smartify
|
15
|
+
}} {%- else -%} {{ site.title | smartify }} · {{ site.description | smartify
|
16
|
+
}} {%- endif -%}
|
17
|
+
</title>
|
18
|
+
|
19
|
+
{% include stylesheet.html %} {% include favicons.html %} {% include social.html
|
20
|
+
%} {% include analytics.html %}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<div class="text-{{ site.header.align | dafault: center }}">
|
2
|
+
{%- if site.header.text -%}
|
3
|
+
<p>{{ site.header.text }}</p>
|
4
|
+
{%- else -%} {%- if site.title -%}<a href="{{ site.url }}"
|
5
|
+
><h1>{{ site.title }}</h1></a
|
6
|
+
>{%- endif -%} {%- if site.description -%}
|
7
|
+
<h6>{{ site.description }}</h6>
|
8
|
+
{%- endif -%}{%- endif -%}
|
9
|
+
</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 -%}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<script
|
2
|
+
src="{{ site.cdn.jquery }}"
|
3
|
+
integrity="{{ site.cdn.jquery_hash }}"
|
4
|
+
crossorigin="anonymous"
|
5
|
+
></script>
|
6
|
+
<script
|
7
|
+
crossorigin="anonymous"
|
8
|
+
integrity="{{ site.cdn.js_hash }}"
|
9
|
+
src="{{ site.cdn.js }}"
|
10
|
+
></script>
|
11
|
+
<script src="{{ site.baseurl }}/assets/js/minimal-bootstrap.js"></script>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<!-- Twitter -->
|
2
|
+
<meta name="twitter:card" content="{% if page.title %}summary{% else %}summary_large_image{% endif %}">
|
3
|
+
<meta name="twitter:site" content="@{{ site.twitter }}">
|
4
|
+
<meta name="twitter:creator" content="@{{ site.twitter }}">
|
5
|
+
<meta name="twitter:title" content="{{ page.title | default: site.title | smartify }}">
|
6
|
+
<meta name="twitter:description" content="{{ page.description | default: site.description | smartify }}">
|
7
|
+
<meta name="twitter:image" content="{% if page.title %}{{ site.url | append: site.social_logo_path }}{% else %}{{ site.url | append: site.social_image_path }}{% endif %}">
|
8
|
+
|
9
|
+
<!-- Facebook -->
|
10
|
+
<meta property="og:url" content="{{ site.url | append: page.url }}">
|
11
|
+
<meta property="og:title" content="{{ page.title | default: site.title | smartify }}">
|
12
|
+
<meta property="og:description" content="{{ page.description | default: site.description | smartify }}">
|
13
|
+
<meta property="og:type" content="website">
|
14
|
+
<meta property="og:image" content="{{ site.url | replace: 'https://', 'http://' | append: site.social_image_path }}">
|
15
|
+
<meta property="og:image:secure_url" content="{{ site.url | append: site.social_image_path }}">
|
16
|
+
<meta property="og:image:type" content="image/png">
|
17
|
+
<meta property="og:image:width" content="1200">
|
18
|
+
<meta property="og:image:height" content="630">
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Bootstrap core CSS -->
|
2
|
+
<link
|
3
|
+
crossorigin="anonymous"
|
4
|
+
integrity="{{ site.cdn.css_hash }}"
|
5
|
+
href="{{ site.cdn.css }}"
|
6
|
+
rel="stylesheet"
|
7
|
+
/>
|
8
|
+
<link
|
9
|
+
crossorigin="anonymous"
|
10
|
+
integrity="{{ site.cdn.icon_hash }}"
|
11
|
+
href="{{ site.cdn.icon }}"
|
12
|
+
rel="stylesheet"
|
13
|
+
/>
|
data/_layouts/blog.html
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<div class="text-{{ site.main.blog.align | dafault: center }}">
|
5
|
+
<div class="d-inline-flex list-group">
|
6
|
+
{%- for post in site.posts -%} {%- assign condition = true -%} {%- assign
|
7
|
+
compare = page.title | downcase -%} {%- if page.scope == 'authors' -%} {%-
|
8
|
+
assign post_author = post.author | downcase -%} {%- if post_author ==
|
9
|
+
compare -%} {%- assign condition = true -%} {%- else -%} {%- assign
|
10
|
+
condition = false -%} {%- endif -%} {%- elsif page.scope == 'categories' -%}
|
11
|
+
{%- if post.categories contains compare -%} {%- assign condition = true -%}
|
12
|
+
{%- else -%} {%- assign condition = false -%} {%- endif -%} {%- endif -%}
|
13
|
+
{%- 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>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html lang="{{ site.lang | default: en-US }}">
|
3
|
+
{%- include head.html -%}
|
4
|
+
|
5
|
+
<body
|
6
|
+
class="container"
|
7
|
+
style="font-weight:{{ site.font_weight }}"
|
8
|
+
>
|
9
|
+
<header class="p-3">{%- include header.html -%}</header>
|
10
|
+
<main id="content" role="main" class="p-3">{{ content }}</main>
|
11
|
+
<footer class="p-3">{%- include footer.html -%}</footer>
|
12
|
+
{%- include script.html -%}
|
13
|
+
</body>
|
14
|
+
</html>
|
data/_layouts/post.html
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
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
|
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.feed.path }}"
|
34
|
+
title="Atom Feed RSS"
|
35
|
+
>Subscribe</a
|
36
|
+
>{%- endif -%}
|
37
|
+
</p>
|
38
|
+
</article>
|
@@ -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,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.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- saltgz
|
@@ -135,6 +135,18 @@ extra_rdoc_files: []
|
|
135
135
|
files:
|
136
136
|
- LICENSE.txt
|
137
137
|
- README.md
|
138
|
+
- _includes/analytics.html
|
139
|
+
- _includes/favicons.html
|
140
|
+
- _includes/footer.html
|
141
|
+
- _includes/head.html
|
142
|
+
- _includes/header.html
|
143
|
+
- _includes/script.html
|
144
|
+
- _includes/social.html
|
145
|
+
- _includes/stylesheet.html
|
146
|
+
- _layouts/blog.html
|
147
|
+
- _layouts/default.html
|
148
|
+
- _layouts/post.html
|
149
|
+
- assets/js/minimal-bootstrap.js
|
138
150
|
homepage: https://github.com/saltgz/jekyll-theme-minimal-bootstrap
|
139
151
|
licenses:
|
140
152
|
- MIT
|