Skip to content

Commit

Permalink
[v.1.1.0] Version ready for Ghost 0.4.2
Browse files Browse the repository at this point in the history
* Added package.json
* Added links in the tags section
* Added tag.hbs file
  • Loading branch information
dziudek committed Mar 25, 2014
1 parent 0d1cb21 commit 540fa8c
Show file tree
Hide file tree
Showing 6 changed files with 69 additions and 5 deletions.
12 changes: 10 additions & 2 deletions perfetta/assets/css/main.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*---------------------------------
Perfetta Ghost Theme by GavickPro
17-03-2014
v.1.0
25-03-2014
v.1.1
- - - - - - - - - - - - - - - - - -
Expand Down Expand Up @@ -397,6 +397,14 @@ footer.page-wrap > div { margin-left: 170px; }
list-style-type: none;
padding: 0;
}
.post > aside a {
color: #8e9798;
}
.post > aside a:active,
.post > aside a:focus,
.post > aside a:hover {
color: #da6426;
}
.post .post-readmore {
border: 1px solid #da6426;
color: #da6426;
Expand Down
2 changes: 1 addition & 1 deletion perfetta/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<dd>
<ul>
{{#foreach tags}}
<li>{{name}}{{#if @last}} {{else}}, {{/if}}</li>
<li><a href="{{url}}">{{name}}</a>{{#if @last}} {{else}}, {{/if}}</li>
{{/foreach}}
</ul>
</dd>
Expand Down
4 changes: 4 additions & 0 deletions perfetta/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "Perfetta",
"version": "1.1.0"
}
2 changes: 1 addition & 1 deletion perfetta/page.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<dd>
<ul>
{{#foreach tags}}
<li>{{name}}{{#if @last}} {{else}}, {{/if}}</li>
<li><a href="{{url}}">{{name}}</a>{{#if @last}} {{else}}, {{/if}}</li>
{{/foreach}}
</ul>
</dd>
Expand Down
2 changes: 1 addition & 1 deletion perfetta/post.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
<dd>
<ul>
{{#foreach tags}}
<li>{{name}}{{#if @last}} {{else}}, {{/if}}</li>
<li><a href="{{url}}">{{name}}</a>{{#if @last}} {{else}}, {{/if}}</li>
{{/foreach}}
</ul>
</dd>
Expand Down
52 changes: 52 additions & 0 deletions perfetta/tag.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{{!< default}}

{{! The main content area on the homepage }}
<main class="page-wrap tag-page" role="main">

{{! Each post will be output using this markup }}
{{#foreach posts}}

<article class="{{post_class}}" data-scroll-reveal="enter bottom">
<div>
<header class="post-header">
{{content words="0"}}
<h2 class="post-title">
<a href="{{url}}"><span>{{{title}}}</span></a>
</h2>
</header>
<section class="post-excerpt">
<p>{{excerpt}}&hellip;</p>

<a href="{{url}}" class="post-readmore">Read more</a>
</section>
</div>

<aside class="post-meta" data-scroll-reveal="enter left and move 30px after .3s">
<time datetime="{{date format='YYYY-MM-DD'}}">
{{date format="MMM DD"}}
<span>{{date format="YYYY"}}</span>
</time>

<dl>
<dt class="item-author">by</dt>
<dd>{{author}}</dd>

{{#if tags}}
<dt class="item-tags">tagged as:</dt>
<dd>
<ul>
{{#foreach tags}}
<li><a href="{{url}}">{{name}}</a>{{#if @last}} {{else}}, {{/if}}</li>
{{/foreach}}
</ul>
</dd>
{{/if}}
</dl>
</aside>
</article>

{{/foreach}}

{{!! After all the posts, we have the previous/next pagination links }}
{{pagination}}
</main>

0 comments on commit 540fa8c

Please sign in to comment.