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

70 lines
1.8 KiB
HTML
Raw Normal View History

---
layout: compress
---
2016-02-23 03:22:07 +01:00
{% include absolute-url.liquid %}
2016-02-22 22:46:49 +01:00
<!DOCTYPE html>
<html lang="{{ site.locale | slice: 0,2 }}">
2016-02-23 03:22:07 +01:00
<head>
{% include head.html %}
</head>
2016-02-23 03:44:55 +01:00
<body>
2016-02-23 03:22:07 +01:00
{% include browser-upgrade.html %}
{% include navigation.html %}
{% if page.header.image %}
2016-02-23 03:22:07 +01:00
<div class="image-wrap">
<img src=
{% if page.header.image contains "http" %}
"{{ page.header.image }}"
{% else %}
"{{ page.header.image | prepend: "/images/" | prepend: absurl }}"
{% endif %}
alt="{{ page.title }}">
{% if page.header.caption %}
<span class="image-caption">{{ page.header.caption | markdownify | remove: "<p>" | remove: "</p>" }}</span>
2016-02-23 03:22:07 +01:00
{% endif %}
</div><!-- /.image-wrap -->
2016-02-22 22:46:49 +01:00
{% endif %}
{% if site.breadcrumbs %}
{% include breadcrumbs.html %}
{% endif %}
2016-02-23 03:22:07 +01:00
<div id="main" role="main">
<div class="sidebar">
{% if page.author_profile %}{% include author-profile.html %}{% endif %}
{% if page.sidebar %}
{% for s in page.sidebar %}
{% if s.image %}
<img src=
{% if s.image contains "http" %}
"{{ s.image }}"
{% else %}
"{{ s.image | prepend: "/images/" | prepend: absurl }}"
{% endif %}
alt="{% if s.image_alt %}{{ s.image_alt }}{% endif %}">
{% endif %}
{% if s.title %}<h3>{{ s.title }}</h3>{% endif %}
{% if s.text %}{{ s.text | markdownify }}{% endif %}
{% endfor %}
{% endif %}
{% unless page.author_profile or page.sidebar %}&nbsp;{% endunless %}
2016-02-23 03:22:07 +01:00
</div>
{{ content }}
</div><!-- /#main -->
2016-02-22 22:46:49 +01:00
2016-02-23 03:22:07 +01:00
<div class="footer-wrap">
<footer>
{% include footer.html %}
</footer>
</div><!-- /.footer-wrap -->
2016-02-22 22:46:49 +01:00
2016-02-23 03:22:07 +01:00
{% include scripts.html %}
2016-02-22 22:46:49 +01:00
2016-02-23 03:22:07 +01:00
</body>
2016-02-22 22:46:49 +01:00
</html>