mirror of
https://github.com/GenZmeY/casper-i18n.git
synced 2025-07-15 18:26:05 +00:00
Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
933ebb86ca | |||
cb1196630b | |||
bcdbdab861 | |||
9a1988aa6d | |||
e2911f2d46 | |||
df09b7c375 | |||
09d827249f | |||
e264f609de | |||
12ad5f5404 | |||
ba798581ec |
@ -14,10 +14,9 @@
|
|||||||
7. Third Party Elements
|
7. Third Party Elements
|
||||||
8. Pagination
|
8. Pagination
|
||||||
9. Footer
|
9. Footer
|
||||||
10. Media Queries (Medium Desktop)
|
10. Media Queries (Tablet)
|
||||||
11. Media Queries (Tablet)
|
11. Media Queries (Mobile)
|
||||||
12. Media Queries (Mobile)
|
12. Animations
|
||||||
13. Animations
|
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"name": "Casper",
|
"name": "Casper",
|
||||||
"version": "1.1.0"
|
"version": "1.1.2"
|
||||||
}
|
}
|
||||||
|
20
page.hbs
20
page.hbs
@ -3,24 +3,30 @@
|
|||||||
{{! This is a page template. A page outputs content just like any other post, and has all the same
|
{{! This is a page template. A page outputs content just like any other post, and has all the same
|
||||||
attributes by default, but you can also customise it to behave differently if you prefer. }}
|
attributes by default, but you can also customise it to behave differently if you prefer. }}
|
||||||
|
|
||||||
<nav class="main-nav clearfix">
|
{{! Everything inside the #post tags pulls data from the page }}
|
||||||
<a class="back-button icon-arrow-left" href="{{@blog.url}}">Home</a>
|
{{#post}}
|
||||||
<a class="subscribe-button icon-feed" href="{{@blog.url}}/rss/">Subscribe</a>
|
|
||||||
</nav>
|
<header class="main-header post-head {{#if image}}" style="background-image: url({{image}}){{else}}no-cover{{/if}}">
|
||||||
|
<nav class="main-nav {{#if image}}overlay{{/if}} clearfix">
|
||||||
|
<a class="back-button icon-arrow-left" href="{{@blog.url}}">Home</a>
|
||||||
|
<a class="subscribe-button icon-feed" href="{{@blog.url}}/rss/">Subscribe</a>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
<main class="content" role="main">
|
<main class="content" role="main">
|
||||||
|
|
||||||
<article class="{{post_class}}">
|
<article class="{{post_class}}">
|
||||||
{{! Everything inside the #post tags pulls data from the post }}
|
{{! Everything inside the #post tags pulls data from the post }}
|
||||||
{{#post}}
|
|
||||||
|
|
||||||
<h1 class="post-title">{{title}}</h1>
|
<header class="post-header">
|
||||||
|
<h1 class="post-title">{{title}}</h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
<section class="post-content">
|
<section class="post-content">
|
||||||
{{content}}
|
{{content}}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
{{/post}}
|
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
|
{{/post}}
|
||||||
|
Reference in New Issue
Block a user