diff options
Diffstat (limited to 'themes/bare/layouts')
-rw-r--r-- | themes/bare/layouts/_default/single.html | 9 | ||||
-rw-r--r-- | themes/bare/layouts/index.html | 2 |
2 files changed, 9 insertions, 2 deletions
diff --git a/themes/bare/layouts/_default/single.html b/themes/bare/layouts/_default/single.html index 319d849..0850701 100644 --- a/themes/bare/layouts/_default/single.html +++ b/themes/bare/layouts/_default/single.html @@ -20,7 +20,14 @@ <main> - <h1>{{.Params.heading}}</h1> + <h1>{{.Params.name}}</h1> + + <div class="card"> + <p class="card-first-item">Description: {{ .Params.description }}</p> + <p>Browse source code: <a href="https://cgit.xengineering.eu/{{ .Params.name }}/tree">cgit tree</a></p> + <p>Get updates: <a href="https://cgit.xengineering.eu/{{ .Params.name }}/atom">Atom feed</a></p> + <p style="" class="card-last-item">Clone repository: git clone https://cgit.xengineering.eu/{{ .Params.name }}</p> + </div> {{.Content}} diff --git a/themes/bare/layouts/index.html b/themes/bare/layouts/index.html index 1d2669f..f3decef 100644 --- a/themes/bare/layouts/index.html +++ b/themes/bare/layouts/index.html @@ -33,7 +33,7 @@ <ul> {{ $page := .GetPage "git/webiot.md" }} - <li><a href="{{ $page.Permalink }}">{{ $page.Params.heading }}</a> - {{$page.Description}}</li> + <li><a href="{{ $page.Permalink }}">{{ $page.Params.name }}</a> - {{$page.Description}}</li> </ul> <br> |