diff options
author | morph <morph@posteo.de> | 2020-05-26 18:22:53 +0300 |
---|---|---|
committer | morph <morph@posteo.de> | 2020-05-26 18:22:53 +0300 |
commit | 14b5e092f2f5a035b42795ecc1b46d8788f1ab8c (patch) | |
tree | 9253b5b8820af7172adb430070fe6e6ed1a08f25 | |
parent | 6d7c5cd3e12b1af664ac38745526cc3e4d8ca25e (diff) |
remove sidebar everywhere
-rw-r--r-- | layouts/_default/list.html | 1 | ||||
-rw-r--r-- | layouts/_default/single.html | 1 | ||||
-rw-r--r-- | layouts/index.html | 1 | ||||
-rw-r--r-- | layouts/partials/sidebar.html | 14 |
4 files changed, 0 insertions, 17 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 59ee546..6fb6928 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -18,5 +18,4 @@ </ul> {{ partial "pagination.html" . }} </main> -{{ partial "sidebar.html" . }} {{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 7920d00..ce7a5dd 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -17,5 +17,4 @@ {{ end }} </article> </main> -{{ partial "sidebar.html" . }} {{ end }} diff --git a/layouts/index.html b/layouts/index.html index ab01f67..cd86013 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -6,5 +6,4 @@ {{ end }} {{ partial "pagination.html" . }} </main> -{{ partial "sidebar.html" . }} {{ end }} diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html deleted file mode 100644 index 92bbd80..0000000 --- a/layouts/partials/sidebar.html +++ /dev/null @@ -1,14 +0,0 @@ -<aside> - <div> - <div> - <h3>LATEST POSTS</h3> - </div> - <div> - <ul> - {{ range first 5 (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }} - <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li> - {{ end }} - </ul> - </div> - </div> -</aside> |