Major website overhaul
This commit is contained in:
39
etc/ghost/themes/casper/post.hbs
Executable file
39
etc/ghost/themes/casper/post.hbs
Executable file
@@ -0,0 +1,39 @@
|
||||
{{!< default}}
|
||||
|
||||
{{#post}}
|
||||
|
||||
<article class="{{post_class}}">
|
||||
<header>
|
||||
<div class="post meta">
|
||||
<time datetime="{{date format="YYYY-MM-DDTHH:MM"}}">{{date format="DD MMM YYYY"}}</time>
|
||||
<span class="post tags">{{tags prefix="in " separator=" "}}</span>
|
||||
|
||||
{{> post-author}}
|
||||
|
||||
<span class="post reading-time"> ~ <span></span> read.</span>
|
||||
</div>
|
||||
{{#if feature_image}}<img id="post-image" src="{{img_url feature_image}}" alt="{{title}}">{{/if}}
|
||||
<h1 id="post-title">{{title}}</h1>
|
||||
</header>
|
||||
|
||||
<div id="post-content" class="{{post_class}}">
|
||||
{{content}}
|
||||
</div>
|
||||
|
||||
<div id="disqus_thread"></div>
|
||||
|
||||
<div class="post related">
|
||||
{{#prev_post}}
|
||||
<a rel="prev" id="prev-btn" class="btn small square" href="{{url}}">← {{title}}</a>
|
||||
{{/prev_post}}
|
||||
|
||||
{{#next_post}}
|
||||
<a rel="next" id="next-btn" class="btn small square" href="{{url}}">{{title}} →</a>
|
||||
{{/next_post}}
|
||||
</div>
|
||||
|
||||
{{> comments}}
|
||||
|
||||
</article>
|
||||
|
||||
{{/post}}
|
||||
Reference in New Issue
Block a user