showcase
- v0.2.4
- 37 commits
- 1 branch
- 6 tags
- updated
- CI 2/2
base.html
2.7 KB · 63 lines
1{{define "base" -}}2<!doctype html>3<html lang="en" data-theme="{{.Theme}}">4<head>5<meta charset="utf-8">6<meta name="viewport" content="width=device-width, initial-scale=1">7<title>daniel daum - {{.Title}}</title>8{{- with .Meta}}9<meta name="description" content="{{.}}">10<meta property="og:type" content="website">11<meta property="og:site_name" content="daniel daum">12<meta property="og:title" content="daniel daum - {{$.Title}}">13<meta property="og:description" content="{{.}}">14<meta property="og:image" content="https://assets.danieldaum.net/img/misc/og.jpg">15<meta property="og:image:type" content="image/jpeg">16<meta property="og:image:width" content="1200">17<meta property="og:image:height" content="630">18<meta property="og:image:alt" content="daniel daum - software engineer, avid reader, aspiring game dev - danieldaum.net">19<meta name="twitter:card" content="summary_large_image">20{{- end}}21{{- with .GoImport}}22<meta name="go-import" content="{{.}}">23{{- end}}24<link rel="preload" href="/static/fonts/geistpixel/GeistPixel-Square.woff2" as="font" type="font/woff2" crossorigin>25<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon/favicon-32x32.png">26<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon/favicon-16x16.png">27<link rel="apple-touch-icon" sizes="180x180" href="/static/favicon/apple-touch-icon.png">28<link rel="manifest" href="/static/favicon/site.webmanifest">29<link rel="alternate" type="application/atom+xml" title="daniel daum" href="https://danieldaum.net/feed.xml">30<link rel="stylesheet" href="/static/style.css?v={{.CSS}}">31<script src="/static/theme.js?v={{.CSS}}"></script>32<script src="/static/copy.js?v={{.CSS}}" defer></script>33</head>34<body>35<a class="skip-link" href="#site-main">skip to content</a>36{{template "sprite"}}37<header class="site-header">38 <a class="site-name" href="https://danieldaum.net">Daniel Daum</a>39 <nav aria-label="main navigation">40 <a href="https://danieldaum.net/about/">about</a>41 <a href="https://danieldaum.net/blog/">blog</a>42 <a href="/" aria-current="page">projects</a>43 <a href="https://danieldaum.net/garden/">garden</a>44 </nav>45</header>46<main id="site-main">47{{template "content" .D}}48</main>49<footer>50 <nav aria-label="site links">51 <p aria-hidden="true">//</p>52 <a href="mailto:daniel@danieldaum.net">email</a>53 <a href="/saturn/">source</a>54 <a href="https://danieldaum.net/id/">ID</a>55 <a href="https://danieldaum.net/changelog/">changelog</a>56 <a href="https://danieldaum.net/privacy/">privacy</a>57 <a href="https://danieldaum.net/feed.xml">RSS</a>58 <button type="button" class="theme-button" hidden>theme</button>59 </nav>60</footer>61</body>62</html>63{{end}}