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

46 lines
1.8 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>
{% include head.html %}
</head>
2013-05-29 14:24:26 +02:00
<body class="home" itemscope itemtype="http://schema.org/WebPage">
2013-05-24 16:25:31 +02:00
2013-09-07 15:25:00 +02:00
{% include browser-upgrade.html %}
2013-05-24 16:25:31 +02:00
{% include navigation.html %}
{% if page.image.feature %}<div class="image-wrap">
<img src="{{ site.url }}/images/{{ page.image.feature }}" alt="{{ page.title }} feature image" itemprop="primaryImageOfPage">
{% 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-top">
{% include author-bio.html %}
</div>
2013-05-29 14:43:05 +02:00
<div id="index" itemprop="mainContentOfPage" itemscope itemtype="http://schema.org/Blog">
<a href="{{ site.url}}/articles" class="btn btn-small pull-right">View all articles</a>
2013-05-24 16:25:31 +02:00
<h3>Latest Articles</h3>
<hr />
2013-05-24 20:22:29 +02:00
{% for post in site.categories.articles limit:5 %}
2013-05-29 14:43:05 +02:00
<article itemscope itemtype="http://schema.org/BlogPosting" itemprop="blogPost">
<h2 itemprop="headline"><a href="{{ site.url }}{{ post.url }}" rel="bookmark" title="{{ post.title }}">{{ post.title }}</a></h2>
<p itemprop="text">{% 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>
{% include footer.html %}
</footer>
</div><!-- /.footer-wrap -->
{% include scripts.html %}
</body>
</html>