fix image title

This commit is contained in:
osmarks 2021-04-25 22:15:02 +01:00
parent 65b19dbd96
commit 30474d55cf

View File

@ -97,7 +97,7 @@ proc mainPage(ctx: Ctx): string =
of ResponseType.Timeout: text "Timed out" of ResponseType.Timeout: text "Timed out"
of ResponseType.FetchError: text "Fetch failed" of ResponseType.FetchError: text "Fetch failed"
tdiv: text &"{site.uptimePercent * 100:.5f}% up, {site.averageLatency:.5f}ms latency in last week" tdiv: text &"{site.uptimePercent * 100:.5f}% up, {site.averageLatency:.5f}ms latency in last week"
if site.id in ctx.images: img(src= &"/vis/{site.id}", class="right", title= "&{site.url} 12-week status visualization") if site.id in ctx.images: img(src= &"/vis/{site.id}", class="right", title= &"{site.url} 12-week status visualization")
hr() hr()
small: small:
text "made by " text "made by "