Skip to content

Commit

Permalink
theme: Use the Minimal Mistakes remote theme
Browse files Browse the repository at this point in the history
  • Loading branch information
EdDev committed May 26, 2019
1 parent 83fb7d1 commit f610633
Show file tree
Hide file tree
Showing 11 changed files with 227 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
source "https://rubygems.org"

gem "github-pages", group: :jekyll_plugins

gem "tzinfo-data"
gem "wdm", "~> 0.1.0" if Gem.win_platform?

# If you have any plugins, put them here!
group :jekyll_plugins do
gem "jekyll-paginate"
gem "jekyll-sitemap"
gem "jekyll-gist"
gem "jekyll-feed"
gem "jemoji"
gem "jekyll-include-cache"
gem "jekyll-algolia"
end
115 changes: 115 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
# Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely edit after that. If you find
# yourself editing this file very often, consider using Jekyll's data files
# feature for the data you need to update frequently.
#
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.

# Site settings
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.
title: MM
email:
description: >- # this means to ignore newlines until "baseurl:"
Write an awesome description for your new site here. You can edit this
line in _config.yml. It will appear in your document head meta (for
Google search results) and in your feed.xml site description.
twitter_username: username
github_username: username
minimal_mistakes_skin: default
search: true

# Build settings
markdown: kramdown
remote_theme: mmistakes/minimal-mistakes
# Outputting
permalink: /:categories/:title/
paginate: 5 # amount of posts to show
paginate_path: /page:num/
timezone: # https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

include:
- _pages

# Exclude from processing.
# The following items will not be processed, by default. Create a custom list
# to override the default setting.
# exclude:
# - Gemfile
# - Gemfile.lock
# - node_modules
# - vendor/bundle/
# - vendor/cache/
# - vendor/gems/
# - vendor/ruby/

# Plugins (previously gems:)
plugins:
- jekyll-paginate
- jekyll-sitemap
- jekyll-gist
- jekyll-feed
- jemoji
- jekyll-include-cache

author:
name : "First Lastname"
avatar : "/assets/images/bio-photo.jpg"
bio : "My awesome biography constrained to a sentence or two goes here."
links:
- label: "Website"
icon: "fas fa-fw fa-link"
url: "https://"
- label: "Twitter"
icon: "fab fa-fw fa-twitter-square"
url: "https://twitter.com/"
- label: "GitHub"
icon: "fab fa-fw fa-github"
url: "https://github.com/"
- label: "Instagram"
icon: "fab fa-fw fa-instagram"
url: "https://instagram.com/"

footer:
links:
- label: "Twitter"
icon: "fab fa-fw fa-twitter-square"
url: "https://twitter.com/"
- label: "GitHub"
icon: "fab fa-fw fa-github"
url: "https://github.com/"
- label: "Instagram"
icon: "fab fa-fw fa-instagram"
url: "https://instagram.com/"

defaults:
# _posts
- scope:
path: ""
type: posts
values:
layout: single
author_profile: true
read_time: true
comments: true
share: true
related: true
# _pages
- scope:
path: "_pages"
type: pages
values:
layout: single
author_profile: true

category_archive:
type: liquid
path: /categories/
tag_archive:
type: liquid
path: /tags/
9 changes: 9 additions & 0 deletions _data/navigation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
main:
- title: "Posts"
url: /posts/
- title: "Categories"
url: /categories/
- title: "Tags"
url: /tags/
- title: "About"
url: /about/
15 changes: 15 additions & 0 deletions _pages/404.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: "Page Not Found"
excerpt: "Page not found. Your pixels are in another canvas."
sitemap: false
permalink: /404.html
---

Sorry, but the page you were trying to view does not exist --- perhaps you can try searching for it below.

<script>
var GOOG_FIXURL_LANG = 'en';
var GOOG_FIXURL_SITE = '{{ site.url }}'
</script>
<script src="https://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js">
</script>
10 changes: 10 additions & 0 deletions _pages/about.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
permalink: /about/
title: "About"
---

EdDev Blog is a collection of knowledge snippets I found valuable to record
and share.

Please question everything and anything, this is the only way to improve and
learn.
6 changes: 6 additions & 0 deletions _pages/category-archive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Posts by Category"
layout: categories
permalink: /categories/
author_profile: true
---
6 changes: 6 additions & 0 deletions _pages/tag-archive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Posts by Tag"
permalink: /tags/
layout: tags
author_profile: true
---
6 changes: 6 additions & 0 deletions _pages/year-archive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Posts by Year"
permalink: /posts/
layout: posts
author_profile: true
---
36 changes: 36 additions & 0 deletions _posts/2019-05-27-hello-jenkyll.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
title: "Hello Jekyll!"
date: 2019-05-27
categories:
- blog
tags:
- Jekyll
---

# Overview
This is probably my first blog post.
I thought to warm up by sharing how I met Jekyll and introduced it to my
container friend, Mr. podman.

It all started a few days ago while preparing my talk to
[PyCon IL](https://pycon.org.il/2019/). I realized that a blog could have
been very helpfull in gathering the ideas for such a talk.
Lesson learned, I am on it.

# Jekyll
After a little search, I lended up with Jekyll, a GitHub friend which is
open source, simple and a nice looking static website/blog generator.

So what do I need to make my blog work?
- Education helps:
- The offcial [docs](https://jekyllrb.com/docs/).
- Some [youtube](https://www.youtube.com/playlist?list=PLLAZ4kZ9dFpOPV5C5Ay0pHaa0RJFhcmcB).
- Knowing about the [GitHub themes](https://pages.github.com/themes/).
- Getting to know a [cool theme](https://github.com/mmistakes/minimal-mistakes).
- Choose the theme.
- Deploy and run locally to review work before publishing.
- Write content.

## My containarized Jekyll
Here comes podman for the rescue.

Binary file added assets/images/bio-photo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
# You don't need to edit this file, it's empty on purpose.
# Edit theme's home layout instead if you wanna make some changes
# See: https://jekyllrb.com/docs/themes/#overriding-theme-defaults
layout: home
author_profile: true
---

0 comments on commit f610633

Please sign in to comment.