repos / pico

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

pico / pastes / html
Eric Bower · 31 Jan 24

marketing.page.tmpl

 1{{template "base" .}}
 2
 3{{define "title"}}{{.Site.Domain}} -- a pastebin for hackers{{end}}
 4
 5{{define "meta"}}
 6<meta name="description" content="a pastebin for hackers" />
 7
 8<meta property="og:type" content="website">
 9<meta property="og:site_name" content="{{.Site.Domain}}">
10<meta property="og:url" content="https://{{.Site.Domain}}">
11<meta property="og:title" content="{{.Site.Domain}}">
12<meta property="og:description" content="a pastebin for hackers">
13
14<meta name="twitter:card" content="summary" />
15<meta property="twitter:url" content="https://{{.Site.Domain}}">
16<meta property="twitter:title" content="{{.Site.Domain}}">
17<meta property="twitter:description" content="a pastebin for hackers">
18<meta name="twitter:image" content="https://{{.Site.Domain}}/card.png" />
19<meta name="twitter:image:src" content="https://{{.Site.Domain}}/card.png" />
20
21<meta property="og:image:width" content="300" />
22<meta property="og:image:height" content="300" />
23<meta itemprop="image" content="https://{{.Site.Domain}}/card.png" />
24<meta property="og:image" content="https://{{.Site.Domain}}/card.png" />
25{{end}}
26
27{{define "attrs"}}{{end}}
28
29{{define "body"}}
30<header class="text-center">
31    <h1 class="text-2xl font-bold">{{.Site.Domain}}</h1>
32    <p class="text-lg">a pastebin for hackers</p>
33    <div>
34      <a href="https://pico.sh/pastes" class="btn-link mt inline-block">LEARN MORE</a>
35    </div>
36</header>
37
38{{template "marketing-footer" .}}
39{{end}}