implement posts style, to be completed
change font add secondary navigation to homepage
This commit is contained in:
31
post.hbs
31
post.hbs
@@ -1,13 +1,38 @@
|
||||
{{!< default}}
|
||||
{{#post}}
|
||||
<div class="mind-fullscreen-title unselectable">
|
||||
<div class="mind-page-title unselectable">
|
||||
<h1>{{title}}</h1>
|
||||
<i class="arrow-down"></i>
|
||||
</div>
|
||||
|
||||
<main>
|
||||
<div class="mind-content">
|
||||
{{content}}
|
||||
<div class="mind-content_main">
|
||||
<div class="mind-post_main">
|
||||
<div class="mind-post_sidebar"></div>
|
||||
<div class="mind-post_content">
|
||||
<div class="mind-post_header">
|
||||
<img class="mind-post_feature-image" src="{{img_url feature_image}}"/>
|
||||
</div>
|
||||
{{content}}
|
||||
</div>
|
||||
<div class="mind-post_sidebar">
|
||||
{{#get "posts" limit="5"}}
|
||||
<h3>You may also like</h3>
|
||||
{{#foreach posts}}
|
||||
<article class="{{post_class}}">
|
||||
<a class="post-card-sidebar_main" href="{{url}}">
|
||||
<header>
|
||||
<img class="post-card-sidebar_feature-image" src="{{img_url feature_image size="s"}}" />
|
||||
<h4>{{title}}</h4>
|
||||
</header>
|
||||
</a>
|
||||
</article>
|
||||
{{/foreach}}
|
||||
{{else}}
|
||||
<h2>No similar posts.</h2>
|
||||
{{/get}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
{{/post}}
|
||||
|
||||
Reference in New Issue
Block a user