🐛 Fixed amount in Ko-fi URL pattern
/ docker (push) Successful in 1m7s Details

This commit is contained in:
Maxim Lebedev 2023-12-16 21:39:49 +06:00
parent 7bf8eb47fc
commit 31be26d9cb
Signed by: toby3d
GPG Key ID: 1F14E25B7C119FC5
2 changed files with 2 additions and 2 deletions

View File

@ -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 %}">

View File

@ -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