hacks-guide-minimal-mistake.../_layouts/default.html
Michael Rose 338d06673c Add compress.html layout
- Update config
- Remove problematic inline JS comments
2016-02-22 22:03:47 -05:00

49 lines
1.1 KiB
HTML

---
layout: compress
---
{% include absolute-url.liquid %}
<!DOCTYPE html>
<html lang="{{ site.locale | slice: 0,2 }}">
<head>
{% include head.html %}
</head>
<body>
{% 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 }}"
{% else %}
"{{ page.image.feature | prepend: "/images/" | prepend: absurl }}"
{% endif %}
alt="{{ page.title }}">
{% 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 id="main" role="main">
<div class="author-profile">
{% include author-profile.html %}
</div>
{{ content }}
</div><!-- /#main -->
<div class="footer-wrap">
<footer>
{% include footer.html %}
</footer>
</div><!-- /.footer-wrap -->
{% include scripts.html %}
</body>
</html>