~m15o/midnight-pub

ref: 4cec6a6f76768453d279dd502bed313deb34d349 midnight-pub/gopher/gph.go -rw-r--r-- 1.4 KiB
4cec6a6fm15o Add link to smol pub 8 months ago
                                                                                
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
39
40
41
42
43
// Code generated by go generate; DO NOT EDIT.

package gopher

var GphMap = map[string]string{
	"index": `i _ _ _                             _ __
i( / ) )o    /      o      /  _/_  ( /  )    /
i / / /,  __/ _ _  ,  _,  /_  /     /--', , /
i/ / (_(_(_/_/ / /_(_(_)_/ /_(__   /   (_/_/_)
i                     /|
i                    (/
i		null.host	1
iIt's late. You are seconds away from the main street in a small
ialley. It's quieter here, but you can still hear the sound of
ichatter, footsteps, and cars from busy downtown. The city is
ibuzzing, the streets are like arteries. You see an intriguing place
iin the alley, with a moon on its door. It reads "The Midnight Pub".
i		null.host	1
iThe Midnight is a virtual pub that lets you write posts and create
ipages. To join, send an email to m15o@posteo.net
i		null.host	1
{{ range .posts -}}
0{{ .Date }} {{ .User }} - {{ .Title }}	/posts/{{ .Id }}	midnight.pub	70
{{ end }}
i		null.host	1
1All posts	/page/0	midnight.pub	70`,
	"page": `i.  .   .       .   ,   .__    .
i|\/|* _|._ * _ |_ -+-  [__). .|_
i|  ||(_][ )|(_][ ) |   |   (_|[_)
i            ._|
i		null.host	1
{{ range .posts -}}
0{{ .Date }} {{ .User }} - {{ .Title }}	/posts/{{ .Id }}	midnight.pub	70
{{ end }}
i		null.host	1
{{ if .hasMore }}
1Next page	/page/{{ .nextPage }}	midnight.pub	70
{{- end }}`,
	"post": `{{ .post.Title }}
~{{ .post.User }}
------------------------------------------------------------------
{{ .wrapped }}`,
}