mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-30 00:33:31 -05:00
efc98a3b1f
- Convert config.yaml to config.toml to follow what "hugo new site /path/to/site" generates - Rename layouts/chrome to layouts/partials - Convert "template" calls to "partial" calls - Minor revisions to the text in example content - Upgrade Bootswatch Yeti theme (3.1.1+1 → to 3.2.0+3) - Upgrade Font Awesome (4.0.3 → 4.2.0) - Upgrade jQuery (1.11.0 → 1.11.1)
35 lines
1.2 KiB
HTML
35 lines
1.2 KiB
HTML
{{ partial "header.html" . }}
|
|
<body>
|
|
{{ partial "navbar.html" . }}
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-md-9">
|
|
<div class="well well-sm">
|
|
<h3>{{ .Title }}<br> <small>{{ .Description }}</small></h3>
|
|
<hr>
|
|
{{ .Content }}
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Sidebar -->
|
|
<div class="col-md-3">
|
|
<div class="well well-sm"> <!-- Post-specific stats -->
|
|
<h4>{{ .Date.Format "January 2, 2006" }}<br>
|
|
<small>{{ .WordCount }} words</small></h4>
|
|
<hr>
|
|
<strong>Categories</strong>
|
|
<ul class="list-unstyled">
|
|
{{ range .Params.categories }}
|
|
<li><a href="/categories/{{ . | urlize }}">{{ . }}</a></li>
|
|
{{ end }}
|
|
</ul>
|
|
<hr>
|
|
<strong>Tags</strong><br>
|
|
{{ range .Params.tags }}<a class="label label-default" href="/tags/{{ . | urlize }}">{{ . }}</a> {{ end }}
|
|
</div>
|
|
{{ partial "menu.html" . }}
|
|
</div>
|
|
</div>
|
|
{{ partial "footer.copyright.html" . }}
|
|
</div>
|
|
{{ partial "footer.html" . }}
|