diff options
author | Jonathan DeMasi <jonathan.demasi@colorado.edu> | 2020-05-11 19:41:41 -0600 |
---|---|---|
committer | Jonathan DeMasi <jonathan.demasi@colorado.edu> | 2020-05-11 19:41:41 -0600 |
commit | 20ada13402eefc2b22a9759148150a6e427e1ccb (patch) | |
tree | d29c0504a6ef101612c545d80da0cf9eab235ac1 /blog | |
parent | 845adb6ea5df004095943c342728da2d9ce48ed4 (diff) | |
download | jthanio-20ada13402eefc2b22a9759148150a6e427e1ccb.tar jthanio-20ada13402eefc2b22a9759148150a6e427e1ccb.tar.gz jthanio-20ada13402eefc2b22a9759148150a6e427e1ccb.tar.bz2 jthanio-20ada13402eefc2b22a9759148150a6e427e1ccb.tar.lz jthanio-20ada13402eefc2b22a9759148150a6e427e1ccb.tar.xz jthanio-20ada13402eefc2b22a9759148150a6e427e1ccb.tar.zst jthanio-20ada13402eefc2b22a9759148150a6e427e1ccb.zip |
changed formatting of post index so title is clickable for amayer
Diffstat (limited to 'blog')
-rw-r--r-- | blog/templates/blog/blog_index_page.html | 3 | ||||
-rw-r--r-- | blog/templates/blog/blog_tag_index_page.html | 3 |
2 files changed, 2 insertions, 4 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 }} |