Skip to content

Commit f46f357

Browse files
committed
Experimenting with CSS grids
1 parent 51bab6b commit f46f357

File tree

13 files changed

+92
-161
lines changed

13 files changed

+92
-161
lines changed

_includes/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<footer>
2-
<p>By <a href="http://emilbaehr.com">Emil</p>
2+
<p>Made by <a href="http://emilbaehr.com">Emil Baehr</a> in Copenhagen</p>
33
</footer>

_includes/head.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<head>
2-
32
<meta charset="utf-8">
43
<meta http-equiv="x-ua-compatible" content="ie=edge">
54
<meta name="viewport" content="width=device-width, initial-scale=1">
@@ -8,7 +7,4 @@
87

98
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
109
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
11-
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,700,800,600' rel='stylesheet' type='text/css'>
12-
<link href='https://fonts.googleapis.com/css?family=Muli:400,300' rel='stylesheet' type='text/css'>
13-
1410
</head>

_includes/header.html

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
1-
<aside>
2-
<div class="container">
3-
<nav>
4-
<ul>
5-
{% for page in site.pages %} {% if page.title %}
6-
<li><a href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a></li>
7-
{% endif %} {% endfor %}
8-
</ul>
9-
</nav>
10-
</div>
11-
</aside>
121

132
<header>
14-
<h1><a href="{{ site.baseurl }}">{{ site.title }}</a></h1>
3+
<nav>
4+
<ul>
5+
<li><a href="/">Home</a></li>
6+
<li><a href="/changelog">Changelog</a></li>
7+
<li><a href="/faq">FAQ</a></li>
8+
</ul>
9+
</nav>
1510
</header>

_layouts/faq.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!DOCTYPE html>
2+
<html>
3+
{% include head.html %}
4+
5+
<body>
6+
{% include header.html %}
7+
<main>
8+
<article>
9+
{{ content }}
10+
</article>
11+
{% include footer.html %}
12+
</main>
13+
</body>
14+
15+
</html>

_layouts/page.html

Lines changed: 0 additions & 7 deletions
This file was deleted.

_pages/about.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

_pages/changelog.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
layout: changelog
3+
title: Changelog
4+
permalink: /changelog/
5+
---
6+
7+
### Version 1.0
8+
This version is the first public release of Your App.

_pages/contact.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

_pages/faq.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
layout: faq
3+
title: Frequently Asked Questions
4+
permalink: /faq/
5+
---
6+
7+
Here are some frequently asked question.
8+
9+
### Question 1 goes here?
10+
Yes, it does.
11+
12+
### Where does question 2 go?
13+
Just below.

0 commit comments

Comments
 (0)