Browse Source

Add dots to end of concatenated summaries

restructure
Garrit Franke 4 years ago
parent
commit
0f5055529d
  1. 2
      components/BlogList.js

2
components/BlogList.js

@ -7,7 +7,7 @@ function reformatDate(fullDate) {
}
function truncateSummary(content) {
return content.slice(0, 200).trimEnd();
return content.slice(0, 200).trimEnd() + "...";
}
const BlogList = ({ posts }) => {

Loading…
Cancel
Save