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

71 lines
1.9 KiB
HTML
Raw Normal View History

---
layout: compress
---
{% include base_path %}
2016-02-22 22:46:49 +01:00
<!DOCTYPE html>
<html lang="{{ site.locale | slice: 0,2 }}" class="no-js">
2016-02-23 03:22:07 +01:00
<head>
{% include head.html %}
{% include head/custom.html %}
2016-02-23 03:22:07 +01:00
</head>
2016-02-23 03:44:55 +01:00
<body>
2016-02-23 03:22:07 +01:00
{% include browser-upgrade.html %}
{% include masthead.html %}
2016-02-23 03:22:07 +01:00
{% if page.header.image %}
2016-03-10 19:06:59 +01:00
<div class="page__hero">
<img src=
{% if page.header.image contains "http" %}
"{{ page.header.image }}"
{% else %}
"{{ page.header.image | prepend: "/images/" | prepend: base_path }}"
{% endif %}
2016-03-10 19:06:59 +01:00
alt="{{ page.title }}" class="page__hero-image">
{% if page.header.caption %}
2016-03-10 19:06:59 +01:00
<span class="page__hero-caption">{{ page.header.caption | markdownify | remove: "<p>" | remove: "</p>" }}</span>
2016-02-23 03:22:07 +01:00
{% endif %}
2016-03-11 21:55:06 +01:00
</div>
2016-02-22 22:46:49 +01:00
{% endif %}
2016-03-23 16:42:58 +01:00
{% if page.url != "/" and site.breadcrumbs and site.categories.type == "jekyll-archives" %}
{% include breadcrumbs.html %}
{% endif %}
2016-02-23 03:22:07 +01:00
<div id="main" role="main">
2016-03-20 20:20:33 +01:00
{% if page.author_profile or page.sidebar %}<div class="sidebar sticky">
{% 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: base_path }}"
{% 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 %}
2016-03-20 20:20:33 +01:00
</div>{% endif %}
2016-02-23 03:22:07 +01:00
{{ content }}
2016-03-11 21:55:06 +01:00
</div>
2016-02-22 22:46:49 +01:00
2016-03-11 21:55:06 +01:00
<div class="page__footer">
2016-02-23 03:22:07 +01:00
<footer>
{% include footer.html %}
2016-02-23 03:22:07 +01:00
</footer>
2016-03-11 21:55:06 +01:00
</div>
2016-02-22 22:46:49 +01:00
{% include scripts.html %}
2016-03-21 19:11:39 +01:00
{% include footer/custom.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>