We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9e6af9 commit af426e4Copy full SHA for af426e4
_includes/blog-post-card.html
@@ -1,6 +1,6 @@
1
<div class="well">
2
<div class="post-content">
3
- <h3>{{ post.title }}</h3>
+ <h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
4
<p>
5
{% if post.author %}
6
{% for author_name in post.author %}
@@ -32,17 +32,12 @@ <h3>{{ post.title }}</h3>
32
</p>
33
{% endif %}
34
35
- <p>
36
- <button class="btn btn-primary" onclick="window.location.href='{{ post.url }}'">Read More</button>
37
- </p>
38
</div>
39
{% if post.banner_image %}
40
<div class="thumbnail-container">
41
- <img
42
- src="{{ post.banner_image }}"
43
- alt="Post Thumbnail"
44
- class="thumbnail-image"
45
- />
+ <a href="{{ post.url }}">
+ <img src="{{ post.banner_image }}" alt="Post Thumbnail" class="thumbnail-image" />
+ </a>
46
47
48
0 commit comments