templates/master.tmpl
browsing at commit = 118f7b3050759438e47061859b2ee856af44ebfc
<% c++ #include "content.h" %>
<% c++ #include "util.h" %>
<% skin git %>
<% view master uses content::master %>
<% template render() %><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><%= title %> · git</title>
<link rel="stylesheet" href="/static/style.css">
<link rel="stylesheet" href="/static/highlight.css">
</head>
<body>
<header class="topbar">
<a class="brand" href="/">git</a>
<a href="/repos">repos</a>
<% if (content.repo.length() == 0) %>
<a href="/about">about</a>
<% end %>
<% if (content.repo.length() > 0) %>
<span class="sep">/</span>
<a href="/repos/<%= repo %><%= query %>"><%= repo %></a>
<nav class="repo-nav">
<a href="/repos/<%= repo %>/tree/<%= query %>">files</a>
<a href="/repos/<%= repo %>/log/<%= query %>">log</a>
<a href="/repos/<%= repo %>/branches/">branches</a>
<a href="/repos/<%= repo %>/tags/">tags</a>
</nav>
<% end %>
</header>
<main><% include content_body() %></main>
<script src="/static/highlight.min.js"></script>
<script src="/static/cmake.min.js"></script>
<script src="/static/dockerfile.min.js"></script>
<script src="/static/terraform.min.js"></script>
<script src="/static/marked.min.js"></script>
<script src="/static/app.js"></script>
</body>
</html><% end template %>
<% template content_body() %><% end template %>
<% end view %>
<% end skin %>