Created
August 24, 2017 13:13
-
-
Save petkovicm/62d886a3f296cc6d1e15a12e26f3b961 to your computer and use it in GitHub Desktop.
fix read-more in index.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {% if post.content contains '<!--more-->' %} | |
| {{ post.content | split:'<!--more-->' | first }} | |
| {% else %} | |
| <!-- Case for when no excerpt is defined --> | |
| {% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment