Created
March 17, 2017 18:17
-
-
Save tj/bfac6e7f2c812354f785d6b028041ae8 to your computer and use it in GitHub Desktop.
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 characters
{{ 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:[email protected]" class="Button dark">Contact Support</a> | |
</div> | |
</div> | |
</section> | |
</section> | |
{{ end }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment