Skip to content

Commit c7043fb

Browse files
committed
remove category implementation and image credit option
1 parent 5893623 commit c7043fb

23 files changed

+60
-515
lines changed

Gemfile

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ gem "jekyll", "~> 3.8.5"
55
group :jekyll_plugins do
66
gem "jekyll-feed", "~> 0.6"
77
gem "jekyll-paginate", "~> 1.1.0"
8-
gem "jekyll-sitemap" ## Uncomment this line to silently generate a sitemaps.org compliant sitemap for your Jekyll site
9-
gem "jekyll-archives"
8+
gem "jekyll-sitemap"
109
end
1110

1211
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem

_config.yml

+13-21
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,25 @@
1-
title: Clean Blog
2-
3-
description: A Blog Theme by Start Bootstrap
4-
author: Start Bootstrap
5-
baseurl: "/startbootstrap-clean-blog-jekyll"
6-
url: "https://blackrockdigital.github.io"
1+
title: Clean Blog
2+
3+
description: A Blog Theme by Start Bootstrap
4+
author: Start Bootstrap
5+
baseurl: "/startbootstrap-clean-blog-jekyll"
6+
url: "https://blackrockdigital.github.io"
77

88
# Social Profiles
9-
twitter_username: SBootstrap
10-
github_username: BlackrockDigital
11-
facebook_username: StartBootstrap
9+
twitter_username: SBootstrap
10+
github_username: BlackrockDigital
11+
facebook_username: StartBootstrap
1212
linkedin_username:
1313
goodreads_username:
1414

1515
# Add your google-analytics ID here to activate google analytics
16-
google_analytics: UA-XXXXXXXXX-X # out your google-analytics code
16+
google_analytics: UA-XXXXXXXXX-X # out your google-analytics code
1717

1818
# Build settings
19-
markdown: kramdown
20-
paginate: 5
21-
paginate_path: "/posts/page:num/"
19+
markdown: kramdown
20+
paginate: 5
21+
paginate_path: "/posts/page:num/"
2222
plugins:
2323
- jekyll-feed
2424
- jekyll-paginate
25-
- jekyll-archives
2625
- jekyll-sitemap ## Uncomment this line to silently generate a sitemaps.org compliant sitemap for your Jekyll site
27-
28-
jekyll-archives:
29-
enabled:
30-
- categories
31-
layout: archive
32-
permalinks:
33-
category: '/category/:name/'

_includes/footer.html

+1-11
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<a href="mailto:{{ site.email | encode_email }}">
1313
<span class="fa-stack fa-lg">
1414
<i class="fas fa-circle fa-stack-2x"></i>
15-
<i class="fab fa-mailchimp fa-stack-1x fa-inverse"></i>
15+
<i class="far fa-envelope fa-stack-1x fa-inverse"></i>
1616
</span>
1717
</a>
1818
</li>
@@ -57,16 +57,6 @@
5757
</a>
5858
</li>
5959
{% endif %}
60-
{% if site.goodreads_username %}
61-
<li class="list-inline-item">
62-
<a href="https://www.goodreads.com/user/show/{{ site.goodreads_username }}">
63-
<span class="fa-stack fa-lg">
64-
<i class="fas fa-circle fa-stack-2x"></i>
65-
<i class="fab fa-goodreads fa-stack-1x fa-inverse"></i>
66-
</span>
67-
</a>
68-
</li>
69-
{% endif %}
7060
</ul>
7161
<p class="copyright text-muted">Copyright &copy; {{ site.author }} {{ 'now' | date: "%Y" }}</p>
7262
</div>

_includes/head.html

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
<link rel="stylesheet" href="{{"/assets/vendor/fontawesome-free/css/all.min.css" | relative_url }}">
1919

2020
<link rel="stylesheet" href="{{"/assets/main.css" | relative_url }}">
21-
<link rel="stylesheet" href="{{"/assets/scss/additional.css" | relative_url }}">
2221
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
2322
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
2423

_includes/navbar.html

