diff --git a/server/funcs_page.go b/server/funcs_page.go index 8a3c208..7f17758 100644 --- a/server/funcs_page.go +++ b/server/funcs_page.go @@ -2,6 +2,7 @@ package server import ( `fmt` + `html/template` `net/url` ) @@ -62,3 +63,15 @@ func (p *Page) RenderIP(indent uint) (s string) { return } + +func (p *Page) RenderReqId() (s template.HTML) { + + s = template.HTML( + fmt.Sprintf( + "", + p.ReqUUID.String(), + ), + ) + + return +} diff --git a/server/tpl/meta.top.html.tpl b/server/tpl/meta.top.html.tpl index 04eadbb..aeba5be 100644 --- a/server/tpl/meta.top.html.tpl +++ b/server/tpl/meta.top.html.tpl @@ -4,7 +4,7 @@ {{- $linkico := "🔗" -}} - + {{ $page.RenderReqId }} {{ getTitle $page.PageType }}