Mikael's blog

A developers sixth time trying to maintain a blog

Source Code - Root / views / header.partial.mu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!doctype html>
<html>
<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="user-scalable=no, width=device-width" />
  {{#header}}
    {{#pageTitle}}
  <title>{{header.pageTitle}} - Mikael's blog</title>
    {{/pageTitle}}
    {{^pageTitle}}
  <title>Mikael's blog: A developers sixth time trying to maintain a blog</title>
    {{/pageTitle}}
  {{/header}}
  {{^header}}
  <title>Mikael's blog: A developers sixth time trying to maintain a blog</title>
  {{/header}}
  <link rel="alternate" href="http://lofjard.se/atomfeed" type="application/atom+xml" title="Mikael's blog ATOM Feed" />
  <link rel="stylesheet" href="/css?v={{header.versionCode}}" />
  <!--[if lt IE 9]>
  <![endif]-->
{{{header.trackingCode}}}
</head>
<body>
<div class="sitewrapper">
  <div class="header-wrapper">
    <header>
      <h1><a href="/">Mikael's blog</a></h1>
      <h2>A developers sixth time trying to maintain a blog</h2>
    </header>
    <nav>
      <ul>
        <li><a class="nav-first" href="/">Home</a></li>
        <li><a href="/archive">Archive</a></li>
        <li><a href="/tags">Tags</a></li>
        <li><a class="nav-second-last" href="/about">About me</a></li>
        <li class="hidesmall"><a class="nav-last" href="/source">Source code</a></li>
      </ul>
    </nav>
  </div>
  <div class="searchwrapper">
    <input type="text" name="searchinput" id="searchinput" value="{{{header.searchTerm}}}" placeholder="Search the archive"/><button id="searchbutton">Search</button>
  </div>