We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d347b48 commit ec66323Copy full SHA for ec66323
_layouts/home.html
@@ -25,6 +25,11 @@ <h1>recent articles</h1>
25
{% else %}
26
{{ post.date | date: "%b %-d, %Y" }}
27
{% endif %}
28
+ {% if site.show_excerpts == true %}
29
+ <div class="post-excerpt">
30
+ {{ post.content | strip_html | truncatewords: 50 }}
31
+ </div>
32
+ {% endif %}
33
</div>
34
35
{% endfor %}
assets/css/style.scss
@@ -3,3 +3,9 @@
3
---
4
5
@import "dash";
6
+
7
+.post-excerpt {
8
+ @include themed() {
9
+ color: t('foreground-color');
10
+ }
11
+}
0 commit comments