perkeep/website/tmpl/page.html

60 lines
1.7 KiB
HTML
Raw Normal View History

{{define "page"}}
<html>
{{template "header" .}}
<body>
{{template "banner" .}}
{{template "toplinks" .}}
<div class='content'>
<!-- Content is HTML-escaped elsewhere -->
{{.Content}}
</div>
{{template "footer" .}}
</body>
</html>
{{end}}
{{define "header"}}
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
{{if .Domain}}
<meta name="go-import" content="{{.Domain}} git https://camlistore.googlesource.com/camlistore">
{{end}}
{{with $x := .Title}}
<title>{{$x}} - Perkeep</title>
{{else}}
<title>Perkeep</title>
{{end}}
<!-- TODO(mpl): figure out why Index does not toggle (like Overview) -->
<link rel="stylesheet" href="/static/all.css" type="text/css" media="all" charset="utf-8">
<link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:400,700' rel='stylesheet' type='text/css'>
2011-01-29 18:59:25 +00:00
<script type="text/javascript" src="/static/all-async.js" async="true"></script>
<script type="text/javascript" src="/static/godocs.js"></script>
</head>
{{end}}
{{define "banner"}}
2011-01-24 05:48:04 +00:00
<div id='header'>
<a href="/"><img width='788' height='161' src='/static/camli-header.jpg' title="Perkeep" border='0' /></a>
2011-01-24 05:48:04 +00:00
</div>
{{end}}
{{define "toplinks"}}
2011-01-24 05:48:04 +00:00
<div class='bar'><div class='hatecss'>
<a href='/'>Home</a>
<a href='/download'>Download</a>
<a href='/doc/'>Docs</a>
<a href='/code'>Code</a>
<a href='/community'>Community</a>
2011-01-24 05:48:04 +00:00
</div></div>
{{end}}
{{define "footer"}}
2011-01-24 05:48:04 +00:00
<div class='bar'><div class='hatecss'>
</div></div>
<div id='props'>
2011-01-28 07:47:44 +00:00
Website layout inspired by <a href="http://git-scm.com/">git</a> and <a href="http://memcached.org/">memcached</a>,<br />
design done by <a href="http://upallday.com/">up all day</a> creative solutions.<br />
Content by <a href="/contributors">the authors</a>.
2011-01-24 05:48:04 +00:00
</div>
{{end}}