1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

perf(ui): improve related posts design

This commit is contained in:
Cotes Chung
2023-03-21 07:20:32 +08:00
parent 97b8dfeed6
commit 2918da9f29
9 changed files with 48 additions and 75 deletions

View File

@@ -43,7 +43,7 @@ refactor: true
<div id="post-list">
{% for post in posts %}
<a href="{{ post.url | relative_url }}" class="card-wrapper">
<div class="card flex-md-row-reverse">
<div class="card post-preview flex-md-row-reverse">
{% if post.image %}
{% if post.image.lqip %}
{% capture lqip %}lqip="{{ post.image.lqip }}"{% endcapture %}