Changeset View
Changeset View
Standalone View
Standalone View
index.html
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Lines | <div class="abc-blog-feed posts-list"> | ||||
{{ post.content_text }} | {{ post.content_text }} | ||||
</div></div> | </div></div> | ||||
<a class="post-read-more" href="{{ post.url }}">[Read More]</a> | <a class="post-read-more" href="{{ post.url }}">[Read More]</a> | ||||
</article> | </article> | ||||
{% endfor %} | {% endfor %} | ||||
{% endif %} | {% endif %} | ||||
</div> | </div> | ||||
{% assign english_posts = site.posts | where: "lang", "en" %} | |||||
{% assign first_posts = english_posts | slice: 0, site.front_page_posts %} | |||||
<div class="posts-list"> | |||||
{% for post in first_posts %} | |||||
<article class="post-preview"> | |||||
<a href="{{ post.url }}"> | |||||
<h2 class="post-title">{{ post.title }}</h2> | |||||
{% if post.subtitle %} | |||||
<h3 class="post-subtitle"> | |||||
{{ post.subtitle }} | |||||
</h3> | |||||
{% endif %} | |||||
</a> | |||||
<p class="post-meta"> | |||||
Posted on {{ post.date | date: "%B %-d, %Y" }} | |||||
</p> | |||||
<div class="post-entry-container"> | |||||
{% if post.image %} | |||||
<div class="post-image"> | |||||
<a href="{{ post.url }}"> | |||||
<img src="{{ post.image }}"> | |||||
</a> | |||||
</div> | |||||
{% endif %} | |||||
<div class="post-entry"> | |||||
{{ post.excerpt | strip_html | xml_escape | truncatewords: site.excerpt_length }} | |||||
{% assign excerpt_word_count = post.excerpt | number_of_words %} | |||||
{% if post.content != post.excerpt or excerpt_word_count > site.excerpt_length %} | |||||
<a href="{{ post.url }}" class="post-read-more">[Read More]</a> | |||||
{% endif %} | |||||
</div> | |||||
</div> | |||||
{% if post.tags.size > 0 %} | |||||
<div class="announcement-tags"> | |||||
Tags: | |||||
{% if site.link-tags %} | |||||
{% for tag in post.tags %} | |||||
<a href="{{ site.baseurl }}/tags#{{- tag -}}">{{- tag -}}</a> | |||||
{% endfor %} | |||||
{% else %} | |||||
{{ post.tags | join: ", " }} | |||||
{% endif %} | |||||
</div> | |||||
{% endif %} | |||||
</article> | |||||
{% endfor %} | |||||
</div> | |||||
<div style="font-size: 24px"> | <div style="font-size: 24px"> | ||||
<a href="/announcements/" class="post-read-more">Older Announcements</a> | <a href="/announcements/" class="post-read-more">Older Announcements</a> | ||||
</div> | </div> | ||||
<!-- 2020 fundraiser sponsor logos --> | <!-- 2020 fundraiser sponsor logos --> | ||||
<hr> | <hr> | ||||
<div id="fundraiser"> | <div id="fundraiser"> | ||||
<h2 style="font-size:42px;">Supporters</h2> | <h2 style="font-size:42px;">Supporters</h2> | ||||
Show All 11 Lines |