summaryrefslogtreecommitdiff
path: root/_layouts
diff options
context:
space:
mode:
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/blog.html36
-rw-r--r--_layouts/master.html32
-rw-r--r--_layouts/post.html28
3 files changed, 5 insertions, 91 deletions
diff --git a/_layouts/blog.html b/_layouts/blog.html
deleted file mode 100644
index 21ff3e7..0000000
--- a/_layouts/blog.html
+++ /dev/null
@@ -1,36 +0,0 @@
----
-layout: master
----
-<header>
- <a class="nav-up" href="../">../</a>
-</header>
-<main>
- {{ content }}
-</main>
-<footer>
- <p>
- <span class="footer-link">
- <a href="/">about</a>
- </span>
- <span class="footer-link">
- <a href="/posts/">posts</a>
- </span>
- <span class="footer-link">
- <a href="/projects/">projects</a>
- </span>
- <span class="footer-link">
- <a href="https://github.com/benburwell">github</a>
- </span>
- </p>
- <p>
- <span class="footer-link">
- <a href="/license/">&copy; {{ site.time | date: '%Y' }}</a>
- </span>
- <span class="footer-link">
- <a href="/privacy/">privacy</a>
- </span>
- <span class="footer-link">
- <a href="/feed.xml">rss</a>
- </span>
- </p>
-</footer>
diff --git a/_layouts/master.html b/_layouts/master.html
index 53c83f0..d762aad 100644
--- a/_layouts/master.html
+++ b/_layouts/master.html
@@ -3,44 +3,14 @@
<head>
<title>{{ page.title }}</title>
<meta charset="UTF-8">
- <style type="text/css">
- {% capture tiny %}{% include site.scss %}{% endcapture %}
- {{ tiny | scssify }}
- </style>
- <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">
+ <meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="shortcut icon" href="/assets/images/icons/favicon.ico" sizes="128x128">
- <link rel="apple-touch-icon" href="/assets/images/icons/apple/apple-touch-icon-57x57.png" sizes="57x57">
- <link rel="apple-touch-icon" href="/assets/images/icons/apple/apple-touch-icon-72x72.png" sizes="72x72">
- <link rel="apple-touch-icon" href="/assets/images/icons/apple/apple-touch-icon-76x76.png" sizes="76x76">
- <link rel="apple-touch-icon" href="/assets/images/icons/apple/apple-touch-icon-114x114.png" sizes="114x114">
- <link rel="apple-touch-icon" href="/assets/images/icons/apple/apple-touch-icon-120x120.png" sizes="120x120">
- <link rel="apple-touch-icon" href="/assets/images/icons/apple/apple-touch-icon-144x144.png" sizes="144x144">
- <link rel="apple-touch-icon" href="/assets/images/icons/apple/apple-touch-icon-152x152.png" sizes="152x152">
<link rel="alternate" type="application/atom+xml" title="benburwell.com blog posts" href="/feed.xml">
<meta name="author" content="Ben Burwell">
<meta name="description" content="{{ page.description }}">
<meta name="keywords" content="{{ site.keywords | join: ',' }}">
- <meta property="og:title" content="{{ page.title }}">
- <meta property="og:site_name" content="Ben Burwell">
- <meta property="og:description" content="{{ page.description}}">
- <meta property="og:image" content="{{ page.image }}">
- <meta property="og:type" content="article">
- <meta property="og:url" content="http%3A%2F%2Fwww.benburwell.com{{ page.url | cgi_escape }}">
- <meta property="article:author" content="Ben Burwell">
- <meta name="twitter:card" content="summary">
- <meta name="twitter:site" content="{{site.twitter.site}}">
- <meta name="twitter:title" content="{{ page.title }}">
- <meta name="twitter:creator" content="{{site.twitter.creator}}">
- <meta property="twitter:description" content="{{ page.description}}">
- <meta name="twitter:image:src" content="{{ page.image }}">
- <meta name="twitter:domain" content="BenBurwell.com">
- {% if page.chrome-webstore-item %}
- <link rel="chrome-webstore-item" href="https://chrome.google.com/webstore/detail/{{ page.chrome-webstore-item }}">
- {% endif %}
</head>
<body>
{{ content }}
- <script src="/assets/scripts/keen.min.js"></script>
- <script src="/assets/scripts/metrics.js"></script>
</body>
</html>
diff --git a/_layouts/post.html b/_layouts/post.html
index 1449d39..b3dd0c1 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -1,29 +1,9 @@
---
-layout: blog
+layout: master
---
-<article itemscope itemtype="http://schema.org/BlogPosting">
- <h1 itemprop="headline">{{ page.title }}</h1>
- <p><time datetime="{{ post.date | date: '%Y-%m-%d' }}" itemprop="datePublished">{{ page.date | date: "%-d %B %Y" }}</time></p>
+<h1>{{page.title}}</h1>
+<p>{{page.date | date: "%Y-%m-%d"}}</p>
- <div itemprop="articleBody">
- {{ content }}
- </div>
-</article>
+{{content}}
-<footer>
- <p>
- Share on:<br>
- <a title="Share/Discuss on Hacker News" target="_blank" href="https://news.ycombinator.com/submitlink?u=http%3A%2F%2Fwww.benburwell.com{{ page.url | cgi_escape }}&amp;t={{ page.title }}">Hacker News</a><br>
- <a title="Share on Twitter" target="_blank" href="https://twitter.com/intent/tweet?text={{ page.title }}&amp;url=http%3A%2F%2Fwww.benburwell.com{{ page.url | cgi_escape }}">Twitter</a><br>
- <a title="Share on Facebook" target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fwww.benburwell.com{{ page.url | cgi_escape }}">Facebook</a><br>
- <a title="Share on Google+" target="_blank" href="https://plus.google.com/share?url=http%3A%2F%2Fwww.benburwell.com{{ page.url | cgi_escape }}&amp;t={{ page.title }}">Google Plus</a>
- </p>
-
- <p>
- Read more:<br>
- {% for related in site.related_posts limit:3 %}
- <a href="{{ related.url }}">{{ related.title }}</a><br>
- {% endfor %}
- </p>
-</footer>