summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--blog/templates/blog/blog_index_page.html3
-rw-r--r--blog/templates/blog/blog_tag_index_page.html3
-rw-r--r--search/templates/search/search.html3
3 files changed, 3 insertions, 6 deletions
diff --git a/blog/templates/blog/blog_index_page.html b/blog/templates/blog/blog_index_page.html
index 355dafd..8bc110d 100644
--- a/blog/templates/blog/blog_index_page.html
+++ b/blog/templates/blog/blog_index_page.html
@@ -24,9 +24,8 @@
{% image post.main_image fill-750x300-c100 class="card-img-top" %}
{% endif %}
<div class="card-body">
- <h2 class="card-title">{{ post.title }}</h2>
+ <a href="{% pageurl post %}"><h2 class="card-title">{{ post.title }}</h2></a>
<p class="card-text">{{ post.intro }}</p>
- <a href="{% pageurl post %}">Read Post</a>
</div>
<div class="card-footer text-muted">
Posted on {{ post.date }}
diff --git a/blog/templates/blog/blog_tag_index_page.html b/blog/templates/blog/blog_tag_index_page.html
index 9a3ac8a..980c57d 100644
--- a/blog/templates/blog/blog_tag_index_page.html
+++ b/blog/templates/blog/blog_tag_index_page.html
@@ -14,9 +14,8 @@
{# Blog Post #}
<div class="card mb-4">
<div class="card-body">
- <h2 class="card-title">{{ post.title }}</h2>
+ <a href="{% pageurl post %}"><h2 class="card-title">{{ post.title }}</h2></a>
<p class="card-text">{{ post.intro }}</p>
- <a href="{% pageurl post %}">Read Post</a>
</div>
<div class="card-footer text-muted">
Posted on {{ post.date }}
diff --git a/search/templates/search/search.html b/search/templates/search/search.html
index e5f5ab2..eb34ec8 100644
--- a/search/templates/search/search.html
+++ b/search/templates/search/search.html
@@ -17,9 +17,8 @@
{# Blog Post #}
<div class="card mb-4">
<div class="card-body">
- <h2 class="card-title">{{ post.title }}</h2>
+ <a href="{% pageurl post %}"><h2 class="card-title">{{ post.title }}</h2></a>
<p class="card-text">{{ post.intro }}</p>
- <a href="{% pageurl post %}">Read Post</a>
</div>
<div class="card-footer text-muted">
Posted on {{ post.date }}