Lorenzo DellacĂ
83302f7cc3
Added a new script with the purpose of getting all headers from a post's content and creating links for them in the left sidebar. Some div classes have been modified, and a wrapper div has been added to posts because of this new script. Some minor CSS changes have been made.
28 lines
829 B
Handlebars
28 lines
829 B
Handlebars
{{!< default}}
|
|
<div class="mind-post-header unselectable">
|
|
{{#post}}
|
|
<div>
|
|
<h1>{{title}}</h1>
|
|
</div>
|
|
{{/post}}
|
|
<i class="mind-global-header_arrow-down mind-global-header_arrow-down-mid"></i>
|
|
</div>
|
|
|
|
<main>
|
|
<div class="mind-content_main">
|
|
<div class="mind-post_central-column">
|
|
{{#post}}
|
|
<div class="mind-post_content"> {{!-- Keeping this div to have the same structure as the post.hbs, even though not necessary --}}
|
|
<div class="mind-post_content-header">
|
|
|
|
{{#if feature_image}}
|
|
<img class="mind-post_feature-image" src="{{img_url feature_image size="l"}}" alt="Feature Image"/>
|
|
{{/if}}
|
|
</div>
|
|
{{content}}
|
|
</div>
|
|
{{/post}}
|
|
</div>
|
|
</div>
|
|
</main>
|