docs: Improve command reference page

This commit is contained in:
Mark D. Blackwell 2017-01-06 09:49:15 -05:00 committed by Bjørn Erik Pedersen
parent 5d0748ce51
commit 4b9493cb03

View file

@ -1,9 +1,12 @@
{{ partial "header.html" . }}
<h1>Hugo Commands</h1>
<p>This is an autogenerated and up-to-date (thanks to <a href="https://github.com/spf13/cobra">Cobra</a>) documentation for all the CLI commands in Hugo.</p>
<p>Hugos CLI (command line interface) commands are listed here.
This autogenerated list is always up to date (thanks to
<a href="https://github.com/spf13/cobra">Cobra</a>).
</p>
<ul>
{{ range .Data.Pages }}
<li><a href="{{ .URL }}">{{ .Title }}</a></li>
{{ end }}
{{- range .Data.Pages }}
<li><a href="{{ .URL }}">{{ .Title }}</a></li>
{{- end }}
</ul>
{{ partial "footer.html" . }}