mirror of
https://github.com/WatchOutNewsAgency/wona.github.com.git
synced 2026-01-01 01:16:26 +00:00
1. Added condition to full_url filter to allow it to be used as a root_url appending filter for remapping root "/" urls when octopress is deployed to a subdirectory. Updated _includes/article and _layouts/page to use the filter
2. Added documentation for the include_code plugin
This commit is contained in:
@ -11,10 +11,10 @@
|
||||
</header>
|
||||
{% endunless %}
|
||||
{% if index %}
|
||||
<div class="entry-content">{{ content | exerpt | smart_quotes }}</div>
|
||||
<div class="entry-content">{{ content | full_urls: site.root | exerpt | smart_quotes }}</div>
|
||||
<footer>
|
||||
<a rel="full-article" href="{{ site.root }}{{ post.url }}">Read on →</a>
|
||||
</footer>
|
||||
{% else %}
|
||||
<div class="entry-content">{{ content | smart_quotes }}</div>
|
||||
<div class="entry-content">{{ content | full_urls: site.root | smart_quotes }}</div>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user