Files
theme/_layouts/default.html
T
andrew c19e1b9d91 Made posts without images use the full width, stopped having an image tag without url.
Posts list on homepage now works the same as other category pages.
Getting away from page banners on top of site.
Using seo_tag.title instead of generating the same thing by hand.
2019-01-22 13:39:53 -05:00

59 lines
1.2 KiB
HTML

<!DOCTYPE HTML>
<!--
Read Only by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
Ported to Jekyll by DigitalAdapt.
-->
<html>
<head>
{%- include head.html -%}
</head>
<body class="is-preload">
<!-- Header -->
<section id="header">
<header>
{%- include brand.html -%}
</header>
<nav id="nav">
{%- include nav.html -%}
</nav>
<footer>
{%- include icons.html -%}
</footer>
</section>
<!-- Wrapper -->
<div id="wrapper">
<!-- Main -->
<div id="main">
<section id="top">
<div class="image main" data-position="center">
<img src="{{ site.banner | default: '/images/banner.jpg' | relative_url }}" alt="" />
</div>
<div class="container">
<header class="major">
<h1>{{ page.title }}</h1>
{%- if page.description -%}
<p>{{ page.description }}</p>
{%- endif -%}
</header>
{{ content }}
</div>
</section>
</div>
<!-- Footer -->
<section id="footer">
{%- include footer.html -%}
</section>
</div>
<!-- Scripts -->
{%- include scripts.html -%}
</body>
</html>