Skip to content

Commit 059b36f

Browse files
Merge pull request #32 from MichaelCurrin/use-custom-theme
Use custom theme
2 parents 411598a + f915488 commit 059b36f

22 files changed

+98
-414
lines changed

Gemfile

Lines changed: 3 additions & 5 deletions
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

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ Screenshots of the website:
2424

2525
<div align="center">
2626

27-
<!-- TODO replace with URL in badge but need to restructure how the badge works to allow '/' -->
28-
[![View site GH Pages](https://img.shields.io/badge/View_site-GH_Pages-green?style=for-the-badge)](https://michaelcurrin.github.io/dev-cheatsheets/)
27+
[![View - michaelcurrin.github.io/dev-cheatsheets/](https://img.shields.io/static/v1?label=View&message=michaelcurrin.github.io%2Fdev-cheatsheets%2F&color=green&style=for-the-badge)](michaelcurrin.github.io/dev-cheatsheets/)
2928

3029
</div>
3130

@@ -36,12 +35,12 @@ An idea of what to expect in this guide.
3635

3736
- **Languages** - Syntax and functions across languages. Including how to operate on an array in JavaScript, available Jekyll filters and common and specialized uses of Markdown. Most code snippets here are only one line.
3837
- **CLI tools** - Terminal commands and flags that are useful to me, including listing what they are, what they mean and an example of how to use them. Especially using versatile/complex tools like `sed` or `git`.
39-
- **Help** - Portions of the manpages, to make it easier to read about command in the browser without going through the entire manpage on the terminal.
38+
- **Help** - Portions of the man pages, to make it easier to read about command in the browser without going through the entire manpage on the terminal.
4039
- **Resources** - There are also some details for external resources.
4140

4241
The idea for the first two types is that the code here is generic. There are placeholder values for demonstration but you'll need to change them for your own situation. See also my [Code Cookbook](https://michaelcurrin.github.io/code-cookbook/) project. It has recipes which structured similarly to cheatsheets, except that the recipes are usually entire snippets, files or even sets of files. And they usually have real-world values from my own or other projects, rather than generic placeholder values.
4342

44-
Cheatsheets are focussed on the syntax for a single line and useful if you forget something specific. Recipes are focussed on ordered steps to accomplish a task and are indended to by copied (with some possible modification) rather than rewritten by hand.
43+
Cheatsheets are focussed on the syntax for a single line and useful if you forget something specific. Recipes are focussed on ordered steps to accomplish a task and are intended to by copied (with some possible modification) rather than rewritten by hand.
4544

4645

4746
## Documentation
@@ -71,5 +70,3 @@ Contributions are welcome. See instructions.
7170
Released under [MIT](/LICENSE).
7271

7372
You must include a copy of this original license if you fork this repo or use a significant portion of it.
74-
75-
GitHub corner SVG from: [tholman.com/github-corners](https://tholman.com/github-corners/)

_config.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ github_username: MichaelCurrin
1010
url: "https://michaelcurrin.github.io"
1111
baseurl: "/dev-cheatsheets"
1212

13-
theme: minima
14-
1513
google_analytics: UA-87705880-12
1614

1715
header_pages:
@@ -24,6 +22,9 @@ plugins:
2422
- jekyll-sitemap
2523
- jekyll-titles-from-headings
2624
- jekyll-optional-front-matter
25+
- jekyll-remote-theme
26+
27+
remote_theme: MichaelCurrin/minima
2728

2829
titles_from_headings:
2930
strip_title: true

_includes/breadcrumbs.html

Lines changed: 0 additions & 22 deletions
This file was deleted.

_includes/edit-on-github.html

Lines changed: 0 additions & 9 deletions
This file was deleted.

_includes/flex-sections.html

Lines changed: 0 additions & 47 deletions
This file was deleted.

_includes/github-corner.html

Lines changed: 0 additions & 5 deletions
This file was deleted.

_includes/list-pages.html

Lines changed: 0 additions & 16 deletions
This file was deleted.

_includes/list-sections.html

Lines changed: 0 additions & 24 deletions
This file was deleted.

_includes/logo.html

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)