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

62 lines
1.9 KiB
HTML
Raw Normal View History

2016-02-22 22:16:15 +01:00
{% capture absurl %}{{ site.url }}{{ site.baseurl }}{% endcapture %}
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>
2016-02-22 20:58:16 +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
2016-02-22 20:58:16 +01:00
{% include browser-upgrade.html %}
2013-05-24 16:25:31 +02:00
2016-02-22 20:58:16 +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' %}
2014-03-11 00:42:54 +01:00
"{{ page.image.feature }}"
{% else %}
2016-02-22 22:16:15 +01:00
"{{ page.image.feature | prepend: "/images/" | prepend: absurl }}"
2014-03-11 00:42:54 +01:00
{% 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
2015-04-17 12:43:36 +02:00
<div id="main" role="main">
<div class="article-author-side">
2016-02-22 20:58:16 +01:00
{% include author-bio.html %}
</div>
<div id="index">
2016-02-22 22:16:15 +01:00
<h3><a href="{{ absurl }}/posts/">Recent Posts</a></h3>
2015-04-17 12:43:36 +02:00
{% for post in site.posts limit:5 %}
<article>
{% if post.link %}
2016-02-22 22:16:15 +01:00
<h2 class="link-post"><a href="{{ absurl }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a> <a href="{{ post.link }}" target="_blank" title="{{ post.title }}"><i class="fa fa-link"></i></a></h2>
{% else %}
2016-02-22 22:16:15 +01:00
<h2><a href="{{ absurl }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></h2>
<p>{{ post.excerpt | strip_html | truncate: 160 }}</p>
{% endif %}
</article>
{% endfor %}
</div><!-- /#index -->
</div><!-- /#main -->
2013-05-24 16:25:31 +02:00
<div class="footer-wrap">
<footer>
2016-02-22 20:58:16 +01:00
{% include footer.html %}
2013-05-24 16:25:31 +02:00
</footer>
</div><!-- /.footer-wrap -->
2016-02-22 20:58:16 +01:00
{% include scripts.html %}
2015-04-17 12:43:36 +02:00
2013-05-24 16:25:31 +02:00
</body>
2014-04-12 05:55:30 +02:00
</html>