Skip to content

Commit e5e3b2a

Browse files
removing post image for now
1 parent ebb3e47 commit e5e3b2a

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

_layouts/home.html

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,6 @@
4444
{% for post in posts %}
4545
<a href="{{ post.url | relative_url }}" class="card-wrapper">
4646
<div class="card post-preview flex-md-row-reverse">
47-
{% if post.image %}
48-
{% if post.image.lqip %}
49-
{% capture lqip %}lqip="{{ post.image.lqip }}"{% endcapture %}
50-
{% endif %}
51-
52-
{% assign src = post.image.path | default: post.image %}
53-
{% unless src contains '//' %}
54-
{% assign src = post.img_path | append: '/' | append: src | replace: '//', '/' %}
55-
{% endunless %}
56-
57-
{% assign alt = post.image.alt | default: 'Preview Image' %}
58-
59-
<img src="{{ src }}" w="15" h="8" alt="{{ alt }}" {{ lqip }}>
60-
{% endif %}
6147

6248
<div class="card-body d-flex flex-column">
6349
<h1 class="card-title my-2 mt-md-0">

0 commit comments

Comments
 (0)