🐛 Fixed amount in Ko-fi URL pattern
/ docker (push) Successful in 1m7s
Details
/ docker (push) Successful in 1m7s
Details
This commit is contained in:
parent
7bf8eb47fc
commit
31be26d9cb
|
@ -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 %}">
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue