separate layouts into new folder
This commit is contained in:
parent
ec266f3995
commit
677360a1ca
6 changed files with 10 additions and 3 deletions
|
|
@ -3,6 +3,7 @@
|
||||||
<li><a href="/">home</a></li>
|
<li><a href="/">home</a></li>
|
||||||
<li><a href="/about">about</a></li>
|
<li><a href="/about">about</a></li>
|
||||||
<li><a href="/blog">blog</a></li>
|
<li><a href="/blog">blog</a></li>
|
||||||
|
<li><a href="/reviews">reviews</a></li>
|
||||||
<li><a href="/contact">contact</a></li>
|
<li><a href="/contact">contact</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
{{ content | safe }}
|
{{ content | safe }}
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
<marquee class="motd" behavior="scroll" direction="left">
|
<marquee behavior="scroll" direction="left">
|
||||||
<img src="/img/Witch-on-broom.gif" alt="">
|
<img src="/img/Witch-on-broom.gif" alt="">
|
||||||
</marquee>
|
</marquee>
|
||||||
{% include "footer.njk" %}
|
{% include "footer.njk" %}
|
||||||
3
_layouts/home.njk
Normal file
3
_layouts/home.njk
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
layout: base
|
||||||
|
---
|
||||||
|
|
@ -14,7 +14,8 @@ body {
|
||||||
|
|
||||||
p {
|
p {
|
||||||
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
|
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
|
||||||
color: mp.$text
|
font-size: 0.8em;
|
||||||
|
color: mp.$text;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
const eleventySass = require("eleventy-sass");
|
const eleventySass = require("eleventy-sass");
|
||||||
|
|
||||||
module.exports = function(eleventyConfig) {
|
module.exports = function(eleventyConfig) {
|
||||||
|
eleventyConfig.setLayoutsDirectory("_layouts");
|
||||||
eleventyConfig.addPassthroughCopy("img");
|
eleventyConfig.addPassthroughCopy("img");
|
||||||
eleventyConfig.addPassthroughCopy("css/fonts");
|
eleventyConfig.addPassthroughCopy("css/fonts");
|
||||||
eleventyConfig.addPassthroughCopy("LICENSE.txt");
|
eleventyConfig.addPassthroughCopy("LICENSE.txt");
|
||||||
|
|
|
||||||
3
index.md
3
index.md
|
|
@ -1,3 +1,4 @@
|
||||||
---
|
---
|
||||||
layout: base
|
layout: home
|
||||||
---
|
---
|
||||||
|
welcome to my site!! not much is done yet but please have a look around.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue