diff options
author | xengineering <me@xengineering.eu> | 2022-05-31 13:23:55 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2022-05-31 14:15:52 +0200 |
commit | 4a292ac06320580e07f0a0689f6b2a77bc2e3495 (patch) | |
tree | d6111fe12e281c91caa48a7d8d5d5e0927fbf475 /themes | |
parent | 8b10a63cabbb546a9fe759ea27fdb12064d393cd (diff) | |
download | website-4a292ac06320580e07f0a0689f6b2a77bc2e3495.tar website-4a292ac06320580e07f0a0689f6b2a77bc2e3495.tar.zst website-4a292ac06320580e07f0a0689f6b2a77bc2e3495.zip |
Finalize structure for content/git/* pages
Diffstat (limited to 'themes')
-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> |