diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-08-16 00:50:25 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-08-16 00:50:25 +0530 |
commit | 661454f5f73182da69401d1dff9c7c3c7693129b (patch) | |
tree | 50f2f8046e416e41fac61126d283d074bf71ea2e /layouts/docs/single.html | |
parent | c5b579c719b5197510091472af951a675beb6211 (diff) |
Diffstat (limited to 'layouts/docs/single.html')
-rw-r--r-- | layouts/docs/single.html | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/layouts/docs/single.html b/layouts/docs/single.html deleted file mode 100644 index 1823c5d..0000000 --- a/layouts/docs/single.html +++ /dev/null @@ -1,24 +0,0 @@ -{{ define "main" }} -{{ $wrappedTable := printf "<div class='table-wrapper'> ${1} </div>" }} -<div> - <h1 class="title centered">{{ .Title }}</h1> - <!--p style="text-align: center;">{{ .Summary }}</p--> - {{ .Content | replaceRE "(<table>(?:.|\n)+?</table>)" $wrappedTable | safeHTML }} - - <!-- For some reason prevpage shows next and vice versa --> - <div class="page-nav"> - <span> - {{ if .NextInSection }} - <a href="{{ .NextInSection.Permalink }}">Previous: {{ .NextInSection.Title }}</a> - {{ end }} - </span> - - <span> - {{ if .PrevInSection }} - <a href="{{ .PrevInSection.Permalink }}">Next: {{ .PrevInSection.Title }}</a> - {{ end }} - </span> - </div> - -</div> -{{ end }} |