diff options
Diffstat (limited to 'layouts/services')
-rw-r--r-- | layouts/services/list.html | 13 | ||||
-rw-r--r-- | layouts/services/single.html | 14 |
2 files changed, 27 insertions, 0 deletions
diff --git a/layouts/services/list.html b/layouts/services/list.html new file mode 100644 index 0000000..8e78be0 --- /dev/null +++ b/layouts/services/list.html @@ -0,0 +1,13 @@ +{{ define "main" }} +<h1>{{ .Title }}</h1> +{{ .Content }} +{{ range .Pages }} +<section class="service"> + <h2> + {{ .Title }} + <small><a href="{{ .Params.location }}">{{ .Params.location }}</a></small> + </h2> + {{ .Content }} +</section> +{{ end }} +{{ end }} diff --git a/layouts/services/single.html b/layouts/services/single.html new file mode 100644 index 0000000..e1afa52 --- /dev/null +++ b/layouts/services/single.html @@ -0,0 +1,14 @@ +{{ define "main" }} +<article> + <header> + <h1>{{ .Title }}</h1> + </header> + <main> + <ul> + <li><strong>Base URL</strong>: <a href="{{ .Params.location }}">{{ .Params.location }}</a></li> + <li><strong>Upstream</strong>: <a href="{{ .Params.upstream }}">{{ .Params.upstream }}</a></li> + </ul> + {{ .Content }} + </main> +</article> +{{ end }} |