summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/services/list.html12
-rw-r--r--layouts/services/single.html15
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..94c750b
--- /dev/null
+++ b/layouts/services/list.html
@@ -0,0 +1,12 @@
+{{ define "main" }}
+<h1>{{ .Title }}</h1>
+{{ .Content }}
+<ul>
+ {{ range .Paginator.Pages }}
+ <li>
+ <a href="{{ .Permalink }}">{{ .Title }}</a>
+ <small>{{ .Params.location }}</small>
+ </li>
+ {{ end }}
+</ul>
+{{ end }}
diff --git a/layouts/services/single.html b/layouts/services/single.html
new file mode 100644
index 0000000..9f2354b
--- /dev/null
+++ b/layouts/services/single.html
@@ -0,0 +1,15 @@
+{{ 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 }}