shroomgit |
git clone https://git.davidvoz.net/shroomgit.git
|
| 1 | package main |
| 2 | |
| 3 | type config struct { |
| 4 | favicon string |
| 5 | logo string |
| 6 | logoHref string |
| 7 | logoWidth int |
| 8 | logoHeight int |
| 9 | url string |
| 10 | } |
| 11 | |
| 12 | var shgit = config{ |
| 13 | favicon: "logo.png", |
| 14 | logo: "logo.png", |
| 15 | logoHref: "..", |
| 16 | logoWidth: 40, |
| 17 | logoHeight: 40, |
| 18 | url: "https://git.davidvoz.net/", |
| 19 | } |
| 20 | |
| 21 | var styles = map[string]string{ |
| 22 | "codeline": ` |
| 23 | .codeline { |
| 24 | text-align: right; |
| 25 | vertical-align: top; |
| 26 | user-select: none; |
| 27 | } |
| 28 | `, |
| 29 | } |