fix minor stuff, rename some CSS classes
This commit is contained in:
18
index.hbs
18
index.hbs
@@ -1,27 +1,27 @@
|
||||
{{!< default}}
|
||||
|
||||
<div class="mind-site-title unselectable" id="vantajs">
|
||||
<h1>{{@site.title}}</h1>
|
||||
<i class="arrow-down"></i>
|
||||
</div>
|
||||
<div class="mind-site-title unselectable" id="vantajs">
|
||||
<h1>{{@site.title}}</h1>
|
||||
<i class="arrow-down"></i>
|
||||
</div>
|
||||
|
||||
|
||||
<main class="mind-index">
|
||||
<main>
|
||||
<h2>Last posts</h2>
|
||||
<div class="mind-feed">
|
||||
<div class="mind-feed_main">
|
||||
|
||||
<!-- Looping through every post -->
|
||||
{{#foreach posts}}
|
||||
<article class="{{post_class}}">
|
||||
<a class="post-card" href="{{url}}">
|
||||
<header class="post-header">
|
||||
<a class="post-card_main" href="{{url}}">
|
||||
<header class="post-card_header">
|
||||
<img class="post-card_feature-image" src="{{feature_image}}" />
|
||||
<h3>{{title}}</h3>
|
||||
</header>
|
||||
<section class="post-excerpt">
|
||||
<p>{{excerpt words="26"}}</p>
|
||||
</section>
|
||||
<footer class="post-meta">
|
||||
<footer class="post-card_footer">
|
||||
{{primary_author.name}}
|
||||
{{#if primary_author.profile_image}}<img class="post-card_profile-image" src="{{primary_author.profile_image}}" alt="Author image" />{{/if}}
|
||||
</footer>
|
||||
|
||||
Reference in New Issue
Block a user