Commit 85307544 authored by Ethan Madison's avatar Ethan Madison
Browse files

Remove unnecessary sidebar modules

Removed table of contents, categories, and tags modules because we don't
need them.
Signed-off-by: default avatarEthan Madison <>
parent 4eafa97b
......@@ -3,40 +3,6 @@
<div class="col-sm-3 col-sm-offset-1 doc-sidebar">
<div id="sidebar">
<div class="sidebar-module">
<div class="sidebar-toc">
<h4 class="sidebar-heading">Table of Contents</h4>
<li><strong><a href="#title">{{ .Title }}</a></strong></li>
{{ .TableOfContents }}
<div class="sidebar-module">
<h4 class="sidebar-heading">Pages in Categories</h4>
<ul class="sidebar-category-list">
{{ range $name, $taxonomy := .Site.Taxonomies.categories }}
<a href="{{ $baseUrl }}/categories/{{ $name | urlize }}">
<span class="doc-list-category">{{ $name | title }}</span>
<ul>{{ range $taxonomy.Pages }}
<li>{{ if eq $url .Permalink }}
<span class="active">{{ .Title }}{{ if .Draft }} #Draft{{ end }}</span>
{{ else }}<a href="{{ .RelPermalink }}">{{ .Title }}{{ if .Draft }} #Draft{{ end }}</a>
{{ end }}</li>
{{ end }}
{{ end }}
<div class="sidebar-module">
<h4 class="sidebar-heading">Tags</h4>
<div class="tag-box">
{{ range $name, $taxonomy := .Site.Taxonomies.tags }}
<a class="tag-item" href="{{ $baseUrl }}/tags/{{ $name | urlize }}">{{ $name }}</a>
{{ end }}
</div><!-- /.doc-sidebar -->
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment