diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-04-28 02:38:57 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2014-04-28 02:38:57 +0200 |
commit | 40df22fabfa82147edcc23dc767ea96dd8e511a5 (patch) | |
tree | 903751844d6a27b6609546db76d3a0b301e4e696 | |
parent | 14bde1ae6b54b7383e485143f17de15c65fe5f9f (diff) | |
download | website-40df22fabfa82147edcc23dc767ea96dd8e511a5.tar.xz |
Move header to own file and use server side include
-rw-r--r-- | header.html | 10 | ||||
-rw-r--r-- | index.html | 13 |
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> @@ -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> |