+2-9
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,8 @@
1414
<li class="nav-item">
1515
<a class="nav-link" href="{{"/about" | relative_url }}">About</a>
1616
</li>
17-
<li class="nav-item dropdown" style="text-decoration: none;">
18-
<a href="{{ "/posts" | relative_url }}">Posts &#9660;</a>
19-
<div class="dropdown-content">
20-
{% for category in site.categories %}
21-
<a href="{{ category[0] | prepend: "/" | relative_url }}">
22-
{{ category[0] | capitalize }}
23-
</a>
24-
{% endfor %}
25-
</div>
17+
<li class="nav-item">
18+
<a class="nav-link" href="{{ "/posts" | relative_url }}">Posts</a>
2619
</li>
2720
<li class="nav-item">
2821
<a class="nav-link" href="{{"/contact" | relative_url }}">Contact</a>

_layouts/archive.html

-37
This file was deleted.

_layouts/default.html

+8-8
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22

33
<html>
44

5-
{% include head.html %}
5+
{% include head.html %}
66

7-
<body>
7+
<body>
88

9-
{% include navbar.html %}
9+
{% include navbar.html %}
1010

11-
{{ content }}
11+
{{ content }}
1212

13-
{% include footer.html %}
13+
{% include footer.html %}
1414

15-
{% include scripts.html %}
15+
{% include scripts.html %}
1616

17-
{% include google-analytics.html %}
17+
{% include google-analytics.html %}
1818

19-
</body>
19+
</body>
2020

2121
</html>

_layouts/home.html

+1-11
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ <h1>{{ site.title }}</h1>
1717
{% if site.description %}
1818
<span class="subheading">{{ site.description }}</span>
1919
{% endif %}
20-
{% if page.credits %}
21-
<span class="meta"> {{ page.credits }} </span>
22-
{% endif %}
2320
</div>
2421
</div>
2522
</div>
@@ -51,14 +48,7 @@ <h3 class="post-subtitle">{{ post.excerpt | strip_html | truncatewords: 15 }}</h
5148
{{ site.author }}
5249
{% endif %}
5350
on
54-
{{ post.date | date: '%B %d, %Y' }} &middot; {% include read_time.html content=post.content %}
55-
<br>
56-
Categories:
57-
{% for category in post.categories %}
58-
<a href="{{ category | prepend: "/" | relative_url }}">
59-
{{ category | capitalize }}
60-
</a>
61-
{% endfor %}
51+
{{ post.date | date: '%B %d, %Y' }} &middot; {% include read_time.html content=post.content %}
6252
</p>
6353
</article>
6454

_layouts/page.html

+18-21
Original file line numberDiff line numberDiff line change
@@ -5,33 +5,30 @@
55
<!-- Page Header -->
66
{% if page.background %}
77
<header class="masthead" style="background-image: url('{{ page.background | prepend: site.baseurl | replace: '//', '/' }}')">
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="page-heading">
16-
<h1>{{ page.title }}</h1>
17-
{% if page.description %}
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="page-heading">
16+
<h1>{{ page.title }}</h1>
17+
{% if page.description %}
1818
<span class="subheading">{{ page.description }}</span>
19-
{% endif %}
20-
{% if page.credits %}
21-
<span class="meta"> {{ page.credits }} </span>
22-
{% endif %}
19+
{% endif %}
20+
</div>
2321
</div>
2422
</div>
2523
</div>
26-
</div>
27-
</header>
24+
</header>
2825

29-
<div class="container">
30-
<div class="row">
31-
<div class="col-lg-8 col-md-10 mx-auto">
26+
<div class="container">
27+
<div class="row">
28+
<div class="col-lg-8 col-md-10 mx-auto">
3229

33-
{{ content }}
30+
{{ content }}
3431

32+
</div>
3533
</div>
3634
</div>
37-
</div>

_layouts/post.html

+3-15
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,8 @@ <h2 class="subheading">{{ page.subtitle }}</h2>
2020
<span class="meta">Posted by
2121
<a href="#">{% if page.author %}{{ page.author }}{% else %}{{ site.author }}{% endif %}</a>
2222
on {{ page.date | date: '%B %d, %Y' }} &middot; {% include read_time.html
23-
content=page.content %}</span>
24-
<span class="meta">
25-
Categories:
26-
{% for category in page.categories %}
27-
<a href="{{ category | prepend: "/" | relative_url }}">
28-
{{ category | capitalize }}
29-
</a>
30-
{% endfor %}
23+
content=page.content %}
3124
</span>
32-
{% if page.credits %}
33-
<span class="meta"> {{ page.credits }} </span>
34-
{% endif %}
3525
</div>
3626
</div>
3727
</div>
@@ -49,13 +39,11 @@ <h2 class="subheading">{{ page.subtitle }}</h2>
4939
<div class="clearfix">
5040

