M _config.yml => _config.yml +75 -37
@@ 5,20 5,46 @@
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'jekyll serve'. If you change this file, please restart the server process.
-# Site settings
-locale : en_US
-title : Your awesome title
-description : "Write an awesome description for your new site here."
-url : "" # the base hostname & protocol for your site
-baseurl : "" # the subpath of your site, e.g. /blog
-email : your-email@domain.com
+# Site Settings
+locale : en_US
+title : "Your awesome site"
+name : &name "Your Name"
+title_separator : "-"
+description : &description "Write an awesome description for your new site here."
+url : "http://localhost:4000" # the base hostname & protocol for your site
+baseurl : "/test" # the subpath of your site, e.g. /blog
+email : "your-email@domain.com"
+logo : "site-logo.png"
+twitter:
+ username : &twitter "site_twitter"
+facebook:
+ username : &facebook "site_facebook"
+ app_id :
+ publisher :
+disqus_shortname : "mmistakes-dev" # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname-
+google_site_verification :
+bing_site_verification :
+alexa_site_verification :
+yandex_site_verification :
+google_analytics : # Universal Analytics tracking ID
+google_ad_client :
+google_ad_slot :
-# Handling Reading
-safe : false
-include :
+# For specifying social profiles.
+# https://developers.google.com/structured-data/customize/social-profiles
+social:
+ type : # Person or Organization (defaults to Person)
+ name : # If the user or organization name differs from the site's name
+ links: # An array of links to social media profiles
+ - "https://twitter.com/site_twitter"
+ - "https://facebook.com/site_facebook"
+
+# Reading Files
+safe: false
+include:
- .htaccess
- _pages
-exclude :
+exclude:
- "*.sublime-project"
- "*.sublime-workspace"
- .asset-cache
@@ 52,6 78,29 @@ lsi: false
excerpt_separator: "\n\n"
incremental: false
+# Markdown Processing
+kramdown:
+ input: GFM
+ hard_wrap: false
+ auto_ids: true
+ footnote_nr: 1
+ entity_output: as_char
+ toc_levels: 1..6
+ smart_quotes: lsquo,rsquo,ldquo,rdquo
+ enable_coderay: false
+
+# Defaults
+defaults:
+
+ # _posts
+ - scope:
+ path: ""
+ type: posts
+ values:
+ layout: post
+ comments: true
+ share: true
+
# Plugins
gems:
- jekyll-paginate
@@ 63,37 112,26 @@ permalink: /:categories/:title/
paginate_path: /page:num
timezone: America/New_York # http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
-# Markdown Processors
-kramdown:
- input: GFM
- hard_wrap: false
- auto_ids: rue
- footnote_nr: 1
- entity_output: as_char
- toc_levels: 1..6
- smart_quotes: lsquo,rsquo,ldquo,rdquo
- enable_coderay: false
+# HTML Compression
+# http://jch.penibelst.de/
+compress_html:
+ clippings: all
+ ignore:
+ envs: development
-# Site owner
-owner:
- name : Your Name
- avatar : bio-photo.jpg
- bio : "Describe your self."
- email :
- disqus-shortname : # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname-
- bing-verify :
+# Site Author
+author:
+ name : *name
+ avatar : "bio-photo.jpg"
+ bio : *description
+ email : *email
codepen :
dribbble :
flickr :
- facebook :
+ facebook : *facebook
foursquare :
github :
- google :
- plus :
- analytics :
- verify :
- ad-client :
- ad-slot :
+ google_plus :
instagram :
lastfm :
linkedin :
@@ 102,7 140,7 @@ owner:
stackoverflow : # http://stackoverflow.com/users/123456/username
steam :
tumblr :
- twitter :
+ twitter : *twitter
weibo :
xing :
youtube :
M _data/authors.yml => _data/authors.yml +13 -15
@@ 1,20 1,18 @@
# Authors
billy_rick:
- name: Billy Rick
- web: http://thewhip.com
- email: billy@rick.com
- bio: "What do you want, jewels? I am a very extravagant man."
- avatar: bio-photo-2.jpg
- twitter: extravagantman
- google:
- plus: BillyRick
+ name : "Billy Rick"
+ web : "http://thewhip.com"
+ email : "billy@rick.com"
+ bio : "What do you want, jewels? I am a very extravagant man."
+ avatar : "bio-photo-2.jpg"
+ twitter : "extravagantman"
+ google_plus : "BillyRick"
cornelius_fiddlebone:
- name: Cornelius Fiddlebone
- email: cornelius@thewhip.com
- bio: "I ordered what?"
- avatar: bio-photo.jpg
- twitter: rhymeswithsackit
- google:
- plus: CorneliusFiddlebone>
\ No newline at end of file
+ name : "Cornelius Fiddlebone"
+ email : "cornelius@thewhip.com"
+ bio : "I ordered what?"
+ avatar : "bio-photo.jpg"
+ twitter : "rhymeswithsackit"
+ google_plus : "CorneliusFiddlebone"<
\ No newline at end of file
D _includes/_author-bio.html => _includes/_author-bio.html +0 -35
@@ 1,35 0,0 @@
-{% if page.author %}
- {% assign author = site.data.authors[page.author] %}{% else %}{% assign author = site.owner %}
-{% endif %}
-
-<div itemscope itemtype="http://schema.org/Person">
-
-{% if author.avatar contains 'http' %}
- <img src="{{ author.avatar }}" class="bio-photo" alt="{{ author.name }} bio photo">
-{% else %}
- <img src="{{ site.url }}/images/{{ author.avatar }}" class="bio-photo" alt="{{ author.name }} bio photo">
-{% endif %}
-
- <h3 itemprop="name">{{ author.name }}</h3>
- <p>{{ author.bio }}</p>
- {% if author.email %}<a href="mailto:{{ author.email }}" class="author-social" target="_blank"><i class="fa fa-fw fa-envelope-square"></i> Email</a>{% endif %}
- {% if author.twitter %}<a href="http://twitter.com/{{ author.twitter }}" class="author-social" target="_blank"><i class="fa fa-fw fa-twitter-square"></i> Twitter</a>{% endif %}
- {% if author.facebook %}<a href="http://facebook.com/{{ author.facebook }}" class="author-social" target="_blank"><i class="fa fa-fw fa-facebook-square"></i> Facebook</a>{% endif %}
- {% if author.google.plus %}<a href="http://plus.google.com/+{{ author.google.plus }}" class="author-social" target="_blank"><i class="fa fa-fw fa-google-plus-square"></i> Google+</a>{% endif %}
- {% if author.linkedin %}<a href="http://linkedin.com/in/{{ author.linkedin }}" class="author-social" target="_blank"><i class="fa fa-fw fa-linkedin-square"></i> LinkedIn</a>{% endif %}
- {% if author.xing %}<a href="http://www.xing.com/profile/{{ author.xing }}" class="author-social" target="_blank"><i class="fa fa-fw fa-xing-square"></i> XING</a>{% endif %}
- {% if author.instagram %}<a href="http://instagram.com/{{ author.instagram }}" class="author-social" target="_blank"><i class="fa fa-fw fa-instagram"></i> Instagram</a>{% endif %}
- {% if author.tumblr %}<a href="http://{{ author.tumblr }}.tumblr.com" class="author-social" target="_blank"><i class="fa fa-fw fa-tumblr-square"></i> Tumblr</a>{% endif %}
- {% if author.github %}<a href="http://github.com/{{ author.github }}" class="author-social" target="_blank"><i class="fa fa-fw fa-github"></i> Github</a>{% endif %}
- {% if author.stackoverflow %}<a href="http://stackoverflow.com/users/{{ author.stackoverflow }}" class="author-social" target="_blank"><i class="fa fa-fw fa-stack-overflow"></i> Stackoverflow</a>{% endif %}
- {% if author.lastfm %}<a href="http://lastfm.com/user/{{ author.lastfm }}" class="author-social" target="_blank"><i class="fa fa-fw fa-music"></i> Last.fm</a>{% endif %}
- {% if author.dribbble %}<a href="http://dribbble.com/{{ author.dribbble }}" class="author-social" target="_blank"><i class="fa fa-fw fa-dribbble"></i> Dribbble</a>{% endif %}
- {% if author.pinterest %}<a href="http://www.pinterest.com/{{ author.pinterest }}" class="author-social" target="_blank"><i class="fa fa-fw fa-pinterest"></i> Pinterest</a>{% endif %}
- {% if author.foursquare %}<a href="http://foursquare.com/{{ author.foursquare }}" class="author-social" target="_blank"><i class="fa fa-fw fa-foursquare"></i> Foursquare</a>{% endif %}
- {% if author.steam %}<a href="http://steamcommunity.com/id/{{ author.steam }}" class="author-social" target="_blank"><i class="fa fa-fw fa-steam-square"></i> Steam</a>{% endif %}
- {% if author.youtube %}<a href="https://youtube.com/user/{{ author.youtube }}" class="author-social" target="_blank"><i class="fa fa-fw fa-youtube-square"></i> Youtube</a>{% endif %}
- {% if author.soundcloud %}<a href="http://soundcloud.com/{{ author.soundcloud }}" class="author-social" target="_blank"><i class="fa fa-fw fa-soundcloud"></i> Soundcloud</a>{% endif %}
- {% if author.weibo %}<a href="http://www.weibo.com/{{ author.weibo }}" class="author-social" target="_blank"><i class="fa fa-fw fa-weibo"></i> Weibo</a>{% endif %}
- {% if author.flickr %}<a href="http://www.flickr.com/{{ author.flickr }}" class="author-social" target="_blank"><i class="fa fa-fw fa-flickr"></i> Flickr</a>{% endif %}
- {% if author.codepen %}<a href="http://codepen.io/{{ author.codepen }}" class="author-social" target="_blank"><i class="fa fa-fw fa-codepen"></i> CodePen</a>{% endif %}
-</div>
D => +0 -1
@@ 1,1 0,0 @@
<p><a href="{{ site.url }}{{ post.url }}">{{ post.title | xml_escape }}</a> was originally published by {{ site.owner.name }} at <a href="{{ site.url }}">{{ site.title }}</a> on {{ post.date | date: "%B %d, %Y" }}.</p>
\ No newline at end of file
D _includes/_head.html => _includes/_head.html +0 -52
@@ 1,52 0,0 @@
-<meta charset="utf-8">
-<title>{% if page.title %}{{ page.title }} – {% endif %}{{ site.title }}</title>
-{% if page.excerpt %}<meta name="description" content="{{ page.excerpt | strip_html }}">{% endif %}
-<meta name="keywords" content="{{ page.tags | join: ', ' }}">
-{% if page.author %}
- {% assign author = site.data.authors[page.author] %}{% else %}{% assign author = site.owner %}
-{% endif %}
-
-{% include _open-graph.html %}
-
-{% if site.owner.google.verify %}<!-- Webmaster Tools verfication -->
-<meta name="google-site-verification" content="{{ site.owner.google.verify }}">{% endif %}
-{% if site.owner.bing-verify %}<meta name="msvalidate.01" content="{{ site.owner.bing-verify }}">{% endif %}
-
-{% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' | strip_slash }}{% endif %}{% endcapture %}
-<link rel="canonical" href="{{ canonical }}">
-<link href="{{ site.url }}/feed.xml" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
-
-<!-- http://t.co/dKP3o1e -->
-<meta name="HandheldFriendly" content="True">
-<meta name="MobileOptimized" content="320">
-<meta name="viewport" content="width=device-width, initial-scale=1.0">
-
-<!-- For all browsers -->
-<link rel="stylesheet" href="{{ site.url }}/assets/css/main.css">
-
-<meta http-equiv="cleartype" content="on">
-
-<!-- HTML5 Shiv and Media Query Support -->
-<!--[if lt IE 9]>
- <script src="{{ site.url }}/assets/js/vendor/html5shiv.min.js"></script>
- <script src="{{ site.url }}/assets/js/vendor/respond.min.js"></script>
-<![endif]-->
-
-<!-- Modernizr -->
-<script src="{{ site.url }}/assets/js/vendor/modernizr-2.7.1.custom.min.js"></script>
-
-<link href='//fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700%7CPT+Serif:400,700,400italic' rel='stylesheet' type='text/css'>
-
-<!-- Icons -->
-<!-- 16x16 -->
-<link rel="shortcut icon" href="{{ site.url }}/favicon.ico">
-<!-- 32x32 -->
-<link rel="shortcut icon" href="{{ site.url }}/favicon.png">
-<!-- 57x57 (precomposed) for iPhone 3GS, pre-2011 iPod Touch and older Android devices -->
-<link rel="apple-touch-icon-precomposed" href="{{ site.url }}/images/apple-touch-icon-precomposed.png">
-<!-- 72x72 (precomposed) for 1st generation iPad, iPad 2 and iPad mini -->
-<link rel="apple-touch-icon-precomposed" sizes="72x72" href="{{ site.url }}/images/apple-touch-icon-72x72-precomposed.png">
-<!-- 114x114 (precomposed) for iPhone 4, 4S, 5 and post-2011 iPod Touch -->
-<link rel="apple-touch-icon-precomposed" sizes="114x114" href="{{ site.url }}/images/apple-touch-icon-114x114-precomposed.png">
-<!-- 144x144 (precomposed) for iPad 3rd and 4th generation -->
-<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.url }}/images/apple-touch-icon-144x144-precomposed.png">
D _includes/_open-graph.html => _includes/_open-graph.html +0 -24
@@ 1,24 0,0 @@
-<!-- Twitter Cards -->
-<meta name="twitter:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}">
-{% if page.excerpt %}<meta name="twitter:description" content="{{ page.excerpt | strip_html }}">{% endif %}
-{% if site.owner.twitter %}<meta name="twitter:site" content="@{{ site.owner.twitter }}">{% endif %}
-{% if author.twitter %}<meta name="twitter:creator" content="@{{ author.twitter }}">{% endif %}
-{% if page.image.feature %}
-<meta name="twitter:card" content="summary_large_image">
-<meta name="twitter:image" content="{{ site.url }}/images/{{ page.image.feature }}">
-{% else %}
-<meta name="twitter:card" content="summary">
-<meta name="twitter:image" content="{% if page.image.thumb %}{{ site.url }}/images/{{ page.image.thumb }}{% else %}{{ site.url }}/images/default-thumb.png{% endif %}">
-{% endif %}
-<!-- Open Graph -->
-<meta property="og:locale" content="{{ site.locale }}">
-<meta property="og:type" content="article">
-<meta property="og:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}">
-{% if page.excerpt %}<meta property="og:description" content="{{ page.excerpt | strip_html }}">{% endif %}
-<meta property="og:url" content="{{ page.url | replace:'index.html','' | prepend: site.url }}">
-<meta property="og:site_name" content="{{ site.title }}">
-{% if page.image.feature %}
-<meta property="og:image" content="{{ site.url }}/images/{{ page.image.feature }}">
-{% else %}
-<meta property="og:image" content="{% if page.image.thumb %}{{ site.url }}/images/{{ page.image.thumb }}{% else %}{{ site.url }}/images/default-thumb.png{% endif %}">
-{% endif %}>
\ No newline at end of file
D _includes/_scripts.html => _includes/_scripts.html +0 -23
@@ 1,23 0,0 @@
-<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
-<script>window.jQuery || document.write('<script src="{{ site.url }}/assets/js/vendor/jquery-1.9.1.min.js"><\/script>')</script>
-<script src="{{ site.url }}/assets/js/scripts.min.js"></script>
-{% if site.owner.google.analytics %}
-<!-- Asynchronous Google Analytics snippet -->
-<script>
- var _gaq = _gaq || [];
- var pluginUrl =
- '//www.google-analytics.com/plugins/ga/inpage_linkid.js';
- _gaq.push(['_require', 'inpage_linkid', pluginUrl]);
- _gaq.push(['_setAccount', '{{ site.owner.google.analytics }}']);
- _gaq.push(['_trackPageview']);
-
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
-</script>
-{% endif %}
-{% if page.comments %}
- {% include _disqus_comments.html %}
-{% endif %}
A _includes/absolute-url.liquid => _includes/absolute-url.liquid +1 -0
@@ 0,0 1,1 @@
+{% capture absurl %}{{ site.url }}{{ site.baseurl }}{% endcapture %}<
\ No newline at end of file
A _includes/author-profile.html => _includes/author-profile.html +75 -0
@@ 0,0 1,75 @@
+{% if page.author %}
+ {% assign author = site.data.authors[page.author] %}{% else %}{% assign author = site.author %}
+{% endif %}
+
+<div itemscope itemtype="http://schema.org/Person">
+
+ {% if author.avatar contains "http" %}
+ <img src="{{ author.avatar }}" class="author-avatar" alt="{{ author.name }} photo">
+ {% else %}
+ <img src="{{ author.avatar | prepend: "/images/" | prepend: absurl }}" class="author-avatar" alt="{{ author.name }} photo">
+ {% endif %}
+
+ <h3 class="author-name">{{ author.name }}</h3>
+ {% if author.bio %}<p class="author-bio">{{ author.bio }}</p>{% endif %}
+ {% if author.email %}
+ <a href="mailto:{{ author.email }}" class="author-social" target="_blank"><i class="fa fa-fw fa-envelope-square"></i> Email</a>
+ {% endif %}
+ {% if author.twitter %}
+ <a href="http://twitter.com/{{ author.twitter }}" class="author-social" target="_blank"><i class="fa fa-fw fa-twitter-square"></i> Twitter</a>
+ {% endif %}
+ {% if author.facebook %}
+ <a href="http://facebook.com/{{ author.facebook }}" class="author-social" target="_blank"><i class="fa fa-fw fa-facebook-square"></i> Facebook</a>
+ {% endif %}
+ {% if author.google_plus %}
+ <a href="http://plus.google.com/+{{ author.google_plus }}" class="author-social" target="_blank"><i class="fa fa-fw fa-google-plus-square"></i> Google+</a>
+ {% endif %}
+ {% if author.linkedin %}
+ <a href="http://linkedin.com/in/{{ author.linkedin }}" class="author-social" target="_blank"><i class="fa fa-fw fa-linkedin-square"></i> LinkedIn</a>
+ {% endif %}
+ {% if author.xing %}
+ <a href="http://www.xing.com/profile/{{ author.xing }}" class="author-social" target="_blank"><i class="fa fa-fw fa-xing-square"></i> XING</a>
+ {% endif %}
+ {% if author.instagram %}
+ <a href="http://instagram.com/{{ author.instagram }}" class="author-social" target="_blank"><i class="fa fa-fw fa-instagram"></i> Instagram</a>
+ {% endif %}
+ {% if author.tumblr %}
+ <a href="http://{{ author.tumblr }}.tumblr.com" class="author-social" target="_blank"><i class="fa fa-fw fa-tumblr-square"></i> Tumblr</a>
+ {% endif %}
+ {% if author.github %}
+ <a href="http://github.com/{{ author.github }}" class="author-social" target="_blank"><i class="fa fa-fw fa-github"></i> Github</a>
+ {% endif %}
+ {% if author.stackoverflow %}
+ <a href="http://stackoverflow.com/users/{{ author.stackoverflow }}" class="author-social" target="_blank"><i class="fa fa-fw fa-stack-overflow"></i> Stackoverflow</a>
+ {% endif %}
+ {% if author.lastfm %}
+ <a href="http://lastfm.com/user/{{ author.lastfm }}" class="author-social" target="_blank"><i class="fa fa-fw fa-music"></i> Last.fm</a>
+ {% endif %}
+ {% if author.dribbble %}
+ <a href="http://dribbble.com/{{ author.dribbble }}" class="author-social" target="_blank"><i class="fa fa-fw fa-dribbble"></i> Dribbble</a>
+ {% endif %}
+ {% if author.pinterest %}
+ <a href="http://www.pinterest.com/{{ author.pinterest }}" class="author-social" target="_blank"><i class="fa fa-fw fa-pinterest"></i> Pinterest</a>
+ {% endif %}
+ {% if author.foursquare %}
+ <a href="http://foursquare.com/{{ author.foursquare }}" class="author-social" target="_blank"><i class="fa fa-fw fa-foursquare"></i> Foursquare</a>
+ {% endif %}
+ {% if author.steam %}
+ <a href="http://steamcommunity.com/id/{{ author.steam }}" class="author-social" target="_blank"><i class="fa fa-fw fa-steam-square"></i> Steam</a>
+ {% endif %}
+ {% if author.youtube %}
+ <a href="https://youtube.com/user/{{ author.youtube }}" class="author-social" target="_blank"><i class="fa fa-fw fa-youtube-square"></i> Youtube</a>
+ {% endif %}
+ {% if author.soundcloud %}
+ <a href="http://soundcloud.com/{{ author.soundcloud }}" class="author-social" target="_blank"><i class="fa fa-fw fa-soundcloud"></i> Soundcloud</a>
+ {% endif %}
+ {% if author.weibo %}
+ <a href="http://www.weibo.com/{{ author.weibo }}" class="author-social" target="_blank"><i class="fa fa-fw fa-weibo"></i> Weibo</a>
+ {% endif %}
+ {% if author.flickr %}
+ <a href="http://www.flickr.com/{{ author.flickr }}" class="author-social" target="_blank"><i class="fa fa-fw fa-flickr"></i> Flickr</a>
+ {% endif %}
+ {% if author.codepen %}
+ <a href="http://codepen.io/{{ author.codepen }}" class="author-social" target="_blank"><i class="fa fa-fw fa-codepen"></i> CodePen</a>
+ {% endif %}
+</div>
R _includes/_browser-upgrade.html => _includes/browser-upgrade.html +0 -0
R => +16 -16
@@ 1,22 1,22 @@
{% if site.owner.disqus-shortname %}
{% if site.disqus_shortname %}
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = '{{ site.owner.disqus-shortname }}'; // required: replace example with your forum shortname
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = '{{ site.disqus_shortname }}';
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
/* * * DON'T EDIT BELOW THIS LINE * * */
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
/* * * DON'T EDIT BELOW THIS LINE * * */
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
{% endif %}
A => +4 -0
@@ 0,0 1,4 @@
{% capture feed_footer %}
<p><a href="{{ absurl }}{{ post.url }}" rel="nofollow">{{ post.title }}</a> was originally published by {{ site.owner.name }} on <a href="{{ site.url }}" rel="nofollow">{{ site.title }}</a></p>
{% endcapture %}
{{ feed_footer | markdownify | xml_escape }}
\ No newline at end of file
R => +2 -2
@@ 1,7 1,7 @@
{% if site.owner.google.ad-client and site.owner.google.ad-slot %}
<div class="google-ads">
<!-- 320 x 50 ad -->
<script async src="http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
style="display:inline-block;width:320px;height:50px"
data-ad-client="{{ site.owner.google.ad-client }}"
@@ 12,4 12,4 @@
</div><!-- /.google-ads -->
{% endif %}
<span>© {{ site.time | date: '%Y' }} {{ site.owner.name }}. Powered by <a href="http://jekyllrb.com" rel="nofollow">Jekyll</a> using the <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a> theme.</span>
<span>© {{ site.time | date: '%Y' }} {{ site.name | default: site.title }}. Powered by <a href="http://jekyllrb.com" rel="nofollow">Jekyll</a> using the <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a> theme.</span>
A _includes/head.html => _includes/head.html +30 -0
@@ 0,0 1,30 @@
+<meta charset="utf-8">
+
+{% include seo.html %}
+
+<link href="{{ absurl }}/feed.xml" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
+
+<!-- http://t.co/dKP3o1e -->
+<meta name="HandheldFriendly" content="True">
+<meta name="MobileOptimized" content="320">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+<!-- For all browsers -->
+<link rel="stylesheet" href="{{ absurl }}/assets/css/main.css">
+
+<meta http-equiv="cleartype" content="on">
+
+<!-- HTML5 Shiv and Media Query Support -->
+<!--[if lt IE 9]>
+ <script src="{{ absurl }}/assets/js/vendor/html5shiv.min.js"></script>
+ <script src="{{ absurl }}/assets/js/vendor/respond.min.js"></script>
+<![endif]-->
+
+<!-- Modernizr -->
+<script src="{{ absurl }}/assets/js/vendor/modernizr-2.7.1.custom.min.js"></script>
+
+<link href="//fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700%7CPT+Serif:400,700,400italic" rel="stylesheet" type="text/css">
+
+<!-- Icons -->
+<link rel="shortcut icon" href="{{ absurl }}/favicon.ico">
+<link rel="shortcut icon" href="{{ absurl }}/favicon.png">
R _includes/_navigation.html => _includes/navigation.html +6 -6
@@ 1,18 1,18 @@
<div class="navigation-wrapper">
<div class="site-name">
- <a href="{{ site.url }}/">{{ site.title }}</a>
+ <a href="{{ absurl }}/">{{ site.title }}</a>
</div><!-- /.site-name -->
<div class="top-navigation">
<nav id="site-nav" class="nav">
<ul>
- {% for link in site.data.navigation %}
+ {% for link in site.data.navigation %}
{% if link.url contains 'http' %}
- {% assign domain = '' %}
- {% else %}
- {% assign domain = site.url %}
+ {% assign domain = '' %}
+ {% else %}
+ {% assign domain = absurl %}
{% endif %}
<li><a href="{{ domain }}{{ link.url }}" {% if link.url contains 'http' %}target="_blank"{% endif %}>{{ link.title }}</a></li>
- {% endfor %}
+ {% endfor %}
</ul>
</nav>
</div><!-- /.top-navigation -->
A _includes/scripts.html => _includes/scripts.html +20 -0
@@ 0,0 1,20 @@
+<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
+<script>window.jQuery || document.write('<script src="{{ absurl }}/assets/js/vendor/jquery-1.9.1.min.js"><\/script>')</script>
+<script src="{{ absurl }}/assets/js/scripts.min.js"></script>
+
+{% if site.google_analytics %}
+<script>
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+ ga('create', '{{ site.google_analytics }}', 'auto');
+ ga('send', 'pageview');
+
+</script>
+{% endif %}
+
+{% if page.comments %}
+ {% include disqus-comments.html %}
+{% endif %}
A _includes/seo.html => _includes/seo.html +134 -0
@@ 0,0 1,134 @@
+<!-- begin SEO -->
+{% if site.url %}
+ {% assign seo_url = site.url | append: site.baseurl %}
+{% endif %}
+{% assign seo_url = seo_url | default: site.github.url %}
+
+{% if page.title %}
+ {% assign seo_title = page.title | append: " " | append: site.title_separator | append: " " | append: site.title %}
+{% endif %}
+
+{% if seo_title %}
+ {% assign seo_title = seo_title | markdownify | strip_html | strip_newlines | escape_once %}
+{% endif %}
+
+{% if site.url %}
+ {% assign canonical_url = page.url | replace: "index.html", "" | prepend: site.url %}
+{% endif %}
+
+{% if seo_title %}
+ <title>{{ seo_title }}</title>
+{% endif %}
+
+{% assign seo_description = page.description | default: page.excerpt | default: site.description %}
+{% if seo_description %}
+ {% assign seo_description = seo_description | markdownify | strip_html | strip_newlines | escape_once %}
+{% endif %}
+
+{% assign seo_author = page.author | default: page.authors[0] | default: site.author %}
+{% if seo_author %}
+ {% if seo_author.twitter %}
+ {% assign seo_author_twitter = seo_author.twitter %}
+ {% else %}
+ {% if site.data.authors and site.data.authors[seo_author] %}
+ {% assign seo_author_twitter = site.data.authors[seo_author].twitter %}
+ {% else %}
+ {% assign seo_author_twitter = seo_author %}
+ {% endif %}
+ {% endif %}
+ {% assign seo_author_twitter = seo_author_twitter | replace: "@", "" %}
+{% endif %}
+
+<meta property="og:locale" content="{{ site.locale }}">
+<meta property="og:site_name" content="{{ site.title }}">
+<meta property="og:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
+
+{% if seo_url %}
+ <link rel="canonical" href="{{ page.url | prepend: seo_url | replace: "/index.html", "/" }}">
+ <meta property="og:url" content="{{ page.url | prepend: seo_url | replace: "/index.html", "/" }}">
+{% endif %}
+
+{% if page.excerpt %}
+ <meta property="og:description" content="{{ seo_description }}">
+{% endif %}
+
+{% if site.twitter %}
+ <meta name="twitter:site" content="@{{ site.twitter.username | replace: "@", "" }}">
+ <meta name="twitter:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
+ <meta name="twitter:description" content="{{ seo_description }}">
+ <meta name="twitter:url" content="{{ canonical_url }}">
+
+ {% if page.image.feature %}
+ <meta name="twitter:card" content="summary_large_image">
+ <meta name="twitter:image" content="{{ page.image.feature | prepend: "/images/" | prepend: absurl }}">
+ {% else %}
+ <meta name="twitter:card" content="summary">
+ <meta name="twitter:image" content="{% if page.image.thumb %}{{ page.image.thumb | prepend: "/images/" | prepend: absurl }}{% else %}{{ site.logo | prepend: "/images/" | prepend: absurl }}{% endif %}">
+ {% endif %}
+
+ {% if seo_author_twitter %}
+ <meta name="twitter:creator" content="@{{ seo_author_twitter }}">
+ {% endif %}
+{% endif %}
+
+{% if site.facebook %}
+ {% if site.facebook.publisher %}
+ <meta property="article:publisher" content="{{ site.facebook.publisher }}">
+ {% endif %}
+
+ {% if site.facebook.app_id %}
+ <meta property="fb:app_id" content="{{ site.facebook.app_id }}">
+ {% endif %}
+{% endif %}
+
+{% if page.image.feature %}
+ <meta property="og:image" content="{{ page.image.feature | prepend: "/images/" | prepend: absurl }}">
+{% endif %}
+
+{% if page.date %}
+ <meta property="og:type" content="article">
+ <meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}">
+ {% if page.next.url %}
+ <link rel="next" href="{{ page.next.url | prepend: seo_url | replace: "/index.html", "/" }}" title="{{ page.next.title | escape }}">
+ {% endif %}
+ {% if page.previous.url %}
+ <link rel="prev" href="{{ page.previous.url | prepend: seo_url | replace: "/index.html", "/" }}" title="{{ page.previous.title | escape }}">
+ {% endif %}
+{% endif %}
+
+{% if site.logo %}
+ <script type="application/ld+json">
+ {
+ "@context": "http://schema.org",
+ "@type": "Organization",
+ "url": {{ seo_url | jsonify }},
+ "logo": {{ site.logo | prepend: "/" | prepend: seo_url | jsonify }}
+ }
+ </script>
+{% endif %}
+
+{% if site.social %}
+ <script type="application/ld+json">
+ {
+ "@context" : "http://schema.org",
+ "@type" : "{% if site.social.type %}{{ site.social.type }}{% else %}person{% endif %}",
+ "name" : "{{ site.social.name | default: site.name }}",
+ "url" : {{ seo_url | jsonify }},
+ "sameAs" : {{ site.social.links | jsonify }}
+ }
+ </script>
+{% endif %}
+
+{% if site.google_site_verification %}
+ <meta name="google-site-verification" content="{{ site.google_site_verification }}" />
+{% endif %}
+{% if site.bing_site_verification %}
+ <meta name="msvalidate.01" content="{{ site.bing_site_verification }}">
+{% endif %}
+{% if site.owner.alexa.verify %}
+ <meta name="alexaVerifyID" content="{{ site.alexa_site_verification }}">
+{% endif %}
+{% if site.owner.yandex.verify %}
+ <meta name="yandex-verification" content="{{ site.yandex_site_verification }}">
+{% endif %}
+<!-- end SEO --><
\ No newline at end of file
R _includes/_social-share.html => _includes/social-share.html +3 -3
@@ 2,13 2,13 @@
<h4>Share on</h4>
<ul>
<li>
- <a href="https://twitter.com/intent/tweet?text={{ site.url }}{{ page.url }}" class="twitter" title="Share on Twitter"><i class="fa fa-twitter"></i><span> Twitter</span></a>
+ <a href="https://twitter.com/intent/tweet?text={{ absurl }}{{ page.url }}" class="twitter" title="Share on Twitter"><i class="fa fa-twitter"></i><span> Twitter</span></a>
</li>
<li>
- <a href="https://www.facebook.com/sharer/sharer.php?u={{ site.url }}{{ page.url }}" class="facebook" title="Share on Facebook"><i class="fa fa-facebook"></i><span> Facebook</span></a>
+ <a href="https://www.facebook.com/sharer/sharer.php?u={{ absurl }}{{ page.url }}" class="facebook" title="Share on Facebook"><i class="fa fa-facebook"></i><span> Facebook</span></a>
</li>
<li>
- <a href="https://plus.google.com/share?url={{ site.url }}{{ page.url }}" class="google-plus" title="Share on Google Plus"><i class="fa fa-google-plus"></i><span> Google+</span></a>
+ <a href="https://plus.google.com/share?url={{ absurl }}{{ page.url }}" class="google-plus" title="Share on Google Plus"><i class="fa fa-google-plus"></i><span> Google+</span></a>
</li>
</ul>
</div><!-- /.social-share -->=
\ No newline at end of file
R _includes/_toc.html => _includes/toc.html +0 -0
A _layouts/archive.html => _layouts/archive.html +25 -0
@@ 0,0 1,25 @@
+---
+layout: default
+---
+
+{% include absolute-url.liquid %}
+
+<div class="archive">
+ <h1>{{ page.title }}</h1>
+ {% capture written_year %}'None'{% endcapture %}
+ {% for post in site.posts %}
+ {% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
+ {% if year != written_year %}
+ <h3>{{ year }}</h3>
+ {% capture written_year %}{{ year }}{% endcapture %}
+ {% endif %}
+ <article itemscope itemtype="http://schema.org/CreativeWork">
+ {% if post.link %}
+ <h2 class="link-post" itemprop="headline"><a href="{{ absurl }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a> <a href="{{ post.link }}" target="_blank" title="{{ post.title }}"><i class="fa fa-link"></i></a></h2>
+ {% else %}
+ <h2 itemprop="headline"><a href="{{ absurl }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></h2>
+ <p itemprop="description">{{ post.excerpt | remove: '\[ ... \]' | remove: '\( ... \)' | markdownify | strip_html | strip_newlines | escape_once }}</p>
+ {% endif %}
+ </article>
+ {% endfor %}
+</div><!-- /.archive --><
\ No newline at end of file
A _layouts/compress.html => _layouts/compress.html +10 -0
@@ 0,0 1,10 @@
+---
+# Jekyll layout that compresses HTML
+# v3.0.2
+# http://jch.penibelst.de/
+# © 2014–2015 Anatol Broder
+# MIT License
+---
+
+{% capture _LINE_FEED %}
+{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
A _layouts/default.html => _layouts/default.html +50 -0
@@ 0,0 1,50 @@
+---
+layout: compress
+---
+
+{% include absolute-url.liquid %}
+
+<!DOCTYPE html>
+<html lang="{{ site.locale | slice: 0,2 }}">
+ <head>
+ {% include head.html %}
+ </head>
+
+ <body>
+
+ {% include browser-upgrade.html %}
+ {% include navigation.html %}
+
+ {% if page.image.feature %}
+ <div class="image-wrap">
+ <img src=
+ {% if page.image.feature contains "http" %}
+ "{{ page.image.feature }}"
+ {% else %}
+ "{{ page.image.feature | prepend: "/images/" | prepend: absurl }}"
+ "{{ page.image.feature | prepend: absurl }}"
+ {% endif %}
+ alt="{{ page.title }}">
+ {% if page.image.credit %}
+ <span class="image-credit">Photo Credit: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a></span>
+ {% endif %}
+ </div><!-- /.image-wrap -->
+ {% endif %}
+
+ <div id="main" role="main">
+ <div class="author-profile">
+ {% include author-profile.html %}
+ </div>
+ {{ content }}
+ </div><!-- /#main -->
+
+ <div class="footer-wrap">
+ <footer>
+ {% include footer.html %}
+ </footer>
+ </div><!-- /.footer-wrap -->
+
+ {% include scripts.html %}
+
+ </body>
+</html>
M _layouts/home.html => _layouts/home.html +17 -57
@@ 1,59 1,19 @@
-<!doctype html>
-<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
-<!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]-->
-<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
-<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<![endif]-->
-<head>
-{% include _head.html %}
-</head>
-
-<body class="home">
-
-{% include _browser-upgrade.html %}
-
-{% include _navigation.html %}
-
-{% if page.image.feature %}
- <div class="image-wrap">
- <img src=
- {% if page.image.feature contains 'http' %}
- "{{ page.image.feature }}"
+---
+layout: default
+---
+
+{% include absolute-url.liquid %}
+
+<div class="archive">
+ <h3><a href="{{ absurl }}/posts/">Recent Posts</a></h3>
+ {% for post in site.posts limit:5 %}
+ <article itemscope itemtype="http://schema.org/CreativeWork">
+ {% if post.link %}
+ <h2 class="link-post" itemprop="headline"><a href="{{ absurl }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a> <a href="{{ post.link }}" target="_blank" title="{{ post.title }}"><i class="fa fa-link"></i></a></h2>
{% else %}
- "{{ site.url }}/images/{{ page.image.feature }}"
+ <h2 itemprop="headline"><a href="{{ absurl }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></h2>
+ <p itemprop="description">{{ post.excerpt | strip_html | truncate: 160 }}</p>
{% endif %}
- alt="{{ page.title }} feature image">
- {% if page.image.credit %}
- <span class="image-credit">Photo Credit: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a></span>
- {% endif %}
- </div><!-- /.image-wrap -->
-{% endif %}
-
-<div id="main" role="main">
- <div class="article-author-side">
- {% include _author-bio.html %}
- </div>
- <div id="index">
- <h3><a href="{{ site.url}}/posts/">Recent Posts</a></h3>
- {% for post in site.posts limit:5 %}
- <article>
- {% if post.link %}
- <h2 class="link-post"><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a> <a href="{{ post.link }}" target="_blank" title="{{ post.title }}"><i class="fa fa-link"></i></a></h2>
- {% else %}
- <h2><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></h2>
- <p>{{ post.excerpt | strip_html | truncate: 160 }}</p>
- {% endif %}
- </article>
- {% endfor %}
- </div><!-- /#index -->
-</div><!-- /#main -->
-
-<div class="footer-wrap">
- <footer>
- {% include _footer.html %}
- </footer>
-</div><!-- /.footer-wrap -->
-
-{% include _scripts.html %}
-
-</body>
-</html>
+ </article>
+ {% endfor %}
+</div><!-- /#index --><
\ No newline at end of file
D _layouts/page.html => _layouts/page.html +0 -59
@@ 1,59 0,0 @@
-<!doctype html>
-<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
-<!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]-->
-<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
-<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<![endif]-->
-<head>
-{% include _head.html %}
-</head>
-
-<body class="page">
-
-{% include _browser-upgrade.html %}
-
-{% include _navigation.html %}
-
-{% if page.image.feature %}
- <div class="image-wrap">
- <img src=
- {% if page.image.feature contains 'http' %}
- "{{ page.image.feature }}"
- {% else %}
- "{{ site.url }}/images/{{ page.image.feature }}"
- {% endif %}
- alt="{{ page.title }} feature image">
- {% if page.image.credit %}
- <span class="image-credit">Photo Credit: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a></span>
- {% endif %}
- </div><!-- /.image-wrap -->
-{% endif %}
-
-<div id="main" role="main">
- <div class="article-author-side">
- {% include _author-bio.html %}
- </div>
- <article class="page">
- <h1>{{ page.title }}</h1>
- <div class="article-wrap">
- {{ content }}
- {% if page.share != false %}
- <hr />
- {% include _social-share.html %}
- {% endif %}
- </div><!-- /.article-wrap -->
- {% if site.owner.disqus-shortname and page.comments == true %}
- <section id="disqus_thread"></section><!-- /#disqus_thread -->
- {% endif %}
- </article>
-</div><!-- /#index -->
-
-<div class="footer-wrap">
- <footer>
- {% include _footer.html %}
- </footer>
-</div><!-- /.footer-wrap -->
-
-{% include _scripts.html %}
-
-</body>
-</html>
D _layouts/post-index.html => _layouts/post-index.html +0 -65
@@ 1,65 0,0 @@
-<!doctype html>
-<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
-<!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]-->
-<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
-<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<![endif]-->
-<head>
-{% include _head.html %}
-</head>
-
-<body class="post-index">
-
-{% include _browser-upgrade.html %}
-
-{% include _navigation.html %}
-
-{% if page.image.feature %}
- <div class="image-wrap">
- <img src=
- {% if page.image.feature contains 'http' %}
- "{{ page.image.feature }}"
- {% else %}
- "{{ site.url }}/images/{{ page.image.feature }}"
- {% endif %}
- alt="{{ page.title }} feature image">
- {% if page.image.credit %}
- <span class="image-credit">Photo Credit: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a></span>
- {% endif %}
- </div><!-- /.image-wrap -->
-{% endif %}
-
-<div id="main" role="main">
- <div class="article-author-side">
- {% include _author-bio.html %}
- </div>
- <div id="index">
- <h1>{{ page.title }}</h1>
- {% capture written_year %}'None'{% endcapture %}
- {% for post in site.posts %}
- {% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
- {% if year != written_year %}
- <h3>{{ year }}</h3>
- {% capture written_year %}{{ year }}{% endcapture %}
- {% endif %}
- <article>
- {% if post.link %}
- <h2 class="link-post"><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a> <a href="{{ post.link }}" target="_blank" title="{{ post.title }}"><i class="fa fa-link"></i></a></h2>
- {% else %}
- <h2><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></h2>
- <p>{{ post.excerpt | strip_html | truncate: 160 }}</p>
- {% endif %}
- </article>
- {% endfor %}
- </div><!-- /#index -->
-</div><!-- /#main -->
-
-<div class="footer-wrap">
- <footer>
- {% include _footer.html %}
- </footer>
-</div><!-- /.footer-wrap -->
-
-{% include _scripts.html %}
-
-</body>
-</html>
M _layouts/post.html => _layouts/post.html +37 -63
@@ 1,77 1,51 @@
-<!doctype html>
-<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
-<!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]-->
-<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
-<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<![endif]-->
-<head>
-{% include _head.html %}
-</head>
-
-<body class="post">
-
-{% include _browser-upgrade.html %}
-
-{% include _navigation.html %}
-
-{% if page.image.feature %}
- <div class="image-wrap">
- <img src=
- {% if page.image.feature contains 'http' %}
- "{{ page.image.feature }}"
- {% else %}
- "{{ site.url }}/images/{{ page.image.feature }}"
- {% endif %}
- alt="{{ page.title }} feature image">
- {% if page.image.credit %}
- <span class="image-credit">Photo Credit: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a></span>
- {% endif %}
- </div><!-- /.image-wrap -->
-{% endif %}
-
-<div id="main" role="main">
- <div class="article-author-side">
- {% include _author-bio.html %}
- </div>
- <article class="post">
- <div class="headline-wrap">
+---
+layout: default
+---
+
+{% include absolute-url.liquid %}
+
+<article class="post" itemscope itemtype="http://schema.org/CreativeWork">
+ <meta itemprop="description" content="{{ page.excerpt | strip_html }}">
+ {% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
+ {% if page.modified %}<meta itemprop="dateModified" content="{{ page.modified | date: "%B %d, %Y" }}">{% endif %}
+
+ <div class="article-wrap">
+ <header>
{% if page.link %}
- <h1><a href="{{ page.link }}">{{ page.title }}</a></h1>
+ <h1 itemprop="headline"><a href="{{ page.link }}">{{ page.title }}</a></h1>
{% else %}
- <h1><a href="{{ site.url }}{{ page.url }}" rel="bookmark" title="{{ page.title }}">{{ page.title }}</a></h1>
+ <h1 itemprop="headline"><a href="{{ absurl }}{{ page.url }}" rel="bookmark" title="{{ page.title }}">{{ page.title }}</a></h1>
{% endif %}
- </div><!--/ .headline-wrap -->
- <div class="article-wrap">
- {{ content }}
- <hr />
- <footer role="contentinfo">
- {% if page.share != false %}{% include _social-share.html %}{% endif %}
+ </header>
+
+ <section itemprop="text">
+ {{ content }}
+ </section>
+
+ <hr />
+
+ <footer role="contentinfo">
+ {% if page.share %}{% include social-share.html %}{% endif %}
+ {% if page.date %}
<p class="byline"><strong>{{ page.title }}</strong> was published on <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %d, %Y" }}</time>{% if page.modified %} and last modified on <time datetime="{{ page.modified | date: "%Y-%m-%d" }}">{{ page.modified | date: "%B %d, %Y" }}</time>{% endif %}.</p>
- </footer>
- </div><!-- /.article-wrap -->
- {% if site.owner.disqus-shortname and page.comments == true %}
+ {% endif %}
+ </footer>
+ </div><!-- /.article-wrap -->
+
+ {% if site.disqus_shortname and page.comments %}
<section id="disqus_thread"></section><!-- /#disqus_thread -->
{% endif %}
- </article>
-</div><!-- /#main -->
+</article>
-<div class="footer-wrap">
- {% if site.related_posts.size > 0 %}
+{% comment %}<!-- only show related on a post page -->{% endcomment %}
+{% if page.id and site.related_posts.size > 0 %}
<div class="related-articles">
- <h4>You might also enjoy <small class="pull-right">(<a href="{{ site.url }}/posts/">View all posts</a>)</small></h4>
+ <h4>You might also enjoy <small class="pull-right">(<a href="{{ absurl }}/posts/">View all posts</a>)</small></h4>
<ul>
{% for post in site.related_posts limit:3 %}
- <li><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></li>
+ <li><a href="{{ absurl }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></li>
{% endfor %}
</ul>
<hr />
</div><!-- /.related-articles -->
- {% endif %}
- <footer>
- {% include _footer.html %}
- </footer>
-</div><!-- /.footer-wrap -->
-
-{% include _scripts.html %}
-
-</body>
-</html>
+{% endif %}<
\ No newline at end of file
R 404.md => _pages/404.md +1 -1
@@ 1,5 1,5 @@
---
-layout: page
+layout: post
title: "Page Not Found"
excerpt: "Page not found. Your pixels are in another canvas."
sitemap: false
R about/index.md => _pages/about.md +3 -3
@@ 1,9 1,9 @@
---
-layout: page
+layout: post
+permalink: /about/
title: About the Theme
tags: [about, Jekyll, theme, responsive]
modified: 2014-08-08T20:53:07.573882-04:00
-comments: true
image:
feature: sample-image-2.jpg
credit: WeGraphics
@@ 22,4 22,4 @@ Minimal Mistakes is responsive Jekyll theme with large featured images and solid
* [Custom 404 page](http://mmistakes.github.io/minimal-mistakes/404.html) to get you started.
* Support for Disqus Comments
-<a markdown="0" href="{{ site.url }}/theme-setup" class="btn">Install Minimal Mistakes Theme</a>
+<a markdown="0" href="{{ site.url }}{{ site.baseurl }}/theme-setup/" class="btn">Install Minimal Mistakes Theme</a>
R index.md => _pages/home.md +1 -0
@@ 1,5 1,6 @@
---
layout: home
+permalink: /
excerpt: "A minimal Jekyll theme for your blog by designer Michael Rose."
tags: [Jekyll, theme, responsive, blog, template]
image:
R posts/index.md => _pages/posts.md +3 -2
@@ 1,5 1,6 @@
---
-layout: post-index
-title: All Posts
+layout: archive
+permalink: /posts/
+title: "All Posts"
excerpt: "A List of Posts"
---=
\ No newline at end of file
R theme-setup/index.md => _pages/theme-setup.md +28 -27
@@ 1,15 1,18 @@
---
-layout: page
+layout: post
+permalink: /theme-setup/
title: Theme Setup
modified: 2016-01-19
excerpt: "Instructions on how to install and customize the Jekyll theme Minimal Mistakes."
+share: true
+comments: true
image:
feature: sample-image-3.jpg
credit: WeGraphics
creditlink: http://wegraphics.net/downloads/free-ultimate-blurred-background-pack/
---
-{% include _toc.html %}
+{% include toc.html %}
## Installation
@@ 59,14 62,14 @@ How Minimal Mistakes is organized and what the various files are. All posts, lay
{% highlight text %}
minimal-mistakes/
├── _includes/
-| ├── _author-bio.html # bio stuff layout. pulls optional owner data from _config.yml
-| ├── _browser-upgrade.html # prompt to install a modern browser for < IE9
-| ├── _disqus_comments.html # Disqus comments script
-| ├── _footer.html # site footer
-| ├── _head.html # site head
-| ├── _navigation.html # site top navigation
-| ├── _open-graph.html # Twitter Cards and Open Graph meta data
-| └── _scripts.html # site scripts
+| ├── author-bio.html # bio stuff layout. pulls optional owner data from _config.yml
+| ├── browser-upgrade.html # prompt to install a modern browser for < IE9
+| ├── disqus-comments.html # Disqus comments script
+| ├── footer.html # site footer
+| ├── head.html # site head
+| ├── navigation.html # site top navigation
+| ├── open-graph.html # Twitter Cards and Open Graph meta data
+| └── scripts.html # site scripts
├── _layouts/
| ├── home.html # homepage layout
| ├── page.html # page layout
@@ 235,23 238,21 @@ Start by modifying `authors.yml` file in the `_data` folder and add your authors
# Authors
billy_rick:
- name: Billy Rick
- web: http://thewhip.com
- email: billy@rick.com
- bio: "What do you want, jewels? I am a very extravagant man."
- avatar: bio-photo-2.jpg
- twitter: extravagantman
- google:
- plus: +BillyRick
+ name : "Billy Rick"
+ web : "http://thewhip.com"
+ email : "billy@rick.com"
+ bio : "What do you want, jewels? I am a very extravagant man."
+ avatar : "bio-photo-2.jpg"
+ twitter : "extravagantman"
+ google_plus : "BillyRick"
cornelius_fiddlebone:
- name: Cornelius Fiddlebone
- email: cornelius@thewhip.com
- bio: "I ordered what?"
- avatar: bio-photo.jpg
- twitter: rhymeswithsackit
- google:
- plus: +CorneliusFiddlebone
+ name : "Cornelius Fiddlebone"
+ email : "cornelius@thewhip.com"
+ bio : "I ordered what?"
+ avatar : "bio-photo.jpg"
+ twitter : "rhymeswithsackit"
+ google_plus : "CorneliusFiddlebone"
{% endhighlight %}
To assign Billy Rick as an author for our post. We'd add the following YAML front matter to a post:
@@ 265,7 266,7 @@ author: billy_rick
To include an auto-generated **table of contents** for posts and pages, add the following `_include` before the actual content. [Kramdown will take care of the rest](http://kramdown.rubyforge.org/converter/html.html#toc) and convert all headlines into list of links.
{% highlight html %}
-{% raw %}{% include _toc.html %}{% endraw %}
+{% raw %}{% include toc.html %}{% endraw %}
{% endhighlight %}
### Paragraph Indentation
@@ 300,7 301,7 @@ Not sure if this only effects Kramdown or if it's an issue with Markdown in gene
### Social Sharing Links
-Social sharing links for Twitter, Facebook, and Google+ are included on posts/pages by default. To hide them on specific posts or pages add `share: false` to the YAML Front Matter. If you'd like to use different social networks modify `_includes/_social-share.html` to your liking. Icons are set using [Font Awesome](http://fontawesome.io).
+Social sharing links for Twitter, Facebook, and Google+ are included on posts/pages by default. To hide them on specific posts or pages add `share: false` to the YAML Front Matter. If you'd like to use different social networks modify `_includes/social-share.html` to your liking. Icons are set using [Font Awesome](http://fontawesome.io).
---
M _posts/2011-03-10-sample-post.md => _posts/2011-03-10-sample-post.md +1 -2
@@ 1,10 1,9 @@
---
-layout: post
title: Sample Post
excerpt: "Just about everything you'll need to style in the theme: headings, paragraphs, blockquotes, tables, code blocks, and more."
modified: 2013-05-31
tags: [intro, beginner, jekyll, tutorial]
-comments: true
+comments: false
image:
feature: sample-image-5.jpg
credit: WeGraphics
M _posts/2012-05-22-readability-post.md => _posts/2012-05-22-readability-post.md +0 -2
@@ 1,9 1,7 @@
---
-layout: post
title: "Testing Readability with a Bunch of Text"
excerpt: "A ton of text to test readability."
tags: [sample post, readability, test]
-comments: true
---
Portland in shoreditch Vice, labore typewriter pariatur hoodie fap sartorial Austin. Pinterest literally occupy Schlitz forage. Odio ad blue bottle vinyl, 90's narwhal commodo bitters pour-over nostrud. Ugh est hashtag in, fingerstache adipisicing laboris esse Pinterest shabby chic Portland. Shoreditch bicycle rights anim, flexitarian laboris put a bird on it vinyl cupidatat narwhal. Hashtag artisan skateboard, flannel Bushwick nesciunt salvia aute fixie do plaid post-ironic dolor McSweeney's. Cliche pour-over chambray nulla four loko skateboard sapiente hashtag.
M _posts/2013-05-22-sample-post-images.md => _posts/2013-05-22-sample-post-images.md +0 -2
@@ 1,9 1,7 @@
---
-layout: post
title: "A Post with Images"
excerpt: "Examples and code for displaying images in posts."
tags: [sample post, images, test]
-comments: true
---
Here are some examples of what a post with images might look like. If you want to display two or three images next to each other responsively use `figure` with the appropriate `class`. Each instance of `figure` is auto-numbered and displayed in the caption.
M _posts/2013-05-23-readability-feature-post.md => _posts/2013-05-23-readability-feature-post.md +0 -2
@@ 1,9 1,7 @@
---
-layout: post
title: "Post with Large Feature Image and Text"
excerpt: "Custom written post descriptions are the way to go... if you're not lazy."
tags: [sample post, readability, test]
-comments: true
image:
feature: sample-image-4.jpg
credit: WeGraphics
M _posts/2013-08-12-sample-link-post.md => _posts/2013-08-12-sample-link-post.md +0 -2
@@ 1,10 1,8 @@
---
-layout: post
title: "Sample Link Post"
excerpt: "Example and code for using link posts."
tags: [sample post, link post]
link: http://mademistakes.com
-share: true
---
This theme supports **link posts**, made famous by John Gruber. To use, just add `link: http://url-you-want-linked` to the post's YAML front matter and you're done.
M _posts/2013-08-16-code-highlighting-post.md => _posts/2013-08-16-code-highlighting-post.md +0 -2
@@ 1,10 1,8 @@
---
-layout: post
title: Syntax Highlighting Post
excerpt: "Demo post displaying the various ways of highlighting code in Markdown."
tags: [sample post, code, highlighting]
modified: 2016-02-01
-comments: true
---
Syntax highlighting is a feature that displays source code, in different colors and fonts according to the category of terms. This feature facilitates writing in a structured language such as a programming language or a markup language as both structures and syntax errors are visually distinct. Highlighting does not affect the meaning of the text itself; it is intended only for human readers.[^1]
M _posts/2014-07-31-author-override.md => _posts/2014-07-31-author-override.md +0 -1
@@ 1,5 1,4 @@
---
-layout: post
title: "Author Override"
author: billy_rick
modified:
M _sass/page.scss => _sass/page.scss +43 -96
@@ 226,8 226,7 @@ $button-size: 1.5rem;
h1 {
margin-top: 0;
}
- .post,
- .page {
+ .post {
@include container;
@include grid(12,10);
@include prefix(12,1);
@@ 247,8 246,8 @@ $button-size: 1.5rem;
}
}
-/* Index listing specific styling */
-#index {
+/* Archive listing specific styling */
+.archive {
@include container;
@include grid(12,10);
@include prefix(12,1);
@@ 319,22 318,6 @@ $button-size: 1.5rem;
height: auto;
-ms-interpolation-mode: bicubic;
}
- .headline-wrap {
- position: absolute;
- bottom: 25px;
- @include prefix(12,1);
- @media #{$small} {
- left: 25%;
- margin-left: 0;
- }
- @media #{$x-large} {
- @include prefix(12,1);
- }
- h1, h2 {
- color: $white;
- @include text-shadow(0 1px 2px rgba(0,0,0,.25));
- }
- }
}
/* Post byline */
@@ 342,21 325,42 @@ $button-size: 1.5rem;
clear: both;
font-size: 80%;
}
-.article-author-side,
-.article-author-bottom {
- h3 {
- margin-bottom: 0;
- }
- p {
- font-size: 80%;
- font-style: italic;
- }
+
+/* Author profile */
+.author-profile {
+ display: none;
a, a:hover {
border-bottom: 0 solid transparent;
}
+ @media #{$small} {
+ display: block;
+ @include grid(12,2);
+ @include prefix(12,0.5);
+ @include suffix(12,0.5);
+ }
+ @media #{$x-large} {
+ @include grid(12,1.5);
+ @include prefix(12,2);
+ }
+}
+.author-name {
+ margin-bottom: 0;
+ @media #{$small} {
+ margin-top: 10px;
+ margin-bottom: 10px;
+ }
+}
+.author-bio {
+ font-size: 80%;
+ font-style: italic;
+ @media #{$small} {
+ margin-bottom: 20px;
+ }
+}
+.author-avatar {
+ max-width: 110px;
+ @include rounded(150px);
}
-
-/* Default social media links in author sidebar */
.author-social {
display: block;
margin-bottom: 5px;
@@ 375,73 379,16 @@ $button-size: 1.5rem;
margin-right: 5px;
}
}
-
-/* Author sidebar */
-.article-author-side {
- display: none;
- .bio-photo {
- max-width: 110px;
- @include rounded(150px);
- }
- @media #{$small} {
- display: block;
- @include grid(12,2);
- @include prefix(12,0.5);
- @include suffix(12,0.5);
- h3,
- p,
- .author-social {
- display: block;
- max-width: 125px;
- }
- h3 {
- margin-top: 10px;
- margin-bottom: 10px;
- }
- p {
- margin-bottom: 20px;
- }
- .author-social {
- margin-bottom: 5px;
- }
- }
- @media #{$large} {
- h3,
- .bio-photo,
- p,
- .author-social {
- max-width: 150px;
- }
- }
- @media #{$x-large} {
- @include grid(12,1.5);
- @include prefix(12,2);
- }
+@media #{$small} {
+ display: block;
+ max-width: 125px;
}
-
-/* Author module - mobile only */
-.article-author-bottom {
- margin-bottom: 1em;
- @media #{$small} {
- display: none;
- }
- .bio-photo {
- float: left;
- margin-right: 25px;
- max-width: 100px;
- @include rounded(150px);
- }
+@media #{$large} {
+ .author-name,
+ .author-avatar,
+ .author-bio,
.author-social {
- display: inline-block;
- margin-right: 10px;
- }
- @media #{$large} {
- h3,
- .bio-photo,
- p,
- .author-social {
- max-width: 150px;
- }
+ max-width: 150px;
}
}
D _templates/archive => _templates/archive +0 -9
@@ 1,9 0,0 @@
----
-layout: post-index
-title: {{ title }}
-permalink:
-modified:
-excerpt:
-image:
- feature:
---->
\ No newline at end of file
D _templates/page => _templates/page +0 -10
@@ 1,10 0,0 @@
----
-layout: {{ layout }}
-title: {{ title }}
-date: {{ date }}
-modified:
-excerpt:
-tags: []
-image:
- feature:
----
D _templates/post => _templates/post +0 -10
@@ 1,10 0,0 @@
----
-layout: {{ layout }}
-title: {{ title }}
-modified:
-categories: {{ dir }}
-excerpt:
-tags: []
-image:
- feature:
----
M feed.xml => feed.xml +1 -1
@@ 36,7 36,7 @@ sitemap: false
</author>
<content type="html">
{{ post.content | xml_escape }}
- {% include _feed-footer.html %}
+ {% include feed-footer.html %}
</content>
</entry>
{% endfor %}
D images/apple-touch-icon-114x114-precomposed.png => images/apple-touch-icon-114x114-precomposed.png +0 -0
D images/apple-touch-icon-144x144-precomposed.png => images/apple-touch-icon-144x144-precomposed.png +0 -0
D images/apple-touch-icon-72x72-precomposed.png => images/apple-touch-icon-72x72-precomposed.png +0 -0
D images/apple-touch-icon-precomposed.png => images/apple-touch-icon-precomposed.png +0 -0
R images/default-thumb.png => images/site-logo.png +0 -0