summaryrefslogtreecommitdiff
path: root/_includes/functions/get_article_excerpt.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/functions/get_article_excerpt.html')
-rw-r--r--_includes/functions/get_article_excerpt.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/_includes/functions/get_article_excerpt.html b/_includes/functions/get_article_excerpt.html
index 73793fd..2868b8d 100644
--- a/_includes/functions/get_article_excerpt.html
+++ b/_includes/functions/get_article_excerpt.html
@@ -11,7 +11,9 @@
{% if include.params.excerpt_size %}
{% assign excerpt_size = include.params.excerpt_size %}
{% else %}
- {% assign excerpt_size = excerpt_size | default: 800 %}
+ {% assign excerpt_size = excerpt_size
+ | default: site.excerpt_size
+ | default: 350 %}
{% endif %}
{%- include functions.html func='get_article_words' -%}