5141
{% if page.previous.url %}
52-
<a class="btn btn-primary float-left" href="{{ page.previous.url | prepend: site.baseurl | replace: '//', '/' }}"
53-
data-toggle="tooltip" data-placement="top" title="{{ page.previous.title }}">&larr; Previous<span class="d-none d-md-inline">
42+
<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 }}">&larr; Previous<span class="d-none d-md-inline">
5443
Post</span></a>
5544
{% endif %}
5645
{% if page.next.url %}
57-
<a class="btn btn-primary float-right" href="{{ page.next.url | prepend: site.baseurl | replace: '//', '/' }}"
58-
data-toggle="tooltip" data-placement="top" title="{{ page.next.title }}">Next<span class="d-none d-md-inline">
46+
<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">
5947
Post</span> &rarr;</a>
6048
{% endif %}
6149

_posts/2017-10-26-dinosaurs.html

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
---
22
layout: post
3-
title: "Dinosaurs are extinct today"
3+
title: "Dinosaurs are extinct today"
44
subtitle: "because they lacked opposable thumbs and the brainpower to build a space program."
5-
date: 2017-10-26 23:45:13 -0400
6-
credits: Background Image Credits Goes here
5+
date: 2017-10-26 23:45:13 -0400
76
background: '/img/posts/01.jpg'
87
---
98

_posts/2017-10-27-dreams.html

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
---
22
layout: post
3-
title: "The dreams of yesterday are the hopes of today and the reality of tomorrow."
4-
date: 2017-10-27 23:45:13 -0400
5-
categories: [cat1]
6-
credits: Background Image Credits goes here
3+
title: "The dreams of yesterday are the hopes of today and the reality of tomorrow."
4+
date: 2017-10-27 23:45:13 -0400
75
background: '/img/posts/02.jpg'
86
---
97

_posts/2017-10-28-exploration.html

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
---
22
layout: post
3-
title: "Failure is not an option"
3+
title: "Failure is not an option"
44
subtitle: "Many say exploration is part of our destiny, but it’s actually our duty to future generations."
5-
date: 2017-10-28 23:45:13 -0400
6-
categories: [cat1, cat2]
7-
credits: Background Image Credits Goes Here
5+
date: 2017-10-28 23:45:13 -0400
86
background: '/img/posts/03.jpg'
97
---
108

_posts/2017-10-29-prophecy.html

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
---
22
layout: post
3-
title: "Science has not yet mastered prophecy"
3+
title: "Science has not yet mastered prophecy"
44
subtitle: "We predict too much for the next year and yet far too little for the next ten."
5-
date: 2017-10-29 23:45:13 -0400
6-
categories: [cat2, cat3]
7-
credits: Background Image Credits Goes Here
5+
date: 2017-10-29 23:45:13 -0400
86
background: '/img/posts/04.jpg'
97
---
108

_posts/2017-10-30-heartbeats.html

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
---
22
layout: post
3-
title: "I believe every human has a finite number of heartbeats. I don't intend to waste any of mine."
4-
date: 2017-10-30 23:45:13 -0400
5-
categories: [cat3]
6-
credits: Background Image Credits Goes Here
3+
title: "I believe every human has a finite number of heartbeats. I don't intend to waste any of mine."
4+
date: 2017-10-30 23:45:13 -0400
75
background: '/img/posts/05.jpg'
86
---
97

_posts/2017-10-31-man-must-explore.html

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
---
22
layout: post
3-
title: "Man must explore, and this is exploration at its greatest"
3+
title: "Man must explore, and this is exploration at its greatest"
44
subtitle: "Problems look mighty small from 150 miles up"
5-
categories: [cat3]
6-
credits: Background Image Credits Goes Here
7-
date: 2017-10-31 10:45:13 -0400
5+
date: 2017-10-31 10:45:13 -0400
86
background: '/img/posts/06.jpg'
97
---
108

0 commit comments

Comments
 (0)