v0.1.1 테마 구성 및 레이아웃 수정
This commit is contained in:
24
page.hbs
Normal file
24
page.hbs
Normal file
@@ -0,0 +1,24 @@
|
||||
{{!< default}}
|
||||
|
||||
{{#post}}
|
||||
<main class="content-area content-area--post">
|
||||
<article class="post-template page-template {{post_class}}">
|
||||
{{#match @page.show_title_and_feature_image}}
|
||||
<header class="post-header">
|
||||
<h1 class="post-title">{{title}}</h1>
|
||||
{{#if custom_excerpt}}
|
||||
<p class="section-description">{{custom_excerpt}}</p>
|
||||
{{/if}}
|
||||
{{#if feature_image}}
|
||||
<figure class="post-feature-image">
|
||||
<img src="{{img_url feature_image size="l"}}" alt="{{title}}">
|
||||
</figure>
|
||||
{{/if}}
|
||||
</header>
|
||||
{{/match}}
|
||||
<section class="post-content kg-content">
|
||||
{{content}}
|
||||
</section>
|
||||
</article>
|
||||
</main>
|
||||
{{/post}}
|
||||
Reference in New Issue
Block a user