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

@@ -1,6 +1,17 @@
<div class="header">
<h1>{{ .Site.Title }}</h1>
<h2>{{ .Site.Params.TitleTag | markdownify }}</h2>
<h1 class="site-title">{{ .Site.Title }}</h1>
<div class="site-description">
{{- if isset .Site.Params "subtitle" -}}
<h2>{{ .Site.Params.Subtitle | markdownify }}</h2>
{{- end -}}
<nav class="nav social">
<ul class="flat">
{{- range $index, $key := .Site.Params.Social -}}
<a href="{{ $key.link }}" title="{{ $key.name }}"><i data-feather="{{ $key.icon }}"></i></a>
{{- end -}}
</ul>
</nav>
</div>
<nav class="nav">
<ul class="flat">