diff options
author | Patrick Spek <p.spek@tyil.nl> | 2023-03-15 14:54:37 +0100 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2023-03-15 14:54:37 +0100 |
commit | 4f93698b16a5f22a29f086296425c63907f7bfec (patch) | |
tree | 50e545873e4abf6bb0b59cfba6d7cfa237b6b964 /layouts/services/list.html | |
parent | 8c1aa52a84cfc2f1cfe19462b5048a7355c5728d (diff) |
Overhaul services page
Diffstat (limited to 'layouts/services/list.html')
-rw-r--r-- | layouts/services/list.html | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/layouts/services/list.html b/layouts/services/list.html index 0f06f87..8e78be0 100644 --- a/layouts/services/list.html +++ b/layouts/services/list.html @@ -1,12 +1,13 @@ {{ define "main" }} <h1>{{ .Title }}</h1> {{ .Content }} -<ul> - {{ range .Paginator.Pages }} - <li> - <a href="{{ .Permalink }}">{{ .Title }}</a> - <small>{{ .Params.location }}</small> - </li> - {{ end }} -</ul> +{{ range .Pages }} +<section class="service"> + <h2> + {{ .Title }} + <small><a href="{{ .Params.location }}">{{ .Params.location }}</a></small> + </h2> + {{ .Content }} +</section> +{{ end }} {{ end }} |