hacks-guide-minimal-mistake.../_layouts/home.html

56 lines
1.6 KiB
HTML
Raw Normal View History

2013-05-24 16:25:31 +02:00
<!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>
2013-12-09 15:16:56 +01:00
{% include _head.html %}
2013-05-24 16:25:31 +02:00
</head>
<body class="home">
2013-05-24 16:25:31 +02:00
2013-12-09 15:16:56 +01:00
{% include _browser-upgrade.html %}
2013-05-24 16:25:31 +02:00
2013-12-09 15:16:56 +01:00
{% include _navigation.html %}
2013-05-24 16:25:31 +02:00
2014-03-11 00:42:54 +01:00
{% 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 %}
2013-05-24 16:25:31 +02:00
<div class="article-author-side">
2013-12-09 15:16:56 +01:00
{% include _author-bio.html %}
2013-05-24 16:25:31 +02:00
</div>
<div id="index">
2013-12-09 15:00:39 +01:00
<h3><a href="{{ site.url}}/articles/">Articles</a></h3>
{% for post in site.posts limit:5 %}
<article>
<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>
2013-05-24 16:25:31 +02:00
</article>
{% endfor %}
</div><!-- /#index -->
<div class="footer-wrap">
<footer>
2013-12-09 15:16:56 +01:00
{% include _footer.html %}
2013-05-24 16:25:31 +02:00
</footer>
</div><!-- /.footer-wrap -->
2013-12-09 15:16:56 +01:00
{% include _scripts.html %}
2013-05-24 16:25:31 +02:00
</body>
</html>