fix minor stuff, rename some CSS classes

This commit is contained in:
Lorenzo Dellacà
2020-08-13 15:41:45 +02:00
parent 3b02a75451
commit 25b37da7ce
5 changed files with 70 additions and 43 deletions

View File

@@ -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>