Add more base theme files
This commit is contained in:
44
index.hbs
44
index.hbs
@@ -1,2 +1,46 @@
|
||||
{{!< default}}
|
||||
|
||||
<div class="ptheme-index-header_main unselectable" id="vantajs">
|
||||
<h1>{{@site.title}}</h1>
|
||||
</div>
|
||||
|
||||
|
||||
<main>
|
||||
|
||||
<div>
|
||||
|
||||
{{!-- Looping through every post --}}
|
||||
{{#foreach posts}}
|
||||
<article>
|
||||
<a href="{{url}}">
|
||||
|
||||
{{#if feature_image}}
|
||||
<img src="{{img_url feature_image size="m"}}" alt="{{title}}"/>
|
||||
{{/if}}
|
||||
|
||||
<header >
|
||||
<p><span>{{primary_tag.name}}</span>
|
||||
•
|
||||
<time datetime="{{date published_at format='YYYY-MM-DD'}}">{{date published_at format="DD MMMM YYYY"}}</time>
|
||||
</p>
|
||||
<h3>{{title}}</h3>
|
||||
</header>
|
||||
|
||||
<section>
|
||||
<p>{{excerpt words="26"}}</p>
|
||||
</section>
|
||||
|
||||
<footer>
|
||||
{{primary_author.name}}
|
||||
{{#if primary_author.profile_image}}
|
||||
<img src="{{img_url primary_author.profile_image size="xxs"}}"
|
||||
alt="{{title}}"/>{{/if}}
|
||||
</footer>
|
||||
</a>
|
||||
</article>
|
||||
|
||||
{{/foreach}}
|
||||
|
||||
</div>
|
||||
|
||||
</main>
|
||||
Reference in New Issue
Block a user