jekyll-theme-clean-blog 4.0.2 → 4.0.3
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 +4 -3
- data/_includes/footer.html +10 -0
- data/_includes/navbar.html +1 -1
- data/_includes/read_time.html +3 -0
- data/_layouts/home.html +23 -23
- data/_layouts/post.html +37 -32
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 391d30fbf118e6146a954ac876dbe585816d552dd8a6a8da0c95e5a357acbbff
|
4
|
+
data.tar.gz: 3c0ff21b023a694d0bcdf2403d27abc94b9fe15c6b5161e788d56bbdc47216b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2beef6cda34cdf74cdef6939db26cc74c661401daeb0f001119ab3576aedcaf662828701a35ac71103f27de3f6b65a3ec5328d572880359a88beadd803866ff0
|
7
|
+
data.tar.gz: 5687e18b784d1db731e9bd95eafa1b59b4c556e9584a2ad75fc26ceb93c9f6a375469f1a7779f524ff25a1d39d7494bd5bc93145f0ec14ad0a76e22fcc7a79ff
|
data/README.md
CHANGED
@@ -19,12 +19,12 @@ When installing the theme using RubyGems, demo images, posts, and pages are not
|
|
19
19
|
1. (Optional) Create a new Jekyll site: `jekyll new my-site`
|
20
20
|
2. Replace the current theme in your `Gemfile` with `gem "jekyll-theme-clean-blog"`.
|
21
21
|
3. Install the theme: `bundle install`
|
22
|
-
4. Replace the current theme in your `_config.yml` file with `theme: jekyll-theme-
|
22
|
+
4. Replace the current theme in your `_config.yml` file with `theme: jekyll-theme-clean-blog`.
|
23
23
|
5. Build your site: `bundle exec jekyll serve`
|
24
24
|
|
25
25
|
Assuming there are no errors and the site is building properly, follow these steps next:
|
26
26
|
|
27
|
-
1. Create the following pages if they do not exist already (or change the extension of
|
27
|
+
1. Create the following pages if they do not exist already (or change the extension of exisitig markdown files from `.md` to `.html`):
|
28
28
|
- `index.html` - set to `layout: home`
|
29
29
|
- `about.html` - set to `layout: page`
|
30
30
|
- `contact.html` - set to `layout: page`
|
@@ -107,7 +107,7 @@ When using the core files, the demo images, posts, and pages are all included wi
|
|
107
107
|
|
108
108
|
1. [Download](https://github.com/BlackrockDigital/startbootstrap-clean-blog-jekyll/archive/master.zip) or Clone the repository.
|
109
109
|
2. Update the following configuration settings in your `_config.yml` file:
|
110
|
-
- `
|
110
|
+
- `baseurl`
|
111
111
|
- `url`
|
112
112
|
- `title`
|
113
113
|
- `email` (after setting this setting to a working email address, fill out the form on the contact page and send it - then check your email and verify the address and the form will send you messages when used)
|
@@ -116,6 +116,7 @@ When using the core files, the demo images, posts, and pages are all included wi
|
|
116
116
|
- `twitter_username` (Optional)
|
117
117
|
- `facebook_username` (Optional)
|
118
118
|
- `github_username` (Optional)
|
119
|
+
- `linkedin_username` (Optional)
|
119
120
|
3. Build your site: `bundle exec jekyll serve`
|
120
121
|
|
121
122
|
## Bugs and Issues
|
data/_includes/footer.html
CHANGED
@@ -27,6 +27,16 @@
|
|
27
27
|
</a>
|
28
28
|
</li>
|
29
29
|
{% endif %}
|
30
|
+
{% if site.linkedin_username %}
|
31
|
+
<li class="list-inline-item">
|
32
|
+
<a href="https://www.linkedin.com/in/{{ site.linkedin_username }}">
|
33
|
+
<span class="fa-stack fa-lg">
|
34
|
+
<i class="fas fa-circle fa-stack-2x"></i>
|
35
|
+
<i class="fab fa-linkedin fa-stack-1x fa-inverse"></i>
|
36
|
+
</span>
|
37
|
+
</a>
|
38
|
+
</li>
|
39
|
+
{% endif %}
|
30
40
|
{% if site.github_username %}
|
31
41
|
<li class="list-inline-item">
|
32
42
|
<a href="https://github.com/{{ site.github_username }}">
|
data/_includes/navbar.html
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
<!-- Navigation -->
|
2
2
|
<nav class="navbar navbar-expand-lg navbar-light fixed-top" id="mainNav">
|
3
3
|
<div class="container">
|
4
|
-
<a class="navbar-brand" href="{{"/" | relative_url }}">
|
4
|
+
<a class="navbar-brand" href="{{"/" | relative_url }}">{{ site.title | escape }}</a>
|
5
5
|
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
|
6
6
|
Menu
|
7
7
|
<i class="fa fa-bars"></i>
|
data/_layouts/home.html
CHANGED
@@ -4,9 +4,9 @@ layout: default
|
|
4
4
|
|
5
5
|
<!-- Page Header -->
|
6
6
|
{% if page.background %}
|
7
|
-
|
7
|
+
<header class="masthead" style="background-image: url('{{ page.background | prepend: site.baseurl | replace: '//', '/' }}')">
|
8
8
|
{% else %}
|
9
|
-
|
9
|
+
<header class="masthead">
|
10
10
|
{% endif %}
|
11
11
|
<div class="overlay"></div>
|
12
12
|
<div class="container">
|
@@ -15,7 +15,7 @@ layout: default
|
|
15
15
|
<div class="page-heading">
|
16
16
|
<h1>{{ site.title }}</h1>
|
17
17
|
{% if site.description %}
|
18
|
-
|
18
|
+
<span class="subheading">{{ site.description }}</span>
|
19
19
|
{% endif %}
|
20
20
|
</div>
|
21
21
|
</div>
|
@@ -32,26 +32,26 @@ layout: default
|
|
32
32
|
<!-- Home Post List -->
|
33
33
|
{% for post in site.posts limit : 5 %}
|
34
34
|
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
35
|
+
<article class="post-preview">
|
36
|
+
<a href="{{ post.url | prepend: site.baseurl | replace: '//', '/' }}">
|
37
|
+
<h2 class="post-title">{{ post.title }}</h2>
|
38
|
+
{% if post.subtitle %}
|
39
|
+
<h3 class="post-subtitle">{{ post.subtitle }}</h3>
|
40
|
+
{% else %}
|
41
|
+
<h3 class="post-subtitle">{{ post.excerpt | strip_html | truncatewords: 15 }}</h3>
|
42
|
+
{% endif %}
|
43
|
+
</a>
|
44
|
+
<p class="post-meta">Posted by
|
45
|
+
{% if post.author %}
|
46
|
+
{{ post.author }}
|
47
|
+
{% else %}
|
48
|
+
{{ site.author }}
|
49
|
+
{% endif %}
|
50
|
+
on
|
51
|
+
{{ post.date | date: '%B %d, %Y' }} · {% include read_time.html content=post.content %}</p>
|
52
|
+
</article>
|
53
53
|
|
54
|
-
|
54
|
+
<hr>
|
55
55
|
|
56
56
|
{% endfor %}
|
57
57
|
|
@@ -62,4 +62,4 @@ layout: default
|
|
62
62
|
|
63
63
|
</div>
|
64
64
|
</div>
|
65
|
-
</div>
|
65
|
+
</div>
|
data/_layouts/post.html
CHANGED
@@ -5,46 +5,51 @@ layout: default
|
|
5
5
|
<!-- Page Header -->
|
6
6
|
{% if page.background %}
|
7
7
|
<header class="masthead" style="background-image: url('{{ page.background | prepend: site.baseurl | replace: '//', '/' }}')">
|
8
|
-
{% else %}
|
9
|
-
<header class="masthead">
|
10
|
-
{% endif %}
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
8
|
+
{% else %}
|
9
|
+
<header class="masthead">
|
10
|
+
{% endif %}
|
11
|
+
<div class="overlay"></div>
|
12
|
+
<div class="container">
|
13
|
+
<div class="row">
|
14
|
+
<div class="col-lg-8 col-md-10 mx-auto">
|
15
|
+
<div class="post-heading">
|
16
|
+
<h1>{{ page.title }}</h1>
|
17
|
+
{% if page.subtitle %}
|
18
|
+
<h2 class="subheading">{{ page.subtitle }}</h2>
|
19
|
+
{% endif %}
|
20
|
+
<span class="meta">Posted by
|
21
|
+
<a href="#">Start Bootstrap</a>
|
22
|
+
on {{ page.date | date: '%B %d, %Y' }} · {% include read_time.html
|
23
|
+
content=page.content %}</span>
|
24
|
+
</div>
|
23
25
|
</div>
|
24
26
|
</div>
|
25
27
|
</div>
|
26
|
-
</
|
27
|
-
|
28
|
+
</header>
|
29
|
+
|
30
|
+
<div class="container">
|
31
|
+
<div class="row">
|
32
|
+
<div class="col-lg-8 col-md-10 mx-auto">
|
28
33
|
|
29
|
-
|
30
|
-
<div class="row">
|
31
|
-
<div class="col-lg-8 col-md-10 mx-auto">
|
34
|
+
{{ content }}
|
32
35
|
|
33
|
-
|
36
|
+
<hr>
|
34
37
|
|
35
|
-
|
38
|
+
<div class="clearfix">
|
36
39
|
|
37
|
-
|
40
|
+
{% if page.previous.url %}
|
41
|
+
<a class="btn btn-primary float-left" href="{{ page.previous.url | prepend: site.baseurl | replace: '//', '/' }}"
|
42
|
+
data-toggle="tooltip" data-placement="top" title="{{ page.previous.title }}">← Previous<span class="d-none d-md-inline">
|
43
|
+
Post</span></a>
|
44
|
+
{% endif %}
|
45
|
+
{% if page.next.url %}
|
46
|
+
<a class="btn btn-primary float-right" href="{{ page.next.url | prepend: site.baseurl | replace: '//', '/' }}"
|
47
|
+
data-toggle="tooltip" data-placement="top" title="{{ page.next.title }}">Next<span class="d-none d-md-inline">
|
48
|
+
Post</span> →</a>
|
49
|
+
{% endif %}
|
38
50
|
|
39
|
-
|
40
|
-
<a class="btn btn-primary float-left" href="{{ page.previous.url | prepend: site.baseurl | replace: '//', '/' }}" data-toggle="tooltip" data-placement="top" title="{{ page.previous.title }}">← Previous<span class="d-none d-md-inline"> Post</span></a>
|
41
|
-
{% endif %}
|
42
|
-
{% if page.next.url %}
|
43
|
-
<a class="btn btn-primary float-right" href="{{ page.next.url | prepend: site.baseurl | replace: '//', '/' }}" data-toggle="tooltip" data-placement="top" title="{{ page.next.title }}">Next<span class="d-none d-md-inline"> Post</span> →</a>
|
44
|
-
{% endif %}
|
51
|
+
</div>
|
45
52
|
|
46
53
|
</div>
|
47
|
-
|
48
54
|
</div>
|
49
|
-
</div>
|
50
|
-
</div>
|
55
|
+
</div>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-clean-blog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Start Bootstrap
|
@@ -64,6 +64,7 @@ files:
|
|
64
64
|
- _includes/footer.html
|
65
65
|
- _includes/head.html
|
66
66
|
- _includes/navbar.html
|
67
|
+
- _includes/read_time.html
|
67
68
|
- _includes/scripts.html
|
68
69
|
- _layouts/default.html
|
69
70
|
- _layouts/home.html
|