- commit
- 70678e4
- parent
- b49c843
- author
- Eric Bower
- date
- 2022-08-22 21:05:17 +0000 UTC
refactor(imgs): remove tag tmpl files
2 files changed,
+0,
-102
+0,
-46
1@@ -1,46 +0,0 @@
2-{{template "base" .}}
3-
4-{{define "title"}}{{.PageTitle}}{{end}}
5-
6-{{define "meta"}}
7-<meta name="description" content="{{.PageTitle}}" />
8-
9-<meta property="og:type" content="website">
10-<meta property="og:site_name" content="{{.Site.Domain}}">
11-<meta property="og:url" content="{{.URL}}">
12-<meta property="og:title" content="{{.PageTitle}}">
13-<meta property="og:description" content="{{.Tag}}">
14-<meta property="og:image:width" content="300" />
15-<meta property="og:image:height" content="300" />
16-<meta itemprop="image" content="https://{{.Site.Domain}}/card.png" />
17-<meta property="og:image" content="https://{{.Site.Domain}}/card.png" />
18-
19-<meta property="twitter:card" content="summary">
20-<meta property="twitter:url" content="{{.URL}}">
21-<meta property="twitter:title" content="{{.PageTitle}}">
22-<meta property="twitter:description" content="{{.Tag}}">
23-<meta name="twitter:image" content="https://{{.Site.Domain}}/card.png" />
24-<meta name="twitter:image:src" content="https://{{.Site.Domain}}/card.png" />
25-{{end}}
26-
27-{{define "attrs"}}id="blog"{{end}}
28-
29-{{define "body"}}
30-<header class="text-center">
31- <h1 class="text-2xl font-bold">{{.Tag}}</h1>
32- <a href="{{.BlogURL}}">< {{.Username}}</a>
33- <hr />
34-</header>
35-<main>
36- <section class="albums">
37- {{range .Posts}}
38- <article class="thumbnail-container">
39- <a href="{{.URL}}" class="thumbnail-link">
40- <img class="thumbnail" src="{{.ImgURL}}" alt="{{.Caption}}" />
41- </a>
42- </article>
43- {{end}}
44- </section>
45-</main>
46-{{template "footer" .}}
47-{{end}}
+0,
-56
1@@ -1,56 +0,0 @@
2-{{template "base" .}}
3-
4-{{define "title"}}{{.PageTitle}}{{end}}
5-
6-{{define "meta"}}
7-<meta name="description" content="{{.Caption}}" />
8-
9-<meta property="og:type" content="website">
10-<meta property="og:site_name" content="{{.Site.Domain}}">
11-<meta property="og:url" content="{{.URL}}">
12-<meta property="og:title" content="{{.PageTitle}}">
13-{{if .Caption}}<meta property="og:description" content="{{.Caption}}">{{end}}
14-<meta property="og:image:width" content="300" />
15-<meta property="og:image:height" content="300" />
16-<meta itemprop="image" content="https://{{.Site.Domain}}/card.png" />
17-<meta property="og:image" content="https://{{.Site.Domain}}/card.png" />
18-
19-<meta property="twitter:card" content="summary">
20-<meta property="twitter:url" content="{{.URL}}">
21-<meta property="twitter:title" content="{{.PageTitle}}">
22-{{if .Caption}}<meta property="twitter:description" content="{{.Caption}}">{{end}}
23-<meta name="twitter:image" content="https://{{.Site.Domain}}/card.png" />
24-<meta name="twitter:image:src" content="https://{{.Site.Domain}}/card.png" />
25-{{end}}
26-
27-{{define "attrs"}}id="post" class="{{.Slug}}"{{end}}
28-
29-{{define "body"}}
30-<header>
31- {{if .Title}}<h1 class="text-2xl font-bold">{{.Title}}</h1>{{end}}
32- <p class="font-bold m-0">
33- <time datetime="{{.PublishAtISO}}">{{.PublishAt}}</time>
34- </p>
35- <div class="tags">
36- <a href="{{.BlogURL}}">< {{.BlogName}}</a>
37- {{range .Tags}}
38- <a class="tag" href="{{.URL}}">#{{.Text}}</a>
39- {{end}}
40- </div>
41-</header>
42-<main>
43- <div class="my">
44- {{if .PrevPage}}<a href="{{.PrevPage}}">prev</a>{{else}}<span class="text-grey">prev</span>{{end}}
45- {{if .NextPage}}<a href="{{.NextPage}}">next</a>{{else}}<span class="text-grey">next</span>{{end}}
46- </div>
47- <article>
48- <figure class="img">
49- <a href="{{.ImgURL}}"><img src="{{.ImgURL}}" alt="" /></a>
50- {{if .Caption}}<figcaption class="my font-italic">{{.Caption}}</figcaption>{{end}}
51- </figure>
52-
53- <div class="md">{{.Contents}}</div>
54- </article>
55-</main>
56-{{template "footer" .}}
57-{{end}}