Added script to make list of headers

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.
This commit is contained in:
Lorenzo Dellacà
2020-11-05 16:14:13 +01:00
parent 84f9eadd3b
commit 83302f7cc3
7 changed files with 93 additions and 43 deletions

View File

@@ -10,9 +10,9 @@
<main>
<div class="mind-content_main">
<div> {{!-- Keeping this div to have the same structure as the post.hbs, even though not necessary --}}
<div class="mind-post_central-column">
{{#post}}
<div class="mind-post_content">
<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}}