Created
March 17, 2017 18:17
Revisions
-
tj created this gist
Mar 17, 2017 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,44 @@ {{ define "content" }} {{ partial "back" (dict "url" "//apex.sh") }} <section class="Content full center"> <div class="Container small"> <div class="Title center margin"> <span class="text">Status</span> <span class="subtext">Apex service status.</span> </div> {{ info "add component listing" }} <div class="Components"> {{ range $file := files "content/components" }} {{ with read $file.Path | frontmatter }} {{ info "add %s – %s (%s)" .Meta.product .Title .Meta.status }} <div class="Component {{.Meta.status}}"> <div class="info"> <span class="product">{{.Meta.product}}</span> <span class="name">{{.Title}}</span> <span class="status">{{.Meta.status}}</span> </div> {{ with .Meta.incident }} <div class="incident"> <span class="date">{{$file.ModTime}}</span> <span class="message">{{.}}</span> </div> {{ end }} </div> {{ end }} {{ end }} </div> </div> <section class="Content"> <div class="Container small"> <div class="Box center-x"> <a href="mailto:support@apex.sh" class="Button dark">Contact Support</a> </div> </div> </section> </section> {{ end }}