<title><%= config.branding.title %></title>
<link rel="stylesheet" href="/static/custom.css">
<div id="header-content">
  <h1 id="h_title"><%= config.branding.title %></h1>
  <% if(config.branding.hasOwnProperty("subtitle")) { %>
    <p id="h_subtitle"><%= config.branding.subtitle %></p>
  <% } %>

  <hr>
  <div id="link-container">
    <% if(config.hasOwnProperty("themeOpts") && config.themeOpts.hasOwnProperty("links")) { %>
      <% for(const link of config.themeOpts.links) { %>
        <a href="<%= link.url %>"><%= link.title %></a>
      <% } %>
    <% } else { %>
      <a href="/">home</a>
      <a href="/post/about.md">about</a>
      <a href="/post/contact.md">contact</a>
    <% } %>
  </div>
</div>
