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
+11 -10
View File
@@ -21,18 +21,19 @@ params:
Url: "/blog" Url: "/blog"
# social # social
name: "Gurusabarish" name: "Hugo-profile"
github: "https://github.com/gurusabarish" github: "https://github.com"
linkedin: "https://linkedin.com/in/gurusabarish" linkedin: "https://linkedin.com"
twitter: "https://twitter.com/gurusabarishh" twitter: "https://twitter.com"
instagram: "https://instagram.com/gurusabarishh" instagram: "https://instagram.com"
facebook: "https://facebook.com"
# About # About
profile_image: "/images/gurusabarish.webp" profile_image: "/images/profile.webp"
descripe_l1_person: "Hi, I'm Gurusabarish, a passionate web developer and ML engineer. descripe_l1_person: "A high performance hugo theme for personal website and blog. It is a single page portfolio."
I tend to make use of modern web technologies to build websites that looks great, feels fantastic, and functions correctly."
descripe_l2_person: "This is just a example for about section. You can easily change with the help of cofig file." descripe_l2_person: "This is just a example for about section. You can easily change with the help of cofig file."
job: "Web developer" job: "Your job"
useresume: true
resume: "" resume: ""
# Things I do # Things I do
@@ -51,7 +52,7 @@ params:
description: I love to build things for web description: I love to build things for web
#blog ( Description for seo. If you want to show description in your blog post, let's make it true) #blog ( Description for seo. If you want to show description in your blog post, let's make it true)
showdescription: false showdescription: true
Author: Author:
name: "Gurusabarish" name: "Gurusabarish"
+10 -12
View File
@@ -22,18 +22,19 @@ params:
Url: "/blog" Url: "/blog"
# social # social
name: "Gurusabarish" name: "Hugo-profile"
github: "https://github.com/gurusabarish" github: "https://github.com"
linkedin: "https://linkedin.com/in/gurusabarish" linkedin: "https://linkedin.com"
twitter: "https://twitter.com/gurusabarishh" twitter: "https://twitter.com"
instagram: "https://instagram.com/gurusabarishh" instagram: "https://instagram.com"
facebook: "https://facebook.com"
# About # About
profile_image: "/images/gurusabarish.webp" profile_image: "/images/profile.webp"
descripe_l1_person: "Hi, I'm Gurusabarish, a passionate web developer and ML engineer. descripe_l1_person: "A high performance hugo theme for personal website and blog. It is a single page portfolio."
I tend to make use of modern web technologies to build websites that looks great, feels fantastic, and functions correctly."
descripe_l2_person: "This is just a example for about section. You can easily change with the help of cofig file." descripe_l2_person: "This is just a example for about section. You can easily change with the help of cofig file."
job: "Web developer" job: "Your job"
useresume: true
resume: "" resume: ""
# Things I do # Things I do
@@ -51,9 +52,6 @@ params:
title: Things for web title: Things for web
description: I love to build things for web description: I love to build things for web
#footer
embed:
#blog ( Description for seo. If you want to show description in your blog post, let's make it true) #blog ( Description for seo. If you want to show description in your blog post, let's make it true)
showdescription: false showdescription: false
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

+7 -1
View File
@@ -27,7 +27,13 @@
<div class="card-body"> <div class="card-body">
<div class="text-xs font-weight-bold text-primary text-uppercase mb-1">{{ .Title }}</div> <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" <svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-calendar" fill="currentColor"
xmlns="http://www.w3.org/2000/svg"> xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" <path fill-rule="evenodd"
+5 -8
View File
@@ -6,23 +6,20 @@
&copy; {{ .Site.Params.copyright }} All Rights Reserved<br> &copy; {{ .Site.Params.copyright }} All Rights Reserved<br>
Made with Made with
<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-heart" fill="currentColor" <a class="text-dark" href="https://github.com/gurusabarish/hugo-profile"
xmlns="http://www.w3.org/2000/svg"> aria-label="hugo-profile">Hugo-profile</a>
<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>
and 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 by
{{ if .Site.Author.name }} {{ if .Site.Author.name }}
{{ if .Site.Author.website }} {{ 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 }} {{ else }}
{{ .Site.Author.name }} {{ .Site.Author.name }}
{{ end }} {{ end }}
{{ else }} {{ 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 }} {{ end }}
</div> </div>
</footer> </footer>
+16
View File
@@ -43,10 +43,12 @@
{{ end }} {{ end }}
</div> </div>
<div class="social p-4"> <div class="social p-4">
{{ if .Site.Params.useresume }}
<a href="{{ .Site.Params.resume | default "#" }}" class="btn btn-info" role="button" <a href="{{ .Site.Params.resume | default "#" }}" class="btn btn-info" role="button"
aria-pressed="true"> aria-pressed="true">
Resume Resume
</a> </a>
{{ end }}
{{ if .Site.Params.github }} {{ if .Site.Params.github }}
<a class="text-dark" href="{{ .Site.Params.github }}" aria-label="github"> <a class="text-dark" href="{{ .Site.Params.github }}" aria-label="github">
@@ -77,6 +79,20 @@
</svg> </svg>
</a> </a>
{{ end }} {{ 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> </div>
</div> </div>
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB