Skip to content

Commit f610633

Browse files
committed
theme: Use the Minimal Mistakes remote theme
Ref: https://github.com/mmistakes/mm-github-pages-starter Signed-off-by: Edward Haas <edwardh@redhat.com>
1 parent 83fb7d1 commit f610633

File tree

11 files changed

+227
-0
lines changed

11 files changed

+227
-0
lines changed

Gemfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
source "https://rubygems.org"
2+
3+
gem "github-pages", group: :jekyll_plugins
4+
5+
gem "tzinfo-data"
6+
gem "wdm", "~> 0.1.0" if Gem.win_platform?
7+
8+
# If you have any plugins, put them here!
9+
group :jekyll_plugins do
10+
gem "jekyll-paginate"
11+
gem "jekyll-sitemap"
12+
gem "jekyll-gist"
13+
gem "jekyll-feed"
14+
gem "jemoji"
15+
gem "jekyll-include-cache"
16+
gem "jekyll-algolia"
17+
end

_config.yml

Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
# Welcome to Jekyll!
2+
#
3+
# This config file is meant for settings that affect your whole blog, values
4+
# which you are expected to set up once and rarely edit after that. If you find
5+
# yourself editing this file very often, consider using Jekyll's data files
6+
# feature for the data you need to update frequently.
7+
#
8+
# For technical reasons, this file is *NOT* reloaded automatically when you use
9+
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
10+
11+
# Site settings
12+
# These are used to personalize your new site. If you look in the HTML files,
13+
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
14+
# You can create any custom variable you would like, and they will be accessible
15+
# in the templates via {{ site.myvariable }}.
16+
title: MM
17+
email:
18+
description: >- # this means to ignore newlines until "baseurl:"
19+
Write an awesome description for your new site here. You can edit this
20+
line in _config.yml. It will appear in your document head meta (for
21+
Google search results) and in your feed.xml site description.
22+
twitter_username: username
23+
github_username: username
24+
minimal_mistakes_skin: default
25+
search: true
26+
27+
# Build settings
28+
markdown: kramdown
29+
remote_theme: mmistakes/minimal-mistakes
30+
# Outputting
31+
permalink: /:categories/:title/
32+
paginate: 5 # amount of posts to show
33+
paginate_path: /page:num/
34+
timezone: # https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
35+
36+
include:
37+
- _pages
38+
39+
# Exclude from processing.
40+
# The following items will not be processed, by default. Create a custom list
41+
# to override the default setting.
42+
# exclude:
43+
# - Gemfile
44+
# - Gemfile.lock
45+
# - node_modules
46+
# - vendor/bundle/
47+
# - vendor/cache/
48+
# - vendor/gems/
49+
# - vendor/ruby/
50+
51+
# Plugins (previously gems:)
52+
plugins:
53+
- jekyll-paginate
54+
- jekyll-sitemap
55+
- jekyll-gist
56+
- jekyll-feed
57+
- jemoji
58+
- jekyll-include-cache
59+
60+
author:
61+
name : "First Lastname"
62+
avatar : "/assets/images/bio-photo.jpg"
63+
bio : "My awesome biography constrained to a sentence or two goes here."
64+
links:
65+
- label: "Website"
66+
icon: "fas fa-fw fa-link"
67+
url: "https://"
68+
- label: "Twitter"
69+
icon: "fab fa-fw fa-twitter-square"
70+
url: "https://twitter.com/"
71+
- label: "GitHub"
72+
icon: "fab fa-fw fa-github"
73+
url: "https://github.com/"
74+
- label: "Instagram"
75+
icon: "fab fa-fw fa-instagram"
76+
url: "https://instagram.com/"
77+
78+
footer:
79+
links:
80+
- label: "Twitter"
81+
icon: "fab fa-fw fa-twitter-square"
82+
url: "https://twitter.com/"
83+
- label: "GitHub"
84+
icon: "fab fa-fw fa-github"
85+
url: "https://github.com/"
86+
- label: "Instagram"
87+
icon: "fab fa-fw fa-instagram"
88+
url: "https://instagram.com/"
89+
90+
defaults:
91+
# _posts
92+
- scope:
93+
path: ""
94+
type: posts
95+
values:
96+
layout: single
97+
author_profile: true
98+
read_time: true
99+
comments: true
100+
share: true
101+
related: true
102+
# _pages
103+
- scope:
104+
path: "_pages"
105+
type: pages
106+
values:
107+
layout: single
108+
author_profile: true
109+
110+
category_archive:
111+
type: liquid
112+
path: /categories/
113+
tag_archive:
114+
type: liquid
115+
path: /tags/

_data/navigation.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
main:
2+
- title: "Posts"
3+
url: /posts/
4+
- title: "Categories"
5+
url: /categories/
6+
- title: "Tags"
7+
url: /tags/
8+
- title: "About"
9+
url: /about/

_pages/404.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: "Page Not Found"
3+
excerpt: "Page not found. Your pixels are in another canvas."
4+
sitemap: false
5+
permalink: /404.html
6+
---
7+
8+
Sorry, but the page you were trying to view does not exist --- perhaps you can try searching for it below.
9+
10+
<script>
11+
var GOOG_FIXURL_LANG = 'en';
12+
var GOOG_FIXURL_SITE = '{{ site.url }}'
13+
</script>
14+
<script src="https://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js">
15+
</script>

_pages/about.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
permalink: /about/
3+
title: "About"
4+
---
5+
6+
EdDev Blog is a collection of knowledge snippets I found valuable to record
7+
and share.
8+
9+
Please question everything and anything, this is the only way to improve and
10+
learn.

_pages/category-archive.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: "Posts by Category"
3+
layout: categories
4+
permalink: /categories/
5+
author_profile: true
6+
---

_pages/tag-archive.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: "Posts by Tag"
3+
permalink: /tags/
4+
layout: tags
5+
author_profile: true
6+
---

_pages/year-archive.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: "Posts by Year"
3+
permalink: /posts/
4+
layout: posts
5+
author_profile: true
6+
---

_posts/2019-05-27-hello-jenkyll.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
title: "Hello Jekyll!"
3+
date: 2019-05-27
4+
categories:
5+
- blog
6+
tags:
7+
- Jekyll
8+
---
9+
10+
# Overview
11+
This is probably my first blog post.
12+
I thought to warm up by sharing how I met Jekyll and introduced it to my
13+
container friend, Mr. podman.
14+
15+
It all started a few days ago while preparing my talk to
16+
[PyCon IL](https://pycon.org.il/2019/). I realized that a blog could have
17+
been very helpfull in gathering the ideas for such a talk.
18+
Lesson learned, I am on it.
19+
20+
# Jekyll
21+
After a little search, I lended up with Jekyll, a GitHub friend which is
22+
open source, simple and a nice looking static website/blog generator.
23+
24+
So what do I need to make my blog work?
25+
- Education helps:
26+
- The offcial [docs](https://jekyllrb.com/docs/).
27+
- Some [youtube](https://www.youtube.com/playlist?list=PLLAZ4kZ9dFpOPV5C5Ay0pHaa0RJFhcmcB).
28+
- Knowing about the [GitHub themes](https://pages.github.com/themes/).
29+
- Getting to know a [cool theme](https://github.com/mmistakes/minimal-mistakes).
30+
- Choose the theme.
31+
- Deploy and run locally to review work before publishing.
32+
- Write content.
33+
34+
## My containarized Jekyll
35+
Here comes podman for the rescue.
36+

assets/images/bio-photo.jpg

1.62 KB
Loading

0 commit comments

Comments
 (0)