Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
98e6f1a
commit b6ef5d5
Showing
5 changed files
with
162 additions
and
1 deletion.
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
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,16 @@ | ||
<footer class="center"> | ||
<div class="measure"> | ||
<small>© Copyright 2017 Bradley Schaefer</small> | ||
</div> | ||
<div class="measure"> | ||
<small> | ||
Using <a href="http://pixyll.com/">Pixyll theme</a> for <a href="https://jekyllrb.com">Jekyll</a> | ||
</small> | ||
</div> | ||
</footer> | ||
{% if site.enable_anchorjs %}<!-- AnchorJS --> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.0.0/anchor.min.js"></script> | ||
<script> | ||
anchors.options.visible = 'always'; | ||
anchors.add('article h2, article h3, article h4, article h5, article h6'); | ||
</script>{% endif %} |
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,105 @@ | ||
<head> | ||
{% if site.google_tag_manager %} | ||
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': | ||
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], | ||
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= | ||
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); | ||
})(window,document,'script','dataLayer','{{ site.google_tag_manager }}');</script> | ||
{% endif %} | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<title>{% if page.title %}{{ page.title | strip_html }} – {% endif %}{{ site.title | strip_html }}</title> | ||
<link rel="dns-prefetch" href="//maxcdn.bootstrapcdn.com"> | ||
<link rel="dns-prefetch" href="//cdnjs.cloudflare.com"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta name="description" content="{% if page.meta_description %}{{ page.meta_description | xml_escape }}{% elsif page.summary %}{{ page.summary | xml_escape }}{% else %}{{ site.description | xml_escape }}{% endif %}"> | ||
{% if page.meta_robots %}<meta name="robots" content="{{ page.meta_robots }}"> | ||
{% else %}<meta name="robots" content="all">{% endif %} | ||
<meta name="author" content="{{ site.author }}"> | ||
{% if site.fb_page %}<meta property="fb:pages" content="{{ site.fb_page_id }}" />{% endif %} | ||
{% if page.categories %}<meta name="keywords" content="{{ page.categories | join: ', ' }}">{% endif %} | ||
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}"> | ||
<link rel="alternate" type="application/rss+xml" title="RSS Feed for {{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl }}" /> | ||
|
||
<!-- Custom CSS --> | ||
<link rel="stylesheet" href="{{ "/assets/css/main.css" | prepend: site.baseurl }}?{{ site.time | date: "%Y%m%d%H%M" }}" type="text/css"> | ||
|
||
<!-- Fonts --> | ||
{% if site.extended_fonts %} | ||
<link href='//fonts.googleapis.com/css?family=Merriweather:900,900italic,300,300italic&subset=latin-ext,latin' rel='stylesheet' type='text/css'> | ||
<link href='//fonts.googleapis.com/css?family=Lato:900,300&subset=latin-ext,latin' rel='stylesheet' type='text/css'> | ||
{% else %} | ||
<link href='//fonts.googleapis.com/css?family=Merriweather:900,900italic,300,300italic' rel='stylesheet' type='text/css'> | ||
<link href='//fonts.googleapis.com/css?family=Lato:900,300' rel='stylesheet' type='text/css'> | ||
{% endif %} | ||
{% if site.show_social_icons or site.show_sharing_icons %} | ||
<link href="//maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css" rel="stylesheet"> | ||
{% endif %} | ||
|
||
<!-- MathJax --> | ||
{% if site.enable_mathjax %} | ||
<script type="text/javascript" async | ||
src="//cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> | ||
</script> | ||
{% endif %} | ||
|
||
<!-- Verifications --> | ||
{% if site.google_verification %} | ||
<meta name="google-site-verification" content="{{ site.google_verification }}" /> | ||
{% endif %} | ||
{% if site.bing_verification %} | ||
<meta name="msvalidate.01" content="{{ site.bing_verification }}" /> | ||
{% endif %} | ||
|
||
<!-- Open Graph --> | ||
<!-- From: https://github.com/mmistakes/hpstr-jekyll-theme/blob/master/_includes/head.html --> | ||
<meta property="og:locale" content="{{ site.text.og_locale }}"> | ||
<meta property="og:type" content="article"> | ||
<meta property="og:title" content="{% if page.title %}{{ page.title | xml_escape }}{% else %}{{ site.title | xml_escape }}{% endif %}"> | ||
<meta property="og:description" content="{% if page.description %}{{ page.description | xml_escape }}{% else %}{{ site.description | xml_escape }}{% endif %}"> | ||
<meta property="og:url" content="{{ site.url }}{{ page.url }}"> | ||
<meta property="og:site_name" content="{{ site.title | xml_escape }}"> | ||
{% if site.post_preview_image %} | ||
<meta property="og:image" content="{{ site.url }}/images/me.jpeg"> | ||
{% endif %} | ||
|
||
<!-- Twitter Card --> | ||
<meta name="twitter:card" content="summary" /> | ||
{% if site.twitter_username %} | ||
<meta name="twitter:site" content="@{{ site.twitter_username }}" /> | ||
<meta name="twitter:creator" content="@{{ site.twitter_username }}" /> | ||
{% endif %} | ||
<meta name="twitter:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}" /> | ||
<meta name="twitter:description" content="{% if page.summary %}{{ page.summary }}{% else %}{{ site.description }}{% endif %}" /> | ||
<meta name="twitter:url" content="{{ site.url }}{{ page.url }}" /> | ||
{% if site.post_preview_image %} | ||
<meta name="twitter:image" content="{{ site.url }}/images/me.jpeg" /> | ||
{% endif %} | ||
|
||
<!-- Icons --> | ||
<!--<link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57x57.png">--> | ||
<!--<link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114x114.png">--> | ||
<!--<link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-72x72.png">--> | ||
<!--<link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144x144.png">--> | ||
<!--<link rel="apple-touch-icon" sizes="60x60" href="/apple-touch-icon-60x60.png">--> | ||
<!--<link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon-120x120.png">--> | ||
<!--<link rel="apple-touch-icon" sizes="76x76" href="/apple-touch-icon-76x76.png">--> | ||
<!--<link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon-152x152.png">--> | ||
<!--<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-180x180.png">--> | ||
<!--<link rel="icon" type="image/png" href="/favicon-192x192.png" sizes="192x192">--> | ||
<!--<link rel="icon" type="image/png" href="/favicon-160x160.png" sizes="160x160">--> | ||
<!--<link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96">--> | ||
<!--<link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16">--> | ||
<!--<link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32">--> | ||
|
||
{% if site.google_analytics %} | ||
<script type="text/javascript"> | ||
(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 %} | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<div class="py2 post-footer"> | ||
<img src="{{ site.baseurl }}/images/me.jpeg" alt="John Otander" class="avatar" /> | ||
<p> | ||
Pixyll is an open-source Jekyll theme that's built by <a href="http://johnotander.com">John Otander</a>. | ||
When he's not writing code and building things, he likes to ski. A. Lot. | ||
</p> | ||
<p> | ||
Follow him on <a href="https://twitter.com/4lpine">Twitter</a>. | ||
</p> | ||
</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,28 @@ | ||
--- | ||
layout: default | ||
--- | ||
{% assign posts_count = paginator.posts | size %} | ||
|
||
<div class="home"> | ||
{% if posts_count > 0 %} | ||
<div class="posts"> | ||
{% for post in paginator.posts %} | ||
<div class="post py3"> | ||
<p class="post-meta">{{ post.date | date: site.date_format }}</p> | ||
<a href="{{ post.url | prepend: site.baseurl }}" class="post-link"><h3 class="h1 post-title">{{ post.title }}</h3></a> | ||
<span class="post-summary"> | ||
{% if post.summary %} | ||
{{ post.summary }} | ||
{% else %} | ||
{{ post.excerpt }} | ||
{% endif %} | ||
</span> | ||
</div> | ||
{% endfor %} | ||
</div> | ||
|
||
{% include pagination.html %} | ||
{% else %} | ||
<h1 class='center'>{{ site.text.index.coming_soon }}</h1> | ||
{% endif %} | ||
</div> |