summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan DeMasi <jonathan.demasi@colorado.edu>2020-05-12 11:54:10 -0600
committerJonathan DeMasi <jonathan.demasi@colorado.edu>2020-05-12 11:54:10 -0600
commit2825774d6cf24421cc192ecf4d8c69cb0c76ad34 (patch)
tree5183a25d30ea0c7d46b16e7c5736d631ee04cd15
parent20ada13402eefc2b22a9759148150a6e427e1ccb (diff)
downloadjthanio-2825774d6cf24421cc192ecf4d8c69cb0c76ad34.tar
jthanio-2825774d6cf24421cc192ecf4d8c69cb0c76ad34.tar.gz
jthanio-2825774d6cf24421cc192ecf4d8c69cb0c76ad34.tar.bz2
jthanio-2825774d6cf24421cc192ecf4d8c69cb0c76ad34.tar.lz
jthanio-2825774d6cf24421cc192ecf4d8c69cb0c76ad34.tar.xz
jthanio-2825774d6cf24421cc192ecf4d8c69cb0c76ad34.tar.zst
jthanio-2825774d6cf24421cc192ecf4d8c69cb0c76ad34.zip
adding some visual changes that are... marginally better
-rw-r--r--blog/templates/blog/blog_index_page.html3
-rw-r--r--blog/templates/blog/blog_post.html3
-rw-r--r--blog/templates/blog/blog_tag_index_page.html5
-rw-r--r--search/templates/search/search.html5
4 files changed, 10 insertions, 6 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 &rarr;</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">&larr; 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 &rarr;</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">&larr; Return to previous page</a></p>
</div>
{# Sidebar Widgets Column #}
<div class="col-md-4">
diff --git a/search/templates/search/search.html b/search/templates/search/search.html
index eb34ec8..22c2a85 100644
--- a/search/templates/search/search.html
+++ b/search/templates/search/search.html
@@ -17,8 +17,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 &rarr;</a>
</div>
<div class="card-footer text-muted">
Posted on {{ post.date }}
@@ -30,7 +31,7 @@
<h1 class="my-4">No results found</h1>
{% endif %}
{# end of results #}
- <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">&larr; Return to previous page</a></p>
</div>
{# Sidebar Widgets Column #}
<div class="col-md-4">