Compare commits

..

5 Commits
1.1.2 ... 1.1.4

Author SHA1 Message Date
82253b06f2 Derp 2014-12-23 14:21:53 +02:00
969a20ef6d Add tag mgmt support to Casper 2014-12-23 13:50:59 +02:00
dbaaf955af Version bump to 1.1.3 2014-12-04 15:32:09 +00:00
de94edc8a8 Merge pull request #149 from conradkleinespel/master
Support for Pastebin embeds
2014-11-29 11:12:20 +01:00
1292f2e22b support for pastebin 2014-11-29 00:09:46 +01:00
3 changed files with 15 additions and 5 deletions

View File

@ -1198,6 +1198,10 @@ body:not(.post-template) .post-title {
font-size: 1.1rem;
}
/* Pastebin */
.content .embedPastebin {
margin-bottom: 1.75em;
}
/* ==========================================================================
8. Pagination - Tools to let you flick between pages

View File

@ -1,4 +1,4 @@
{
"name": "Casper",
"version": "1.1.2"
"version": "1.1.4"
}

14
tag.hbs
View File

@ -1,8 +1,8 @@
{{!< default}}
{{! The tag above means - insert everything in this file into the {body} of the default.hbs template }}
{{! The big featured header }}
<header class="main-header tag-head {{#if @blog.cover}}" style="background-image: url({{@blog.cover}}){{else}}no-cover{{/if}}">
{{! If we have a tag cover, display that - else blog cover - else nothing }}
<header class="main-header tag-head {{#if tag.image}}" style="background-image: url({{tag.image}}){{else}}{{#if @blog.cover}}" style="background-image: url({{@blog.cover}}){{else}}no-cover{{/if}}{{/if}}">
<nav class="main-nav overlay clearfix">
<a class="back-button icon-arrow-left" href="{{@blog.url}}">Home</a>
<a class="subscribe-button icon-feed" href="{{@blog.url}}/tag/{{tag.slug}}/rss/">{{tag.name}}</a>
@ -10,7 +10,13 @@
<div class="vertical">
<div class="main-header-content inner">
<h1 class="page-title">{{tag.name}}</h1>
<h2 class="page-description">A {{pagination.total}}-post collection</h2>
<h2 class="page-description">
{{#if tag.description}}
{{tag.description}}
{{else}}
A {{pagination.total}}-post collection
{{/if}}
</h2>
</div>
</div>
</header>
@ -21,4 +27,4 @@
{{! The tag below includes the post loop - partials/loop.hbs }}
{{> "loop"}}
</main>
</main>