mirror of
https://github.com/aljazceru/njump.git
synced 2026-01-31 11:44:34 +01:00
Preload text image
This commit is contained in:
4
pages.go
4
pages.go
@@ -125,7 +125,9 @@ var (
|
||||
)
|
||||
|
||||
//tmpl:bind footer.html
|
||||
type FooterPartial struct{}
|
||||
type FooterPartial struct {
|
||||
BigImage string
|
||||
}
|
||||
|
||||
func (*FooterPartial) TemplateText() string { return tmplFooter }
|
||||
|
||||
|
||||
@@ -20,3 +20,5 @@
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
||||
<img src="{{.BigImage}}" class="absolute left-[-999px]" />
|
||||
|
||||
@@ -80,6 +80,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{template "footer" .}}
|
||||
{{template "footer" .OpenGraphPartial}}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user