Skip to content
This repository has been archived by the owner on May 12, 2019. It is now read-only.

Commit

Permalink
Add default static page template
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Dec 31, 2015
1 parent 3225bd2 commit 0d102d8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 16 deletions.
16 changes: 0 additions & 16 deletions page-about.hbs

This file was deleted.

19 changes: 19 additions & 0 deletions page.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{{!< default}}

{{#post}}

<article class="{{post_class}}">
<header>
<a alt="Tweet '{{title}}'" href="https://twitter.com/intent/tweet?text={{encode title}}{{encode ' »'}}&amp;hashtags={{tags separator="," autolink="false"}}&amp;url={{url absolute="true"}}">
{{#if image}}<img id="post-image" src={{image}} alt="{{{title}}}">{{/if}}
<h1 class="icon-reverse icon-social-twitter-post" id="post-title">{{{title}}}</h1>
</a>
</header>

<div id="post-content" class="{{post_class}}">
{{content}}
</div>

</article>

{{/post}}

0 comments on commit 0d102d8

Please sign in to comment.