feat: add social icons and template bug fixes

This commit is contained in:
Vivek R
2019-04-20 00:22:50 +05:30
parent e9b2b8f64d
commit b89ed755ef
9 changed files with 102 additions and 15 deletions

View File

@@ -13,11 +13,14 @@
{{ end }}
<ul class="posts">
{{- range first .Site.Params.SidebarRecentLimit .Data.Pages -}}
{{- range .Data.Pages -}}
{{- if (in (.Site.Params.excludedTypes | default (slice "page")) .Type) -}}
{{- else -}}
<li class="post">
<a href="{{ .RelPermalink }}">{{.Title}}</a> <span class="meta">{{ dateFormat "Jan 2, 2006" .Date }}</span>
</li>
{{- end -}}
{{- end -}}
</ul>
</div>