How to make the blog title clickable?
For my blog I would like to make the title of the post on the page clickable – for example if you click the blog heading / title of the Welcome post it takes you to the post as well / like when you click the date at the bottom of each post. I forked the template 'Blog' but not sure where I am looking to achieve this for every post going forwards?
Overall where in the 'Blog' Template do I look to make every post heading clickable on the main page of my site like the date does and what code do I need to input where in the template?
I sorted it, I just added it to the markdown title in the post, then I added
Answered 2 years ago · Edit answerYou can make this happen automatically in your template if you replace {{{html}}}
in your entries.html file with the following:
<h1><a href="{{{url}}}">{{title}}</a></h1>
{{{body}}}
Answered 2 years ago ·
Edit answer