-
Notifications
You must be signed in to change notification settings - Fork 913
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #52 from LeNPaul/gem-theme
Gem theme
- Loading branch information
Showing
57 changed files
with
269 additions
and
337 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,5 @@ Gemfile.lock | |
.sass-cache | ||
.jekyll-metadata | ||
.DS_Store | ||
.jekyll-cache | ||
*.gem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
layout: page | ||
title: "404: Page not found" | ||
permalink: 404.html | ||
--- | ||
|
||
<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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,2 @@ | ||
source "https://rubygems.org" | ||
|
||
# Hello! This is where you manage which Jekyll version is used to run. | ||
# When you want to use a different version, change it below, save the | ||
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so: | ||
# | ||
# bundle exec jekyll serve | ||
# | ||
# This will help ensure the proper Jekyll version is running. | ||
# Happy Jekylling! | ||
gem "jekyll", "~> 3.6.2" | ||
|
||
# This is the default theme for new Jekyll sites. You may change this to anything you like. | ||
gem "minima", "~> 2.0" | ||
|
||
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and | ||
# uncomment the line below. To upgrade, run `bundle update github-pages`. | ||
# gem "github-pages", group: :jekyll_plugins | ||
|
||
# If you have any plugins, put them here! | ||
group :jekyll_plugins do | ||
gem "jekyll-feed", "~> 0.6" | ||
end | ||
|
||
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem | ||
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] | ||
gem 'jekyll-paginate' | ||
gem 'jekyll-sitemap' | ||
gem 'jekyll-seo-tag' | ||
gemspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,19 +7,19 @@ disqus: | |
google-ID: 'UA-112060364-2' | ||
|
||
menu: | ||
- {name: 'Interesting Facts', folder: 'pages', file: 'facts.html'} | ||
- {name: 'Learning Resources', folder: 'pages', file: 'resources.html'} | ||
- {name: 'Sample Posts', folder: 'pages', file: 'sample-posts.html'} | ||
- {name: 'Documentation', folder: 'pages', file: 'documentation.html'} | ||
- {name: 'About', folder: 'pages', file: 'about.html'} | ||
- {name: 'Contact', folder: 'pages', file: 'contact.html'} | ||
- {name: 'Interesting Facts', url: 'facts'} | ||
- {name: 'Learning Resources', url: 'resources'} | ||
- {name: 'Sample Posts', url: 'sample-posts'} | ||
- {name: 'Documentation', url: 'documentation'} | ||
- {name: 'About', url: 'about'} | ||
- {name: 'Contact', url: 'contact'} | ||
|
||
# Available social icons are powered by Font Awesome, so you can use any icon that they offer | ||
social: | ||
- {icon: 'twitter', link: 'https://twitter.com/paululele'} | ||
- {icon: 'facebook', link: 'https://www.facebook.com/Le.Paul.94'} | ||
- {icon: 'instagram', link: 'https://instagram.com/paululele'} | ||
- {icon: 'envelope', link: 'mailto:[email protected]'} | ||
- {icon: 'twitter', link: 'https://twitter.com/paululele'} | ||
- {icon: 'facebook', link: 'https://www.facebook.com/paululele'} | ||
- {icon: 'instagram', link: 'https://instagram.com/paululele'} | ||
- {icon: 'envelope', link: 'mailto:[email protected]'} | ||
- {icon: 'rss-square', link: 'feed.xml'} | ||
# - {icon: 'rss-square', link: 'rss-feed.xml'} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<article> | ||
<a href="{{ site.github.url }}{{ post.url }}"> | ||
<div class="featured-post" {% if post.image %}style="background-image:url({{ site.github.url }}/assets/img/{{ post.image }})"{% endif %}> | ||
<h2><span>{{ post.title }}</span></h2> | ||
</div> | ||
</a> | ||
</article> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,27 @@ | ||
<head> | ||
|
||
<title> | ||
{% if page.title == "Home" %} | ||
{{ site.title }} | {{ site.description }} | ||
{% else %} | ||
{{ page.title }} | {{ site.title }} | ||
{% endif %} | ||
</title> | ||
|
||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta charset="utf-8"> | ||
|
||
<link rel="stylesheet" href="{{ site.github.url }}/assets/css/main.css"> | ||
<link rel="stylesheet" href="{{ site.github.url }}/assets/css/syntax.css"> | ||
<!-- Use Atom --> | ||
{% feed_meta %} | ||
<!-- RSS-v2.0 | ||
<link href="{{ site.github.url }}/rss-feed.xml" type="application/rss+xml" rel="alternate" title="{{ site.title }} | {{ site.description }}"/> | ||
//--> | ||
|
||
|
||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto|Source+Code+Pro"> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css"> | ||
|
||
<script type="text/javascript" async | ||
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML"> | ||
</script> | ||
|
||
<!-- Google Analytics --> | ||
{% include google-analytics.html %} | ||
|
||
<!-- Use Jekyll SEO plugin --> | ||
{% seo %} | ||
|
||
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<span class="post-date"> | ||
{{ site.data.settings.post_date_prefix }} | ||
{% assign d = page.date | date: "%-d" %} | ||
{{ page.date | date: "%B" }} | ||
{% case d %} | ||
{% when '1' or '21' or '31' %}{{ d }}st | ||
{% when '2' or '22' %}{{ d }}nd | ||
{% when '3' or '23' %}{{ d }}rd | ||
{% else %}{{ d }}th{% endcase %}, | ||
{{ page.date | date: "%Y" }} | ||
by | ||
{% if page.author %} | ||
{{ page.author }} | ||
{% else %} | ||
{{ site.author }} | ||
{% endif %} | ||
</span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<div class="post-share"> | ||
<div class="post-date">{{ site.data.settings.sharing_button_prompt }}</div> | ||
<div class="sharing-icons"> | ||
<a href="https://twitter.com/intent/tweet?text={{ page.title }}&url={{ site.github.url }}{{ page.url }}" target="_blank"><i class="fa fa-twitter" aria-hidden="true"></i></a> | ||
<a href="https://www.facebook.com/sharer/sharer.php?u={{ site.github.url }}{{ page.url }}&title={{ page.title }}" target="_blank"><i class="fa fa-facebook" aria-hidden="true"></i></a> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<div class="related"> | ||
<h2>{{ site.data.settings.related_posts }}</h2> | ||
{% assign listed_posts_urls = page.url | split: ' ' %} | ||
<ul class="related-posts"> | ||
{% for tag in page.tags %} | ||
{% for mypost in site.tags[tag] limit:2 %} | ||
{% if listed_posts_urls contains mypost.url %} | ||
{% else %} | ||
<li> | ||
<h3> | ||
<a href="{{ site.github.url }}{{ mypost.url }}"> | ||
<div class="related-thumbnail"> | ||
{% if mypost.image %} | ||
<img src="{{ site.url }}{{ site.baseurl }}/assets/img/{{ mypost.image }}"> | ||
{% endif %} | ||
</div> | ||
<div class="related-title"> | ||
{{ mypost.title }} | ||
</div> | ||
<!--<small>{{ mypost.date | date: "%B %-d, %Y" }}</small>--> | ||
</a> | ||
</h3> | ||
</li> | ||
{% assign listed_posts_urls = listed_posts_urls | push: mypost.url %} | ||
{% endif %} | ||
{% endfor %} | ||
{% endfor %} | ||
</ul> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
{% for post in site.posts %} | ||
{% if post.categories contains page.category %} | ||
{% include featured-post.html %} | ||
{% endif %} | ||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,13 @@ | ||
<!doctype html> | ||
<html> | ||
|
||
{% include head.html %} | ||
|
||
<body> | ||
|
||
<div class="container"> | ||
{% include header.html %} | ||
<div class="posts-wrapper"> | ||
{{ content }} | ||
</div> | ||
{% include footer.html %} | ||
</div> | ||
|
||
</body> | ||
{% include head.html %} | ||
<body> | ||
<div class="container"> | ||
{% include header.html %} | ||
<div class="content-wrapper"> | ||
{{ content }} | ||
</div> | ||
{% include footer.html %} | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.