diff --git a/web/template/template.qtpl b/web/template/template.qtpl index 9cf3401..ca40f0b 100644 --- a/web/template/template.qtpl +++ b/web/template/template.qtpl @@ -148,7 +148,7 @@ func NewContext(processors domain.ConfigProcessors, lang language.Tag, amount ui data-period-max="30"{% space %} data-period-except="7"{% space %} data-in-russia="false"{% space %} - data-pattern="https://ko-fi.com/{%s ctx.processors.Kofi %}/%d"{% space %} + data-pattern="https://ko-fi.com/{%s ctx.processors.Kofi %}/%f"{% space %} rel="noopener noreferrer payment"{% space %} href="https://ko-fi.com/{%s ctx.processors.Kofi %}{% if ctx.amount > 0 %}/{%f.2 float64(ctx.amount) / 100 %}{% endif %}"> diff --git a/web/template/template.qtpl.go b/web/template/template.qtpl.go index 649043a..45f9bb8 100644 --- a/web/template/template.qtpl.go +++ b/web/template/template.qtpl.go @@ -419,7 +419,7 @@ func (ctx Context) streambody(qw422016 *qt422016.Writer) { //line web/template/template.qtpl:151 qw422016.E().S(ctx.processors.Kofi) //line web/template/template.qtpl:151 - qw422016.N().S(`/%d"`) + qw422016.N().S(`/%f"`) //line web/template/template.qtpl:151 qw422016.N().S(` `) //line web/template/template.qtpl:151