diff options
Diffstat (limited to 'blog/templates/blog')
-rw-r--r-- | blog/templates/blog/blog_index_page.html | 3 | ||||
-rw-r--r-- | blog/templates/blog/blog_post.html | 3 | ||||
-rw-r--r-- | blog/templates/blog/blog_tag_index_page.html | 5 |
3 files changed, 7 insertions, 4 deletions
diff --git a/blog/templates/blog/blog_index_page.html b/blog/templates/blog/blog_index_page.html index 8bc110d..f145cde 100644 --- a/blog/templates/blog/blog_index_page.html +++ b/blog/templates/blog/blog_index_page.html @@ -24,8 +24,9 @@ {% image post.main_image fill-750x300-c100 class="card-img-top" %} {% endif %} <div class="card-body"> - <a href="{% pageurl post %}"><h2 class="card-title">{{ post.title }}</h2></a> + <h2 class="card-title">{{ post.title }}</h2> <p class="card-text">{{ post.intro }}</p> + <a href="{% pageurl post %}" class="btn btn-primary btn-sm">Read Post →</a> </div> <div class="card-footer text-muted"> Posted on {{ post.date }} diff --git a/blog/templates/blog/blog_post.html b/blog/templates/blog/blog_post.html index 32a3f1b..5324e2c 100644 --- a/blog/templates/blog/blog_post.html +++ b/blog/templates/blog/blog_post.html @@ -63,6 +63,7 @@ </div> </div> - <p><a href="{{ request.META.HTTP_REFERER }}">Return to previous page</a></p> + <p><br><a href="{{ request.META.HTTP_REFERER }}" class="btn btn-primary btn-sm">← Return to previous page</a></p> + </div> {% endblock %} diff --git a/blog/templates/blog/blog_tag_index_page.html b/blog/templates/blog/blog_tag_index_page.html index 980c57d..5f0eb13 100644 --- a/blog/templates/blog/blog_tag_index_page.html +++ b/blog/templates/blog/blog_tag_index_page.html @@ -14,8 +14,9 @@ {# Blog Post #} <div class="card mb-4"> <div class="card-body"> - <a href="{% pageurl post %}"><h2 class="card-title">{{ post.title }}</h2></a> + <h2 class="card-title">{{ post.title }}</h2> <p class="card-text">{{ post.intro }}</p> + <a href="{% pageurl post %}" class="btn btn-primary btn-sm">Read Post →</a> </div> <div class="card-footer text-muted"> Posted on {{ post.date }} @@ -26,7 +27,7 @@ {% else %} <h1 class="my-4">No pages with tag {{request.GET.tag }} available</h1> {% endif %} - <p><a href="{{ request.META.HTTP_REFERER }}">Return to previous page</a></p> + <p><br><a href="{{ request.META.HTTP_REFERER }}" class="btn btn-primary btn-sm">← Return to previous page</a></p> </div> {# Sidebar Widgets Column #} <div class="col-md-4"> |