Organize pages for blog posts and projects, and add root-level pages
This commit is contained in:
23
_layouts/collection.html
Normal file
23
_layouts/collection.html
Normal file
@ -0,0 +1,23 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
{% include head.html %}
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<a href="/" id="name"><b>Andrew Cassidy</b></a>
|
||||
<span class="slash">/</span>
|
||||
{{ page.title }}
|
||||
<span class="slash">/</span>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
{% include sidebar.html %}
|
||||
|
||||
<article id="content">
|
||||
{{ content }}
|
||||
</article>
|
||||
</main>
|
||||
<!--{% include footer.html %}-->
|
||||
</body>
|
||||
|
||||
</html>
|
@ -3,7 +3,11 @@
|
||||
{% include head.html %}
|
||||
|
||||
<body>
|
||||
{% include header.html %}
|
||||
<header>
|
||||
<a href="/" id="name"><b>Andrew Cassidy</b></a>
|
||||
<span class="slash">/</span>
|
||||
{{ page.title }}
|
||||
</header>
|
||||
|
||||
<main>
|
||||
{% include sidebar.html %}
|
22
_layouts/page.html
Normal file
22
_layouts/page.html
Normal file
@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
{% include head.html %}
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<a href="/" id="name"><b>Andrew Cassidy</b></a>
|
||||
<span class="slash">/</span>
|
||||
{{ page.title }}
|
||||
</header>
|
||||
|
||||
<main>
|
||||
{% include sidebar.html %}
|
||||
|
||||
<article id="content">
|
||||
{{ content }}
|
||||
</article>
|
||||
</main>
|
||||
<!--{% include footer.html %}-->
|
||||
</body>
|
||||
|
||||
</html>
|
24
_layouts/post.html
Normal file
24
_layouts/post.html
Normal file
@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
{% include head.html %}
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<a href="/" id="name"><b>Andrew Cassidy</b></a>
|
||||
<span class="slash">/</span>
|
||||
<a href="/Blog" class="dir">Blog</a>
|
||||
<span class="slash">/</span>
|
||||
{{ page.title }}
|
||||
</header>
|
||||
|
||||
<main>
|
||||
{% include sidebar.html %}
|
||||
|
||||
<article id="content">
|
||||
{{ content }}
|
||||
</article>
|
||||
</main>
|
||||
<!--{% include footer.html %}-->
|
||||
</body>
|
||||
|
||||
</html>
|
Reference in New Issue
Block a user