Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move to Loop partial for post display
- Loading branch information
1 parent
25999ba
commit 71e4952
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{{!< default}} | ||
|
||
{{#if @blog.cover}} | ||
<div class="page-scroll"> | ||
{{/if}} | ||
{{#if @blog.logo}} | ||
<img class="header-logo blog-logo" src="{{@blog.logo}}" alt="Blog Logo"> | ||
{{/if}} | ||
<div class="site-main"> | ||
|
||
<header class="site-header"> | ||
{{#if @blog.title}}<h1 class="blog-title">{{@blog.title}}</h1>{{/if}} | ||
{{#if @blog.description}}<h2 class="blog-description">{{@blog.description}}</h2>{{/if}} | ||
|
||
{{navigation}} | ||
</header> | ||
|
||
{{! The main content area on the homepage }} | ||
<main class="site-content" role="main"> | ||
|
||
{{! The tag below includes the post loop - partials/loop.hbs }} | ||
{{> "loop"}} | ||
|
||
</main> |