huge restructure to give flexibility with blog posts and mobile layouts
This commit is contained in:
@ -19,14 +19,18 @@
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
<header>{% include 'partials/header.njk' %}</header>
|
||||
<hr/>
|
||||
<article>
|
||||
<h1>{{ title }}</h1>
|
||||
{{ content | safe }}
|
||||
</article>
|
||||
<hr/>
|
||||
<footer>{% include 'partials/footer.njk' %}</footer>
|
||||
<div>
|
||||
<header>{% include 'partials/header.njk' %}</header>
|
||||
<hr/>
|
||||
<article>
|
||||
<h1>{{ title }}</h1>
|
||||
{{ content | safe }}
|
||||
</article>
|
||||
</div>
|
||||
<footer>
|
||||
<hr/>
|
||||
{% include 'partials/footer.njk' %}
|
||||
</footer>
|
||||
</main>
|
||||
<aside>{% include 'partials/sidebar.njk' %}</aside>
|
||||
</div>
|
||||
|
@ -1,9 +1,9 @@
|
||||
<nav>
|
||||
<a href="/">/</a><br/>
|
||||
<a href="/pages/">/pages</a><br/>
|
||||
<a href="/about/">/about</a><br/>
|
||||
<a href="/links/">/links</a><br/>
|
||||
<a href="/contact/">/contact</a><br/>
|
||||
<a href="/blog/">/blog</a><br/>
|
||||
<a href="/">/</a>
|
||||
<a href="/pages/">/pages</a>
|
||||
<a href="/about/">/about</a>
|
||||
<a href="/links/">/links</a>
|
||||
<a href="/contact/">/contact</a>
|
||||
<a href="/blog/">/blog</a>
|
||||
</nav>
|
||||
{#INFO: It's important to stucture your links with the slashes / on either side of the href /about/ to ensure the links are always from the root of the site.#}
|
@ -3,4 +3,5 @@
|
||||
</a>
|
||||
<div class="sidebar-contents">
|
||||
{% include 'partials/navigation.njk' %}
|
||||
<img src="/_assets/img/143.gif"/>
|
||||
</div>
|
Reference in New Issue
Block a user