43 lines
1.3 KiB
Handlebars
43 lines
1.3 KiB
Handlebars
{{!< default}}
|
|
|
|
<div class="blog-intro">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-md-7 col-lg-5 ml-auto mr-auto text-center">
|
|
<h1>{{@site.title}}</h1>
|
|
<p class="p-large">{{@site.description}}</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{{!-- The main content area --}}
|
|
<main id="content" role="main">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-xl-10 col-md-12 ml-auto mr-auto">
|
|
{{#is "home"}}
|
|
<div class="loop loop-first">
|
|
{{#get "posts" include="tags,authors" limit="1"}}
|
|
{{#foreach posts}}
|
|
{{> "loop"}}
|
|
{{/foreach}}
|
|
{{/get}}
|
|
</div>
|
|
{{/is}}
|
|
<div class="loop loop-grid">
|
|
{{#foreach posts}}
|
|
{{#is "home"}}
|
|
{{^if @first}}
|
|
{{> "loop"}}
|
|
{{/if}}
|
|
{{else}}
|
|
{{> "loop"}}
|
|
{{/is}}
|
|
{{/foreach}}
|
|
</div>
|
|
{{pagination}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</main> |