all repos — fixyoutube-go @ v1.0.1

A better way to embed YouTube videos everywhere (inspired by FixTweet).

templates/cache.html (view raw)

 1<!doctype html>
 2<html lang="en">
 3
 4<head>
 5    <meta charset="utf-8">
 6    <meta name="viewport" content="width=device-width, initial-scale=1">
 7    <title>Cache - FixYouTube</title>
 8    <link rel="icon"
 9        href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text fill=%22white%22 y=%22.9em%22 font-size=%2290%22>🛠</text></svg>">
10    <link rel="stylesheet" href="https://unpkg.com/@picocss/pico@latest/css/pico.min.css">
11</head>
12
13<body>
14    <main class="container" style="max-width: 35rem">
15        <hgroup>
16            <h1>Cached videos</h1>
17            <a href="/">← Home</a>
18        </hgroup>
19
20        <section>
21            <ul>
22                {{ range . }}
23                <li>
24                    <a href="/{{ .VideoID }}">{{ .Title }}</a>
25                    <br />
26                    <small>{{ .Author }}</small>
27                </li>
28                {{ end }}
29            </ul>
30            <hr>
31            <small><a href="https://github.com/BiRabittoh/fixyoutube-go" target="_blank">Source code available in
32                    GitHub!</a></small>
33            <br>
34            <small>• YouTube is a trademark of Google LLC. This app is not affiliated with Google LLC.</small>
35        </section>
36    </main>
37</body>
38
39</html>