Skip to content

Commit 10fcba2

Browse files
authored
Merge pull request #52 from LeNPaul/gem-theme
Gem theme
2 parents 9f235c2 + a86e699 commit 10fcba2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+269
-337
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ Gemfile.lock
33
.sass-cache
44
.jekyll-metadata
55
.DS_Store
6+
.jekyll-cache
7+
*.gem

404.html

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

404.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
layout: page
3+
title: "404: Page not found"
4+
permalink: 404.html
5+
---
6+
7+
<p class="lead">Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. <a href="{{ site.baseurl }}/">Head back home</a> to try finding it again.</p>

Gemfile

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,2 @@
11
source "https://rubygems.org"
2-
3-
# Hello! This is where you manage which Jekyll version is used to run.
4-
# When you want to use a different version, change it below, save the
5-
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
6-
#
7-
# bundle exec jekyll serve
8-
#
9-
# This will help ensure the proper Jekyll version is running.
10-
# Happy Jekylling!
11-
gem "jekyll", "~> 3.6.2"
12-
13-
# This is the default theme for new Jekyll sites. You may change this to anything you like.
14-
gem "minima", "~> 2.0"
15-
16-
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
17-
# uncomment the line below. To upgrade, run `bundle update github-pages`.
18-
# gem "github-pages", group: :jekyll_plugins
19-
20-
# If you have any plugins, put them here!
21-
group :jekyll_plugins do
22-
gem "jekyll-feed", "~> 0.6"
23-
end
24-
25-
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
26-
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
27-
gem 'jekyll-paginate'
28-
gem 'jekyll-sitemap'
29-
gem 'jekyll-seo-tag'
2+
gemspec

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# The MIT License (MIT)
22

3-
Copyright (c) 2017 Paul Le
3+
Copyright (c) 2021 Paul Le
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

_config.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,12 @@ paginate: 5
66
# Build settings
77
markdown: kramdown
88
highlighter: rouge
9-
permalink: none
9+
permalink: /:title
1010
plugins: [jekyll-paginate, jekyll-sitemap, jekyll-feed, jekyll-seo-tag]
1111

12-
sass:
13-
sass_dir: assets/css
14-
style: :nested
15-
1612
# Customise atom feed settings (this is where Jekyll-Feed gets configuration information)
1713
title: "Millennial"
18-
description: "a Jekyll theme for running a blog or publication"
14+
description: "a minimalist Jekyll theme for running a blog or publication"
1915
author: "Paul Le"
2016

2117
# RSS 2.0 can be used instead of Atom by uncommenting following two lines

_data/settings.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ disqus:
77
google-ID: 'UA-112060364-2'
88

99
menu:
10-
- {name: 'Interesting Facts', folder: 'pages', file: 'facts.html'}
11-
- {name: 'Learning Resources', folder: 'pages', file: 'resources.html'}
12-
- {name: 'Sample Posts', folder: 'pages', file: 'sample-posts.html'}
13-
- {name: 'Documentation', folder: 'pages', file: 'documentation.html'}
14-
- {name: 'About', folder: 'pages', file: 'about.html'}
15-
- {name: 'Contact', folder: 'pages', file: 'contact.html'}
10+
- {name: 'Interesting Facts', url: 'facts'}
11+
- {name: 'Learning Resources', url: 'resources'}
12+
- {name: 'Sample Posts', url: 'sample-posts'}
13+
- {name: 'Documentation', url: 'documentation'}
14+
- {name: 'About', url: 'about'}
15+
- {name: 'Contact', url: 'contact'}
1616

1717
# Available social icons are powered by Font Awesome, so you can use any icon that they offer
1818
social:
19-
- {icon: 'twitter', link: 'https://twitter.com/paululele'}
20-
- {icon: 'facebook', link: 'https://www.facebook.com/Le.Paul.94'}
21-
- {icon: 'instagram', link: 'https://instagram.com/paululele'}
22-
- {icon: 'envelope', link: 'mailto:l.nguyen.paul@gmail.com'}
19+
- {icon: 'twitter', link: 'https://twitter.com/paululele'}
20+
- {icon: 'facebook', link: 'https://www.facebook.com/paululele'}
21+
- {icon: 'instagram', link: 'https://instagram.com/paululele'}
22+
- {icon: 'envelope', link: 'mailto:hello@paulle.ca'}
2323
- {icon: 'rss-square', link: 'feed.xml'}
2424
# - {icon: 'rss-square', link: 'rss-feed.xml'}
2525

_includes/featured-post.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<article>
2+
<a href="{{ site.github.url }}{{ post.url }}">
3+
<div class="featured-post" {% if post.image %}style="background-image:url({{ site.github.url }}/assets/img/{{ post.image }})"{% endif %}>
4+
<h2><span>{{ post.title }}</span></h2>
5+
</div>
6+
</a>
7+
</article>

_includes/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
{% for item in site.data.settings.social %}
33
<a href="{{ item.link }}" class="menu-link" target="_blank"><i class="fa fa-{{ item.icon }}" aria-hidden="true"></i></a>
44
{% endfor %}
5-
<div class="post-date"><a href="{{ site.github.url }}/">{{ site.title }} | {{ site.description }} by {{ site.author }}</a></div>
5+
<div class="footer-description"><a href="{{ site.github.url }}/">{{ site.title }} | {{ site.description }} by {{ site.author }}</a></div>
66
</footer>

_includes/google-analytics.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
44
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
55
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
6-
76
ga('create', '{{ site.data.settings.google-ID }}', 'auto');
87
ga('send', 'pageview');
98
</script>

0 commit comments

Comments
 (0)