adapt to npf.io themes and add social stuffs
This commit is contained in:
parent
5814b3e80c
commit
331ef48d5c
27 changed files with 1980 additions and 178 deletions
|
@ -4,7 +4,7 @@
|
|||
<div class="content container">
|
||||
{{ block "main" . -}}{{- end }}
|
||||
</div>
|
||||
|
||||
|
||||
{{ template "_internal/google_analytics_async.html" . }}
|
||||
</body>
|
||||
</html>
|
|
@ -1,8 +1,9 @@
|
|||
{{ define "main" -}}
|
||||
<h1 class="title">Blog Posts</h1>
|
||||
<ul class="posts">
|
||||
{{ range .Data.Pages -}}
|
||||
<li>
|
||||
<span><a href="{{ .Permalink }}">{{ .Title }}</a> <time class="pull-right post-list">{{ .Date.Format "Mon, Jan 2, 2006" }}</time></span>
|
||||
<span><a href="{{ .Permalink }}">{{ .Title }}</a> <time class="pull-right post-list">{{ .Date.Format "Jan 2, 2006" }}</time></span>
|
||||
</li>
|
||||
{{- end }}
|
||||
</ul>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{{ define "main" -}}
|
||||
<div class="post">
|
||||
<h1>{{ .Title }}</h1>
|
||||
<span class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span>
|
||||
<span class="post-date">{{ .Date.Format "Jan 2, 2006" }}</span>
|
||||
{{ .Content }}
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue