website look and description

This commit is contained in:
gurusabarish
2020-10-26 09:56:35 +05:30
parent 4c185424bd
commit 544bfb587d
7 changed files with 49 additions and 31 deletions
+7 -1
View File
@@ -27,7 +27,13 @@
<div class="card-body">
<div class="text-xs font-weight-bold text-primary text-uppercase mb-1">{{ .Title }}</div>
<div class="text-muted">
{{ if .Site.Params.showdescription }}
<div class="text-muted py-2">
{{ .Params.description }}
</div>
{{ end }}
<div class="text-dark">
<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-calendar" fill="currentColor"
xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd"
+5 -8
View File
@@ -6,23 +6,20 @@
&copy; {{ .Site.Params.copyright }} All Rights Reserved<br>
Made with
<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-heart" fill="currentColor"
xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd"
d="M8 2.748l-.717-.737C5.6.281 2.514.878 1.4 3.053c-.523 1.023-.641 2.5.314 4.385.92 1.815 2.834 3.989 6.286 6.357 3.452-2.368 5.365-4.542 6.286-6.357.955-1.886.838-3.362.314-4.385C13.486.878 10.4.28 8.717 2.01L8 2.748zM8 15C-7.333 4.868 3.279-3.04 7.824 1.143c.06.055.119.112.176.171a3.12 3.12 0 0 1 .176-.17C12.72-3.042 23.333 4.867 8 15z" />
</svg>
<a class="text-dark" href="https://github.com/gurusabarish/hugo-profile"
aria-label="hugo-profile">Hugo-profile</a>
and
<a href="https://gohugo.io" aria-label="hugo">Hugo</a>
<a class="text-dark" href="https://gohugo.io" aria-label="hugo">Hugo</a>
by
{{ if .Site.Author.name }}
{{ if .Site.Author.website }}
<a href="{{ .Site.Author.website }}" aria-label="github handle">{{ .Site.Author.name }}</a>
<a class="text-dark" href="{{ .Site.Author.website }}" aria-label="github handle">{{ .Site.Author.name }}</a>
{{ else }}
{{ .Site.Author.name }}
{{ end }}
{{ else }}
<a href="https://github.com/gurusabarish" aria-label="github handle">GuruSabarish</a>
<a class="text-dark" href="https://github.com/gurusabarish" aria-label="github handle">GuruSabarish</a>
{{ end }}
</div>
</footer>
+16
View File
@@ -43,10 +43,12 @@
{{ end }}
</div>
<div class="social p-4">
{{ if .Site.Params.useresume }}
<a href="{{ .Site.Params.resume | default "#" }}" class="btn btn-info" role="button"
aria-pressed="true">
Resume
</a>
{{ end }}
{{ if .Site.Params.github }}
<a class="text-dark" href="{{ .Site.Params.github }}" aria-label="github">
@@ -77,6 +79,20 @@
</svg>
</a>
{{ end }}
{{ if .Site.Params.facebook }}
<a class="text-info" href="{{ .Site.Params.facebook }}" aria-label="facebook">
<svg width="2em" height="2em" aria-hidden="true" focusable="false" data-prefix="fab"
data-icon="facebook-f" class="svg-inline--fa fa-facebook-f fa-w-10" role="img"
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512">
<path fill="currentColor"
d="M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z">
</path>
</svg>
</a>
{{ end }}
</div>
</div>
</div>