Browse Source

fix(portfolio): add <p> now that we use truncate

George Cushen 6 năm trước cách đây
mục cha
commit
46ef0c5c86
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      layouts/partials/portfolio_li_card.html

+ 1 - 1
layouts/partials/portfolio_li_card.html

@@ -31,7 +31,7 @@
       <h4><a href="{{ $link }}" {{ $target | safeHTMLAttr }}>{{ $item.Title | markdownify | emojify }}</a></h4>
       {{ with $summary }}
       <div class="article-style">
-        {{ . | truncate 135 }}
+        <p>{{ . | truncate 135 }}</p>
       </div>
       {{ end }}
     </div>