From 2430bf57c22948e66b2c918d324d6e0bff4f6792 Mon Sep 17 00:00:00 2001 From: Miquel Lionel Date: Wed, 17 Feb 2021 13:48:13 +0100 Subject: add i18n'd html templates, newer patch for web.go --- v0.9.5/views/i18n/header.html | 100 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 v0.9.5/views/i18n/header.html (limited to 'v0.9.5/views/i18n/header.html') diff --git a/v0.9.5/views/i18n/header.html b/v0.9.5/views/i18n/header.html new file mode 100644 index 0000000..21cce5e --- /dev/null +++ b/v0.9.5/views/i18n/header.html @@ -0,0 +1,100 @@ + + + + +honk + +{{ if .LocalStyleParam }} + +{{ end }} + + + + + + + + +
+{{ if .UserInfo }} +
+ menu {{ .UserInfo.Username }} + +
+ + + + + +

+{{ else }} +{{ .i18n.Home }} +{{ .i18n.Tags }} +{{ .i18n.Events }} +{{ .i18n.About }} +{{ if .ShowRSS }} +rss +{{ end }} +{{ .i18n.Login }} +
+ + +
+ +
+{{ end }} +
-- cgit v1.2.3-70-g09d2