summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--header.html10
-rw-r--r--index.html13
2 files changed, 11 insertions, 12 deletions
diff --git a/header.html b/header.html
new file mode 100644
index 0000000..370f90b
--- /dev/null
+++ b/header.html
@@ -0,0 +1,10 @@
+<header>
+ <h1><a href="/">Johannes Löthberg</a></h1>
+ <nav>
+ <ul>
+ <li><a href="/">~/</a></li>
+ <li><a href="/blog">blog/</a></li>
+ <li><a href="/contact">contact/</a></li>
+ </ul>
+ </nav>
+</header>
diff --git a/index.html b/index.html
index 2322478..51014e8 100644
--- a/index.html
+++ b/index.html
@@ -7,18 +7,7 @@
<link href="main.css" rel="stylesheet">
</head>
<body>
-
-<header>
- <h1><a href="/">Johannes Löthberg</a></h1>
- <nav>
- <ul>
- <li><a href="/">~/</a></li>
- <li><a href="/blog">blog/</a></li>
- <li><a href="/contact">contact/</a></li>
- </ul>
- </nav>
-</header>
-
+ <!--# include file="header.html" -->
<div class="about">
<h2>About me</h2>
<p>