Last active
December 19, 2015 18:09
-
-
Save rwboyer/5996772 to your computer and use it in GitHub Desktop.
clip from code that now does extremely strange things in Jekyll 1.1.0. It re-wraps what should be just article content through the entire layout chain over again so you end up with a site within a site - or a list of sites within sites... Maybe I am doing something way nuts and just don't see it but worked find up through 1.0.3
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
| <div class="entry-content">{{ content | excerpt }}</div> | |
| {% capture excerpted %}{{ content | has_excerpt }}{% endcapture %} | |
| {% if excerpted == 'true' %} | |
| <footer> | |
| <a rel="full-article" href="{{ root_url }}{{ post.url }}">{{ site.excerpt_link }}</a> | |
| </footer> | |
| {% endif %} | |
| {% else %} | |
| <div class="entry-content">{{ content }}</div> | |
| {% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment