added a div element to prevent the whole left side of a post to be a link
This commit is contained in:
parent
ec86734ea1
commit
c7ad153adf
4 changed files with 10 additions and 4 deletions
|
@ -17,7 +17,9 @@
|
|||
<p style="text-align: right"><a href="/">Home</a> <a href="/blog">Last 5 Posts</a> <a href="/blog/all">All Posts</a></p>
|
||||
<ul>
|
||||
<article>
|
||||
<a href="/blog/id/{{ post.id }}" class="post-link">[link]</a>
|
||||
<div>
|
||||
<a href="/blog/id/{{ post.id }}" class="post-link">[link]</a>
|
||||
</div>
|
||||
<div class="post-content">
|
||||
<h2 class="post-title">{{ post.title }}</h2>
|
||||
<sub class="post-publish-date"> {{ post.publish_date | date(format="%Y-%m-%d at %H:%M") }}</sub>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue