Skip to content

Commit 1038433

Browse files
Merge pull request #7 from MichaelCurrin/use-custom-theme
Use custom theme
2 parents 88dff2f + af9f067 commit 1038433

20 files changed

+28
-359
lines changed

β€Ž.gitignore

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
_site/
2-
3-
.jekyll-metadata
4-
51
.jekyll-cache/
62
.sass-cache/
3+
.jekyll-metadata
74

85
.bundle/
96
vendor/
7+
8+
_site/

β€Ž404.html

+1-24
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,3 @@
11
---
2-
layout: default
2+
layout: 404
33
---
4-
5-
<style type="text/css" media="screen">
6-
.container {
7-
margin: 10px auto;
8-
max-width: 600px;
9-
text-align: center;
10-
}
11-
12-
h1 {
13-
margin: 30px 0;
14-
font-size: 4em;
15-
line-height: 1;
16-
letter-spacing: -1px;
17-
}
18-
19-
</style>
20-
21-
<div class="container">
22-
<h1>404</h1>
23-
24-
<p><strong>Page not found πŸ§‘β€πŸ³ </strong></p>
25-
<p>The requested page could not be found.</p>
26-
</div>

β€ŽCONTRIBUTING.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
Contributions are welcome!
44

55

6-
## Issues
6+
## Request changes
77

8-
Create an issue to request a fix or request new content.
8+
If you'd like to just request an addition or fix, create an issue under [Issues](https://github.com/MichaelCurrin/code-cookbook/issues).
99

1010

1111
## Pull Requests
1212

13-
1. Fork the repo.
13+
1. Fork the repo. [![ Fork repo](https://img.shields.io/badge/Fork_repo-blue?style=for-the-badge&logo=github)](https://github.com/MichaelCurrin/code-cookbook/fork)
1414
2. Make a feature branch.
1515
3. Go to the upstream repo on GH - https://github.com/MichaelCurrin/code-cookbook
1616
4. Create a Pull Requests on the repo, merging from your fork's feature branch.

β€ŽGemfile

+3-5
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@ source "https://rubygems.org"
33
gem "jekyll", "~> 3.9"
44
gem "kramdown-parser-gfm", "~> 1.1.0"
55

6-
gem "minima", "~> 2.5.1"
6+
# Used locally to pull in subdependencies.
7+
gem 'minima', git: 'https://github.com/MichaelCurrin/minima'
78

89
group :jekyll_plugins do
9-
gem "jekyll-feed", "~> 0.15"
10-
gem "jekyll-sitemap", "~> 1.4.0"
11-
gem "jekyll-titles-from-headings", "~> 0.5.3"
12-
gem "jekyll-optional-front-matter", "~> 0.3.2"
10+
gem "jekyll-remote-theme", "0.4.2"
1311
end

β€Ž_config.yml

+10-11
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ github_username: MichaelCurrin
1010
url: "https://michaelcurrin.github.io"
1111
baseurl: "/code-cookbook"
1212

13-
theme: minima
14-
1513
# TODO
1614
google_analytics:
1715

@@ -20,24 +18,25 @@ header_pages:
2018
- recipes/index.md
2119
- about.md
2220

23-
plugins:
24-
- jekyll-feed
25-
- jekyll-sitemap
26-
- jekyll-titles-from-headings
27-
- jekyll-optional-front-matter
28-
29-
titles_from_headings:
30-
strip_title: true
31-
3221
exclude:
22+
- bin/
3323
- docs/
24+
- hooks/
3425
- vendor/
3526
- CONTRIBUTING.md
3627
- Gemfile
3728
- Gemfile.lock
3829
- LICENSE
3930
- Makefile
4031
- README.md
32+
- sample*.png
33+
34+
### Theme boilerplate
35+
36+
remote_theme: MichaelCurrin/minima
37+
38+
titles_from_headings:
39+
strip_title: true
4140

4241
defaults:
4342
- scope:

β€Ž_includes/breadcrumbs.html

-22
This file was deleted.

β€Ž_includes/edit-on-github.html

-9
This file was deleted.

β€Ž_includes/flex-sections.html

-47
This file was deleted.

β€Ž_includes/github-corner.html

-5
This file was deleted.

β€Ž_includes/list-pages.html

-16
This file was deleted.

β€Ž_includes/list-sections.html

-24
This file was deleted.

β€Ž_includes/logo.html

-8
This file was deleted.

β€Ž_includes/metadata.md

-4
This file was deleted.

β€Ž_includes/url-to-page-link.html

-17
This file was deleted.

β€Ž_layouts/default.html

-25
This file was deleted.

β€Ž_layouts/listing.html

-46
This file was deleted.

β€Ž_layouts/page.html

-29
This file was deleted.

0 commit comments

Comments
Β (0)