diff options
Diffstat (limited to 'layouts/partials/default.html')
-rw-r--r-- | layouts/partials/default.html | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/layouts/partials/default.html b/layouts/partials/default.html index b60b3cb..8bd157c 100644 --- a/layouts/partials/default.html +++ b/layouts/partials/default.html @@ -12,12 +12,17 @@ {{ template "section-tree-nav" dict "sect" . "currentnode" $currentNode}} {{ end }} {{ end }} + {{ if .Content }} + <div> + <button class="btn btn-primary btn-block" id="generatePDF" > Get Pdf </button> + </div> + {{ end }} </ul> </div> </div> <div class="col-lg-9"> - <div class="p-lg-5 p-4 bg-white"> - <h2 class="mb-5">{{ .Title }}</h2> + <div class="p-lg-5 p-4 bg-white" id="content"> + <h2 class="mb-5" id="title">{{ .Title }}</h2> {{ if .Content }} <div class="content">{{.Content}}</div> {{ else }} |