made some fixes in the docs and to the relative links with posts and news pages

This commit is contained in:
tomjohnson1492
2016-07-10 15:29:15 -07:00
parent 7a4516772a
commit 646a115376
28 changed files with 6818 additions and 6737 deletions

View File

@ -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>

View File

@ -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>