diff options
author | Patrick Spek <p.spek@tyil.nl> | 2021-12-15 12:20:15 +0100 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2021-12-15 12:20:15 +0100 |
commit | 1ea4817cb2761df4281d046fcdd06f83a127940f (patch) | |
tree | e34d727070962e932e7dd97d0a05900f3a5f35f6 /layouts | |
parent | d014b03ad74a5c90982db8e0b9fba8ea7f8c236a (diff) |
Add more services
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/services/list.html | 12 | ||||
-rw-r--r-- | layouts/services/single.html | 15 |
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 }} |