69 lines
No EOL
2.2 KiB
HTML
69 lines
No EOL
2.2 KiB
HTML
<!doctype html>
|
|
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
|
|
<!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]-->
|
|
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
|
|
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<![endif]-->
|
|
<head>
|
|
{% include _head.html %}
|
|
</head>
|
|
|
|
<body class="post-index">
|
|
|
|
{% include _browser-upgrade.html %}
|
|
|
|
{% include _navigation.html %}
|
|
|
|
{% if page.image.feature %}
|
|
<div class="image-wrap">
|
|
<img src=
|
|
{% if page.image.feature contains 'http://' %}
|
|
"{{ page.image.feature }}"
|
|
{% elsif page.image.feature contains 'https://' %}
|
|
"{{ page.image.feature }}"
|
|
{% else %}
|
|
"{{ site.url }}/images/{{ page.image.feature }}"
|
|
{% endif %}
|
|
alt="{{ page.title }} feature image">
|
|
{% if page.image.credit %}
|
|
<span class="image-credit">Photo Credit: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a></span>
|
|
{% endif %}
|
|
</div><!-- /.image-wrap -->
|
|
{% endif %}
|
|
|
|
<div class="article-author-side">
|
|
{% include _author-bio.html %}
|
|
</div>
|
|
|
|
<div id="index">
|
|
<h1>{{ page.title }}</h1>
|
|
{% for post in site.posts %}
|
|
{% unless post.next %}
|
|
<h3>{{ post.date | date: '%Y' }}</h3>
|
|
{% else %}
|
|
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
|
|
{% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %}
|
|
{% if year != nyear %}
|
|
<h3>{{ post.date | date: '%Y' }}</h3>
|
|
{% endif %}
|
|
{% endunless %}
|
|
<article>
|
|
{% if post.link %}
|
|
<h2 class="link-post"><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a> <a href="{{ post.link }}" target="_blank" title="{{ post.title }}"><i class="fa fa-link"></i></h2>
|
|
{% else %}
|
|
<h2><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></h2>
|
|
<p>{% if post.description %}{{ post.description }}{% else %}{{ post.content | strip_html | strip_newlines | truncate: 120 }}{% endif %}</p>
|
|
{% endif %}
|
|
</article>
|
|
{% endfor %}
|
|
</div><!-- /#index -->
|
|
|
|
<div class="footer-wrap">
|
|
<footer>
|
|
{% include _footer.html %}
|
|
</footer>
|
|
</div><!-- /.footer-wrap -->
|
|
|
|
{% include _scripts.html %}
|
|
|
|
</body>
|
|
</html> |