aboutsummaryrefslogtreecommitdiff
path: root/cmd/todayinmarch2020/html.templ
blob: 420b5beea69490b5c2bd1225f0cf7c352f6950a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package main

import (
	"fmt"
)

templ headArea() {
	<style>
     main {
         text-align: center;
     }
    </style>
}

templ body(day int, quip string) {
	<br/>
	<big>Today is March <big>{ fmt.Sprint(day) }</big>, 2020</big>
	<br/>
	<br/>
	<br/>
	<br/>
	<p>{ quip }</p>
	<br/>
	<br/>
}

templ footer() {
	<p>
		From <a href="https://xeiaso.net">Within</a> - 
		<a
			href="https://pony.social/@cadey"
		>
			{ "@cadey@pony.social" }
		</a> - <a
	href="https://github.com/Xe/x/tree/master/cmd/todayinmarch2020"
>Source Code</a>
	</p>
}