made some fixes in the docs and to the relative links with posts and news pages
This commit is contained in:
@ -16,7 +16,7 @@ folder: news
|
||||
<h2><a class="post-link" href="{{ post.url }}">{{ post.title }}</a></h2>
|
||||
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }} /
|
||||
{% for tag in post.tags %}
|
||||
<a href="{{ "/tag_" | append: {{tag}}/">{{tag}}</a>{% unless forloop.last %}, {% endunless%}
|
||||
<a href="{{ "tag_" | append: {{tag}}.html">{{tag}}</a>{% unless forloop.last %}, {% endunless%}
|
||||
{% endfor %}</span>
|
||||
<p>{% if page.summary %} {{ page.summary | strip_html | strip_newlines | truncate: 160 }} {% else %} {{ post.content | truncatewords: 50 | strip_html }} {% endif %}</p>
|
||||
|
||||
@ -24,10 +24,10 @@ folder: news
|
||||
|
||||
{% endfor %}
|
||||
|
||||
<p><a href="{{ "/feed.xml" | prepend: site.baseurl }}" class="btn btn-primary navbar-btn cursorNorm" role="button">RSS Subscribe{{tag}}</a></p>
|
||||
<p><a href="feed.xml"" class="btn btn-primary navbar-btn cursorNorm" role="button">RSS Subscribe{{tag}}</a></p>
|
||||
|
||||
<hr />
|
||||
<p>See more posts from the <a href="{{ "/news_archive/" | prepend: site.baseurl }}">News Archive</a>. </p>
|
||||
<p>See more posts from the <a href="news_archive.html">News Archive</a>. </p>
|
||||
|
||||
|
||||
</div>
|
||||
|
@ -26,7 +26,7 @@ folder: news
|
||||
<ul class="past">
|
||||
{% endif %}
|
||||
{% endunless %}
|
||||
<li><time>{{ post.date | date:"%d %b" }}</time><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></li>
|
||||
<li><time>{{ post.date | date:"%d %b" }}</time><a href="{{ post.url }}">{{ post.title }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</section>
|
||||
|
Reference in New Issue
Block a user