repos / pico

pico services - prose.sh, pastes.sh, imgs.sh, feeds.sh, pgs.sh
git clone https://github.com/picosh/pico.git

pico / pgs / html
Eric Bower · 08 Apr 24

base.layout.tmpl

 1{{define "base"}}
 2<!doctype html>
 3<html lang="en">
 4  <head>
 5    <meta charset='utf-8'>
 6    <meta name="viewport" content="width=device-width, initial-scale=1" />
 7    <title>{{template "title" .}}</title>
 8
 9    <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
10
11    <meta name="keywords" content="static, site, hosting, hackers, pico" />
12
13    <link rel="stylesheet" href="https://pico.sh/smol.css" />
14    <link rel="stylesheet" href="main.css" />
15
16    {{template "meta" .}}
17  </head>
18  <body {{template "attrs" .}}>{{template "body" .}}</body>
19</html>
20{{end}}