jekyll-theme-minimal-bootstrap 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 5ec913d094e7a52b63494bf478365707dfedc79f11152a4d7a8126cd86fee730
4
+ data.tar.gz: be8d8ef5f6d255b0201684723e4cf8a817ba7ee8b97e1edadbed713f4740081a
5
+ SHA512:
6
+ metadata.gz: 6cbad3d18d0bd34fceaafe756b2121dc8906ed35c5bcd822a6f1d87f4cccb8d10b96126f8541734f0df43809c7e0ca8afe398342100cdb143958f63aa13260a1
7
+ data.tar.gz: 12d24674227d238da6446c084ad71d17629319766389f5dd581f6225e79cc31f292420e344eb89aa6862c3cc7d99802887bb89fe15cba834e17176d97e6ee6db
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
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.
data/README.md ADDED
@@ -0,0 +1,51 @@
1
+ # jekyll-theme-minimal-bootstrap
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
8
+
9
+
10
+ ## Installation
11
+
12
+ Add this line to your Jekyll site's `Gemfile`:
13
+
14
+ ```ruby
15
+ gem "jekyll-theme-minimal-bootstrap"
16
+ ```
17
+
18
+ And add this line to your Jekyll site's `_config.yml`:
19
+
20
+ ```yaml
21
+ theme: jekyll-theme-minimal-bootstrap
22
+ ```
23
+
24
+ And then execute:
25
+
26
+ $ bundle
27
+
28
+ Or install it yourself as:
29
+
30
+ $ gem install jekyll-theme-minimal-bootstrap
31
+
32
+ ## Usage
33
+
34
+ TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
35
+
36
+ ## Contributing
37
+
38
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
39
+
40
+ ## Development
41
+
42
+ To set up your environment to develop this theme, run `bundle install`.
43
+
44
+ Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
45
+
46
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
47
+ To add a custom directory to your theme-gem, please edit the regexp in `minimal-bootstrap.gemspec` accordingly.
48
+
49
+ ## License
50
+
51
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -0,0 +1,37 @@
1
+ {% if site.footer.copyright %}
2
+ {% 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 %}
15
+ {% if site.footer.copyright.text %}
16
+ <p class="text-{{ site.footer.align | dafault: center }}">
17
+ {{ site.footer.copyright.text }}
18
+ </p>
19
+ {% endif %}
20
+ {% endif %}
21
+
22
+ <script
23
+ crossorigin="anonymous"
24
+ integrity="{{ site.cdn.jquery_hash }}"
25
+ src="{{ site.cdn.jquery }}"
26
+ ></script>
27
+ <script
28
+ crossorigin="anonymous"
29
+ integrity="{{ site.cdn.popper_hash }}"
30
+ src="{{ site.cdn.popper }}"
31
+ ></script>
32
+ <script
33
+ crossorigin="anonymous"
34
+ integrity="{{ site.cdn.bs_js_hash }}"
35
+ src="{{ site.cdn.bs_js }}"
36
+ ></script>
37
+ <script src="/assets/javascript/minimal-bootstrap.js"></script>
@@ -0,0 +1,34 @@
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 }} &middot; {% 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 | default: /assets/images/apple-touch-icon.png }}"
24
+ rel="apple-touch-icon"
25
+ type="image/png"
26
+ sizes="180x180"
27
+ />
28
+ <link
29
+ href="{{ site.favicon | default: /assets/images/favicon.png }}"
30
+ rel="icon"
31
+ type="image/png"
32
+ size="32x32"
33
+ />
34
+ </head>
@@ -0,0 +1,23 @@
1
+ <div class="text-{{ site.header.align | dafault: center }} py-3">
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 paths %}
13
+ <div class="nav-scroller">
14
+ <nav class="nav d-flex justify-content-between">
15
+ {% for path in paths %} {% assign page = site.pages | where: "path", path |
16
+ first %} {% if page.title %}
17
+ <a class="p-2" href="{{ page.url | absolute_url }}">
18
+ {{ page.title | escape }}
19
+ </a>
20
+ {% endif %} {% endfor %}
21
+ </nav>
22
+ </div>
23
+ {% endif %} {% endif %}
@@ -0,0 +1 @@
1
+ {{ content }}
@@ -0,0 +1,32 @@
1
+ ---
2
+ layout: page
3
+ ---
4
+
5
+ {% if site.posts.size > 0 %}
6
+ <div class="text-{{ site.main.blog.align | dafault: center }} py-1">
7
+ <div class="d-inline-flex list-group">
8
+ {% for post in site.posts %}
9
+ <a
10
+ href="{{ post.url | relative_url }}"
11
+ class="list-group-item list-group-item-action"
12
+ >
13
+ <h5 class="text-left my-2">{{ post.title | escape }}</h5>
14
+ <div class="d-flex w-100 justify-content-between">
15
+ <small
16
+ >by <em>{% if post.author %}{{ post.author }}{% endif %}</em> | {{
17
+ post.date | date_to_long_string }} | {{ post.content | number_of_words
18
+ }} words</small
19
+ >
20
+ </div>
21
+ </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>
30
+ </div>
31
+ </div>
32
+ {%- endif -%}
@@ -0,0 +1 @@
1
+ {{ content }}
@@ -0,0 +1,17 @@
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>
@@ -0,0 +1,24 @@
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="/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="/{{ category }}" role="button">{{ category }}</a> {%
19
+ endfor %}
20
+ </p>
21
+ </header>
22
+
23
+ {{ content }}
24
+ </article>
metadata ADDED
@@ -0,0 +1,122 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-theme-minimal-bootstrap
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - saltgz
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-01-21 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: jekyll
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3.8'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 3.8.5
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '3.8'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 3.8.5
33
+ - !ruby/object:Gem::Dependency
34
+ name: jekyll-feed
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: 0.11.0
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: 0.11.0
47
+ - !ruby/object:Gem::Dependency
48
+ name: bundler
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '2.0'
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 2.0.1
57
+ type: :development
58
+ prerelease: false
59
+ version_requirements: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - "~>"
62
+ - !ruby/object:Gem::Version
63
+ version: '2.0'
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: 2.0.1
67
+ - !ruby/object:Gem::Dependency
68
+ name: rake
69
+ requirement: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - "~>"
72
+ - !ruby/object:Gem::Version
73
+ version: '12.0'
74
+ type: :development
75
+ prerelease: false
76
+ version_requirements: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - "~>"
79
+ - !ruby/object:Gem::Version
80
+ version: '12.0'
81
+ description:
82
+ email:
83
+ - stefanopio.zingaro@unibo.it
84
+ executables: []
85
+ extensions: []
86
+ extra_rdoc_files: []
87
+ files:
88
+ - LICENSE.txt
89
+ - 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
+ homepage: https://github.com/saltgz/jekyll-theme-minimal-bootstrap
99
+ licenses:
100
+ - MIT
101
+ metadata: {}
102
+ post_install_message:
103
+ rdoc_options: []
104
+ require_paths:
105
+ - lib
106
+ required_ruby_version: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ required_rubygems_version: !ruby/object:Gem::Requirement
112
+ requirements:
113
+ - - ">="
114
+ - !ruby/object:Gem::Version
115
+ version: '0'
116
+ requirements: []
117
+ rubyforge_project:
118
+ rubygems_version: 2.7.8
119
+ signing_key:
120
+ specification_version: 4
121
+ summary: Minimal multi-purpose Jekyll theme using Bootstrap.
122
+ test_files: []