edryd.org

some of my neat stuff
git clone git://edryd.org/edryd.org
Log | Files | Refs | LICENSE

render-image.html (372B)


      1 {{ if eq .Text "Build Status" }}
      2   <div>
      3     <img src="{{ .Destination | safeURL }}" alt="{{ .Text }}" {{ with .Title}} title="{{ . }}" {{ end }} class="img-fluid"/>
      4   </div>
      5 {{ else }}
      6   <div class="col-12 text-center">
      7     <img src="{{ .Destination | safeURL }}" alt="{{ .Text }}" {{ with .Title}} title="{{ . }}" {{ end }} class="img-fluid p-md-5"/>
      8   </div>
      9 {{ end }}