2014-05-17 05:02:47 +08:00
|
|
|
{{ template "chrome/header.html" . }}
|
|
|
|
<body>
|
|
|
|
{{ template "chrome/navbar.html" . }}
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
2018-09-05 02:22:26 +08:00
|
|
|
<div class="col-md-10">
|
2014-05-17 05:02:47 +08:00
|
|
|
<div class="well well-sm">
|
|
|
|
<h3>{{ .Title }}<br> <small>{{ .Description }}</small></h3>
|
|
|
|
<hr>
|
|
|
|
{{ .Content }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Sidebar -->
|
2018-09-05 02:22:26 +08:00
|
|
|
<div class="col-md-2">
|
2014-05-17 05:02:47 +08:00
|
|
|
<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>
|
|
|
|
{{ template "chrome/menu.html" . }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ template "chrome/footer.copyright.html" . }}
|
|
|
|
</div>
|
2018-09-05 02:22:26 +08:00
|
|
|
{{ template "chrome/footer.html" . }}
|