Some more random copyediting of Hugo docs

- Change "livereload" and "live reload" to "LiveReload";
 - Add a `$ ` prompt before example command lines
   (not exhaustive, work in progress);
 - Remove unnecessary whitespace from partials;
 - Revise the blackfriday options table in overview/configuration.md
   to make it narrower.
 - Manually set the language for highlight.js where appropriate
 - Rename "404" to "Custom 404 page", and remove incorrect reference
   to "homepage"
 - Credit the author of tutorials/github_pages_blog.md
   (Similar notes are necessary for other contributed pages where
    "I" am not spf13 to avoid reader confusion.)
 - Add CSS for `kbd` and `table` etc. to css/style.css;
 - etc.
This commit is contained in:
Anthony Fok
2015-01-09 11:51:15 -07:00
parent 49f5eb5c84
commit b0181e278b
13 changed files with 163 additions and 94 deletions

View File

@@ -42,7 +42,7 @@
</div>
<div class="nav title-row" id="top_menu">
<h1 class="nav top-menu"> {{.Title}} </h1>
<h1 class="nav top-menu">{{.Title}}</h1>
</div>
</header>
<!--header end-->

View File

@@ -1,6 +1,6 @@
<!--sidebar start-->
<aside>
<div id="sidebar" class="nav-collapse ">
<div id="sidebar" class="nav-collapse">
<!-- sidebar menu start-->
<ul class="sidebar-menu">
{{ $currentNode := . }}
@@ -16,7 +16,7 @@
</a>
<ul class="sub{{if $currentNode.HasMenuCurrent "main" . }} open{{end}}">
{{ range .Children }}
<li{{if $currentNode.IsMenuCurrent "main" . }} class="active"{{end}}><a href="{{.Url}}"> {{ .Name }} </a> </li>
<li{{if $currentNode.IsMenuCurrent "main" . }} class="active"{{end}}><a href="{{.Url}}">{{ .Name }}</a> </li>
{{ end }}
</ul>
{{else}}