Skip to content

Commit

Permalink
#157, Make docs template default for all pages
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-shpak committed Feb 29, 2020
1 parent 6ecc94e commit 4ee099e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 47 deletions.
6 changes: 4 additions & 2 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,11 @@
{{ end }}

{{ define "main" }}
{{ .Content }}
<article class="markdown">
{{- .Content -}}
</article>
{{ end }}

{{ define "toc" }}
{{ .TableOfContents }}
{{ partial "docs/toc" . }}
{{ end }}
1 change: 1 addition & 0 deletions layouts/_default/list.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{ define "dummy" }}{{ end }}
1 change: 1 addition & 0 deletions layouts/_default/single.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{ define "dummy" }}{{ end }}
9 changes: 0 additions & 9 deletions layouts/docs/list.html

This file was deleted.

9 changes: 0 additions & 9 deletions layouts/docs/single.html

This file was deleted.

27 changes: 0 additions & 27 deletions layouts/home.html

This file was deleted.

0 comments on commit 4ee099e

Please sign in to comment.