diff --git a/config.yml b/config.yml index 7f3388a..3e7a345 100644 --- a/config.yml +++ b/config.yml @@ -4,6 +4,7 @@ title: TheOrangeOne params: author: TheOrangeOne + summary_length: 100 staticDir: "static/build" diff --git a/layouts/partials/box.html b/layouts/partials/box.html index 6defab3..b5ec215 100644 --- a/layouts/partials/box.html +++ b/layouts/partials/box.html @@ -1,10 +1,7 @@
{{ .Summary }}
+{{ .Summary | truncate .Site.Params.summary_length "..." }}