Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
116 lines (98 sloc) 4.82 KB
{{!< default}}
{{! The comment above "< default" means - insert everything in this file into
the {body} of the default.hbs template, which contains our header/footer. }}
<main class="content" role="main">
<article class="{{post_class}}">
{{! Each post has the blog logo at the top, with a link back to the home page }}
<header class="post-header">
<a id="blog-logo" href="{{@blog.url}}">
{{#if @blog.logo}}
<img src="{{@blog.logo}}" alt="Blog Logo" />
{{! Everything inside the #post tags pulls data from the post }}
{{! Everything below outputs content of the the post which has been published }}
<span class="post-meta"><time datetime="{{date format="YYYY-MM-DD"}}">{{date format='MMM DD, YYYY'}}</time> {{#if tags}}<span class="tags">{ {{tags separator=", "}} }</span>{{/if}}</span>
<h1 class="post-title">{{{title}}}</h1>
<section class="post-content">
<footer class="post-footer">
{{#if author}}
<section class="author">
<section class="share">
<h4>Share this post</h4>
<a class="icon-twitter" href="{{title}}&url={{url absolute="true"}}"
onclick=", 'twitter-share', 'width=550,height=235');return false;">
<span class="hidden">Twitter</span>
<a class="icon-facebook" href="{{url absolute="true"}}"
onclick=", 'facebook-share','width=580,height=296');return false;">
<span class="hidden">Facebook</span>
<a class="icon-google-plus" href="{{url absolute="true"}}"
onclick=", 'google-plus-share', 'width=490,height=530');return false;">
<span class="hidden">Google+</span>
<section class="post-comments">
<h4 class="comments-header">Discussion</h4>
<ul class="discussion-tabs">
<li data-show="disqus" class="active">Comment with Disqus</li>
<li data-show="facebook">Comment with Facebook (<fb:comments-count href=></fb:comments-count>)</li>
<div id="disqus-comments-container" class="comments-container">
<div id="disqus_thread"></div>
var disqus_shortname = "bob-yexley-net";
var disqus_identifier = "{{uuid}}";
(function () {
var dsq = document.createElement("script")
dsq.async = true;
dsq.src = "//" + disqus_shortname + "";
(document.getElementsByTagName("head")[0] || document.getElementsByTagName("body")[0]).appendChild(dsq);
Please enable JavaScript to view the <a href="">comments powered by Disqus</a>
<a href="" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
<div id="facebook-comments-container" class="comments-container hidden">
<div id="fb-root"></div>
// (function(d, s, id) {
// var js, fjs = d.getElementsByTagName(s)[0];
// if (d.getElementById(id)) {
// return;
// }
// js = d.createElement(s); = id;
// js.src = "//";
// fjs.parentNode.insertBefore(js, fjs);
// }(document, 'script', 'facebook-jssdk'));