update for performance
This commit is contained in:
+19
-18
@@ -3,6 +3,8 @@ languageCode: "en-us"
|
|||||||
title: "Hugo-profile"
|
title: "Hugo-profile"
|
||||||
theme: "hugo-profile"
|
theme: "hugo-profile"
|
||||||
|
|
||||||
|
googleanalytics: UA-xxxxxxxxx-x
|
||||||
|
disqusShortname: yourdiscussshortname
|
||||||
Paginate: 3
|
Paginate: 3
|
||||||
|
|
||||||
taxonomies:
|
taxonomies:
|
||||||
@@ -11,8 +13,7 @@ taxonomies:
|
|||||||
|
|
||||||
params:
|
params:
|
||||||
favicon: "/images/hugo.png"
|
favicon: "/images/hugo.png"
|
||||||
description: "Portfolio and personal blog"
|
description: "A hugh performance hugo theme for personal website. It is single page portfolio. It has blog, contact sections also. Contact is powered by formspree."
|
||||||
googleanalytics: ""
|
|
||||||
disqus: ""
|
disqus: ""
|
||||||
copyright: "2020"
|
copyright: "2020"
|
||||||
|
|
||||||
@@ -35,10 +36,10 @@ params:
|
|||||||
# Home
|
# Home
|
||||||
name: "Gurusabarish"
|
name: "Gurusabarish"
|
||||||
profile: "/images/avatar-370-456322.webp"
|
profile: "/images/avatar-370-456322.webp"
|
||||||
github: "https://github.com/#"
|
github: "https://github.com/gurusabarish"
|
||||||
linkedin: "https://linkedin.com/#"
|
linkedin: "https://linkedin.com/in/gurusabarish"
|
||||||
twitter: "https://twitter.com/#"
|
twitter: "https://twitter.com/gurusabarishh"
|
||||||
instagram: "https://instagram.com/#"
|
instagram: "https://instagram.com/gurusabarishh"
|
||||||
|
|
||||||
# Do things
|
# Do things
|
||||||
usedothings: true
|
usedothings: true
|
||||||
@@ -62,51 +63,51 @@ params:
|
|||||||
#projects
|
#projects
|
||||||
projects:
|
projects:
|
||||||
- title: "Project name"
|
- title: "Project name"
|
||||||
image: "https://images.unsplash.com/photo-1532781914607-2031eca2f00d?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&ixid=eyJhcHBfaWQiOjMyMDc0fQ&s=7c625ea379640da3ef2e24f20df7ce8d"
|
image: "/images/project-preview.jpg"
|
||||||
description: "This is your description"
|
description: "This is your description"
|
||||||
secoundarylink: true
|
secoundarylink: true
|
||||||
secoundaryurlname: "Secoundary link"
|
secoundaryurlname: "Secoundary link"
|
||||||
secoundaryurl: ""
|
secoundaryurl: "https://github.com/gurusabarish/hugo-profile"
|
||||||
sourceurl: "https://github.com/gurusabarish/hugo-profile"
|
sourceurl: "https://github.com/gurusabarish/hugo-profile"
|
||||||
|
|
||||||
- title: "Project name"
|
- title: "Project name"
|
||||||
image: "https://images.unsplash.com/photo-1532781914607-2031eca2f00d?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&ixid=eyJhcHBfaWQiOjMyMDc0fQ&s=7c625ea379640da3ef2e24f20df7ce8d"
|
image: "/images/project-preview.jpg"
|
||||||
description: "This is your description"
|
description: "This is your description"
|
||||||
secoundarylink: true
|
secoundarylink: true
|
||||||
secoundaryurlname: "Secoundary link"
|
secoundaryurlname: "Secoundary link"
|
||||||
secoundaryurl: ""
|
secoundaryurl: "https://github.com/gurusabarish/hugo-profile"
|
||||||
sourceurl: "https://github.com/gurusabarish/hugo-profile"
|
sourceurl: "https://github.com/gurusabarish/hugo-profile"
|
||||||
|
|
||||||
- title: "Project name"
|
- title: "Project name"
|
||||||
image: "https://images.unsplash.com/photo-1532781914607-2031eca2f00d?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&ixid=eyJhcHBfaWQiOjMyMDc0fQ&s=7c625ea379640da3ef2e24f20df7ce8d"
|
image: "/images/project-preview.jpg"
|
||||||
description: "This is your description"
|
description: "This is your description"
|
||||||
secoundarylink: true
|
secoundarylink: true
|
||||||
secoundaryurlname: "Secoundary link"
|
secoundaryurlname: "Secoundary link"
|
||||||
secoundaryurl: ""
|
secoundaryurl: "https://github.com/gurusabarish/hugo-profile"
|
||||||
sourceurl: "https://github.com/gurusabarish/hugo-profile"
|
sourceurl: "https://github.com/gurusabarish/hugo-profile"
|
||||||
|
|
||||||
- title: "Project name"
|
- title: "Project name"
|
||||||
image: "https://images.unsplash.com/photo-1532781914607-2031eca2f00d?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&ixid=eyJhcHBfaWQiOjMyMDc0fQ&s=7c625ea379640da3ef2e24f20df7ce8d"
|
image: "/images/project-preview.jpg"
|
||||||
description: "This is your description"
|
description: "This is your description"
|
||||||
secoundarylink: true
|
secoundarylink: true
|
||||||
secoundaryurlname: "Secoundary link"
|
secoundaryurlname: "Secoundary link"
|
||||||
secoundaryurl: ""
|
secoundaryurl: "https://github.com/gurusabarish/hugo-profile"
|
||||||
sourceurl: "https://github.com/gurusabarish/hugo-profile"
|
sourceurl: "https://github.com/gurusabarish/hugo-profile"
|
||||||
|
|
||||||
- title: "Project name"
|
- title: "Project name"
|
||||||
image: "https://images.unsplash.com/photo-1532781914607-2031eca2f00d?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&ixid=eyJhcHBfaWQiOjMyMDc0fQ&s=7c625ea379640da3ef2e24f20df7ce8d"
|
image: "/images/project-preview.jpg"
|
||||||
description: "This is your description"
|
description: "This is your description"
|
||||||
secoundarylink: true
|
secoundarylink: true
|
||||||
secoundaryurlname: "Secoundary link"
|
secoundaryurlname: "Secoundary link"
|
||||||
secoundaryurl: ""
|
secoundaryurl: "https://github.com/gurusabarish/hugo-profile"
|
||||||
sourceurl: "https://github.com/gurusabarish/hugo-profile"
|
sourceurl: "https://github.com/gurusabarish/hugo-profile"
|
||||||
|
|
||||||
- title: "Project name"
|
- title: "Project name"
|
||||||
image: "https://images.unsplash.com/photo-1532781914607-2031eca2f00d?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&ixid=eyJhcHBfaWQiOjMyMDc0fQ&s=7c625ea379640da3ef2e24f20df7ce8d"
|
image: "/images/project-preview.jpg"
|
||||||
description: "This is your description"
|
description: "This is your description"
|
||||||
secoundarylink: true
|
secoundarylink: true
|
||||||
secoundaryurlname: "Secoundary link"
|
secoundaryurlname: "Secoundary link"
|
||||||
secoundaryurl: ""
|
secoundaryurl: "https://github.com/gurusabarish/hugo-profile"
|
||||||
sourceurl: "https://github.com/gurusabarish/hugo-profile"
|
sourceurl: "https://github.com/gurusabarish/hugo-profile"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -14,9 +14,13 @@
|
|||||||
<div class="mb-4">
|
<div class="mb-4">
|
||||||
<div class="card border-bottom-primary shadow pb-2">
|
<div class="card border-bottom-primary shadow pb-2">
|
||||||
{{ if .Params.tags }}
|
{{ if .Params.tags }}
|
||||||
<h5 class="card-header">
|
<h5 class="card-header m-0">
|
||||||
{{ range .Params.tags }}
|
{{ if .Params.tags }}
|
||||||
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}" class="btn btn-info btn-rounded mb-2">{{ . }}</a>
|
{{ range $tags := .Params.tags }}
|
||||||
|
{{ with $.Site.GetPage (printf "/tags/%s" $tags) }}
|
||||||
|
<a href="{{ .RelPermalink }}" class="btn btn-info btn-rounded mb-2">{{ $tags }}</a>
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</h5>
|
</h5>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
@@ -52,17 +56,16 @@
|
|||||||
|
|
||||||
<div class="row justify-content-center pt-3">
|
<div class="row justify-content-center pt-3">
|
||||||
<div class="col-lg-7 col-md-7">
|
<div class="col-lg-7 col-md-7">
|
||||||
<div class=" mb-4 pt-3">
|
<div class=" mb-4">
|
||||||
<div class="card shadow ">
|
<div class="card shadow p-0">
|
||||||
<h5 class="card-header bg-warning">Tags</h5>
|
<h5 class="card-header m-0 bg-warning">Tags</h5>
|
||||||
<div class=" card-body">
|
<div class=" card-body">
|
||||||
{{range $name, $taxonomy := .Site.Taxonomies.tags}} {{ $cnt := .Count }}
|
{{range $name, $taxonomy := .Site.Taxonomies.tags}}
|
||||||
{{ with $.Site.GetPage (printf "/tags/%s" $name) }}
|
{{ with $.Site.GetPage (printf "/tags/%s" $name) }}
|
||||||
<a href="{{ .RelPermalink }}" class="btn btn-warning rounded-pill mb-2">{{$name}}</a>
|
<a href="{{ .RelPermalink }}" class="btn btn-warning rounded-pill mb-2">{{$name}}</a>
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -83,42 +83,22 @@
|
|||||||
<!-- Tags -->
|
<!-- Tags -->
|
||||||
<div class="mb-4 p-5">
|
<div class="mb-4 p-5">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h5 class="card-header">Tags</h5>
|
<h5 class="card-header m-0">Tags</h5>
|
||||||
<div class=" card-body">
|
<div class=" card-body">
|
||||||
{{ if .Params.tags }}
|
{{ if .Params.tags }}
|
||||||
{{ range .Params.tags }}
|
{{ range $tags := .Params.tags }}
|
||||||
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}"
|
{{ with $.Site.GetPage (printf "/tags/%s" $tags) }}
|
||||||
class="btn btn-warning rounded-pill mb-2">{{ . }}</a>
|
<a href="{{ .RelPermalink }}" class="btn btn-info btn-rounded mb-2">{{ $tags }}</a>
|
||||||
{{end}}
|
{{ end }}
|
||||||
{{end}}
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
{{ template "_internal/disqus.html" . }}
|
||||||
<div id="disqus_thread"></div>
|
|
||||||
<script>
|
|
||||||
/**
|
|
||||||
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
|
|
||||||
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
|
|
||||||
/*
|
|
||||||
var disqus_config = function () {
|
|
||||||
this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
|
|
||||||
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
|
|
||||||
};
|
|
||||||
*/
|
|
||||||
(function () { // DON'T EDIT BELOW THIS LINE
|
|
||||||
var d = document,
|
|
||||||
s = d.createElement('script');
|
|
||||||
s.src = '{{ .Site.Params.disqus }}/embed.js';
|
|
||||||
s.setAttribute('data-timestamp', +new Date());
|
|
||||||
(d.head || d.body).appendChild(s);
|
|
||||||
})();
|
|
||||||
</script>
|
|
||||||
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by
|
|
||||||
Disqus.</a></noscript>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+3
-17
@@ -2,29 +2,15 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
{{- partial "head.html" . -}}
|
|
||||||
<title>{{- .Site.Title -}}</title>
|
<title>{{- .Site.Title -}}</title>
|
||||||
<meta name="description" content="{{ .Site.Params.description }}" />
|
|
||||||
|
|
||||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
|
||||||
<script async src="https://www.googletagmanager.com/gtag/js?id={{ .Site.Params.googleanalytics }}"></script>
|
|
||||||
<script>
|
|
||||||
window.dataLayer = window.dataLayer || [];
|
|
||||||
|
|
||||||
function gtag() {
|
|
||||||
dataLayer.push(arguments);
|
|
||||||
}
|
|
||||||
gtag('js', new Date());
|
|
||||||
|
|
||||||
gtag('config', '{{ .Site.Params.googleanalytics }}');
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- stylesheets -->
|
<!-- stylesheets -->
|
||||||
<link rel="stylesheet" href="/css/bootstrap.min.css">
|
<link rel="stylesheet" href="/css/bootstrap.min.css">
|
||||||
<link rel="stylesheet" href="/css/index.css">
|
<link rel="stylesheet" href="/css/index.css">
|
||||||
|
|
||||||
<!-- Fonts -->
|
<!-- Fonts -->
|
||||||
<link href="https://fonts.googleapis.com/css2?family=PT+Serif&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=PT+Serif&display=swap" rel="stylesheet">
|
||||||
|
<meta name="description" content="{{ .Site.Params.description }}">
|
||||||
|
{{ template "_internal/google_analytics.html" . }}
|
||||||
|
{{- partial "head.html" . -}}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -3,23 +3,23 @@
|
|||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
|
||||||
<h5 class="text-uppercase pb-2 font-weight-bold"><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h5>
|
<div class="footer-site text-uppercase pb-2 font-weight-bold"><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></div>
|
||||||
|
|
||||||
© {{ .Site.Params.copyright }} All Rights Reserved<br>
|
© {{ .Site.Params.copyright }} All Rights Reserved<br>
|
||||||
|
|
||||||
<a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> made with
|
Made with
|
||||||
<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-heart" fill="currentColor"
|
<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-heart" fill="currentColor"
|
||||||
xmlns="http://www.w3.org/2000/svg">
|
xmlns="http://www.w3.org/2000/svg">
|
||||||
<path fill-rule="evenodd"
|
<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" />
|
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>
|
</svg>
|
||||||
and
|
and
|
||||||
<a href="https://gohugo.io" target="_blank">Hugo</a>
|
<a 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 }}" target="_blank">{{ .Site.Author.name }}</a>
|
<a href="{{ .Site.Author.website }}" aria-label="github handle">{{ .Site.Author.name }}</a>
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{ .Site.Author.name }}
|
{{ .Site.Author.name }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -1,11 +1,9 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
|
|
||||||
<link rel="icon" href="{{ .Site.Params.favicon | default "/images/favicon.png"}}" type="image/gif">
|
<link rel="icon" href="{{ .Site.Params.favicon | default "/images/favicon.png"}}" type="image/gif">
|
||||||
|
|
||||||
<!-- Header and Footer -->
|
<!-- Header and Footer -->
|
||||||
<link rel="stylesheet" href="/css/head_foot.css">
|
<link rel="stylesheet" href="/css/head_foot.css">
|
||||||
|
|
||||||
<!-- Fonts -->
|
<!-- Fonts -->
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Alata&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Alata&display=swap" rel="stylesheet">
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
<div class="about-me jop font-weight-bold text-secondary">{{ .Site.Params.job }}</div>
|
<div class="about-me jop font-weight-bold text-secondary">{{ .Site.Params.job }}</div>
|
||||||
|
|
||||||
{{ if .Site.Params.linkedin }}
|
{{ if .Site.Params.linkedin }}
|
||||||
<a class="text-white" href="{{ .Site.Params.linkedin }}" target="_blank">
|
<a class="text-white" href="{{ .Site.Params.linkedin }}" aria-label="linkedin">
|
||||||
<svg class="text-primary" width="2em" height="2em" fill="currentColor"
|
<svg class="text-primary" width="2em" height="2em" fill="currentColor"
|
||||||
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
|
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
|
||||||
<path
|
<path
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
</a>
|
</a>
|
||||||
|
|
||||||
{{ if .Site.Params.github }}
|
{{ if .Site.Params.github }}
|
||||||
<a class="text-dark" href="{{ .Site.Params.github }}" target="_blank">
|
<a class="text-dark" href="{{ .Site.Params.github }}" aria-label="github">
|
||||||
<svg width="2em" height="2em" fill="currentColor" xmlns="http://www.w3.org/2000/svg"
|
<svg width="2em" height="2em" fill="currentColor" xmlns="http://www.w3.org/2000/svg"
|
||||||
viewBox="0 0 448 512">
|
viewBox="0 0 448 512">
|
||||||
<path
|
<path
|
||||||
@@ -44,7 +44,7 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if .Site.Params.twitter }}
|
{{ if .Site.Params.twitter }}
|
||||||
<a class="text-info" href="{{ .Site.Params.twitter }}" target="_blank">
|
<a class="text-info" href="{{ .Site.Params.twitter }}" aria-label="twitter">
|
||||||
<svg width="2em" height="2em" fill="currentColor" xmlns="http://www.w3.org/2000/svg"
|
<svg width="2em" height="2em" fill="currentColor" xmlns="http://www.w3.org/2000/svg"
|
||||||
viewBox="0 0 448 512">
|
viewBox="0 0 448 512">
|
||||||
<path
|
<path
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if .Site.Params.instagram }}
|
{{ if .Site.Params.instagram }}
|
||||||
<a class="text-danger" href="{{ .Site.Params.instagram }}" target="_blank">
|
<a class="text-danger" href="{{ .Site.Params.instagram }}" aria-label="instagram">
|
||||||
<svg width="2em" height="2em" fill="currentColor" xmlns="http://www.w3.org/2000/svg"
|
<svg width="2em" height="2em" fill="currentColor" xmlns="http://www.w3.org/2000/svg"
|
||||||
viewBox="0 0 448 512">
|
viewBox="0 0 448 512">
|
||||||
<path
|
<path
|
||||||
|
|||||||
@@ -2,11 +2,10 @@
|
|||||||
<div class="p-3 blog-back">
|
<div class="p-3 blog-back">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="text-center pb-3">
|
<div class="text-center pb-3">
|
||||||
<h4>Recent posts</h4>
|
<div class="recent-posts">Recent posts</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
{{ range first 4 (where site.RegularPages.ByDate.Reverse "Type" "in" site.Params.mainSections )}}
|
{{ range first 4 (where site.RegularPages.ByDate.Reverse "Type" "in" site.Params.mainSections )}}
|
||||||
<div class="col-lg-3 col-md-5 pb-3 post-card">
|
<div class="col-lg-3 col-md-5 pb-3 post-card">
|
||||||
<a href="{{ .RelPermalink }}">
|
<a href="{{ .RelPermalink }}">
|
||||||
@@ -17,7 +16,6 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -19,23 +19,23 @@
|
|||||||
<div class="collapse navbar-collapse" id="navbarNavDropdown">
|
<div class="collapse navbar-collapse" id="navbarNavDropdown">
|
||||||
<ul class="navbar-nav ml-auto">
|
<ul class="navbar-nav ml-auto">
|
||||||
<li class="nav-item navbar-text">
|
<li class="nav-item navbar-text">
|
||||||
<a class="nav-link text-dark" href="{{ .Site.BaseURL }}#home">Home</a>
|
<a class="nav-link text-dark" href="{{ .Site.BaseURL }}#home" aria-label="home">Home</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item navbar-text">
|
<li class="nav-item navbar-text">
|
||||||
<a class="nav-link text-dark" href="{{ .Site.BaseURL }}#about">About</a>
|
<a class="nav-link text-dark" href="{{ .Site.BaseURL }}#about" aria-label="about">About</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item navbar-text">
|
<li class="nav-item navbar-text">
|
||||||
<a class="nav-link text-dark" href="{{ .Site.BaseURL }}#projects">Projects</a>
|
<a class="nav-link text-dark" href="{{ .Site.BaseURL }}#projects" aria-label="projects">Projects</a>
|
||||||
</li>
|
</li>
|
||||||
{{ if .Site.Params.contact }}
|
{{ if .Site.Params.contact }}
|
||||||
<li class="nav-item navbar-text">
|
<li class="nav-item navbar-text">
|
||||||
<a class="nav-link text-dark" href="{{ .Site.BaseURL }}#contact">Contact</a>
|
<a class="nav-link text-dark" href="{{ .Site.BaseURL }}#contact" aria-label="contact">Contact</a>
|
||||||
</li>
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ range site.Params.customMenus }}
|
{{ range site.Params.customMenus }}
|
||||||
<li class="nav-item navbar-text">
|
<li class="nav-item navbar-text">
|
||||||
<a class="nav-link text-dark" href="{{.Url}}">{{ .name }}</a>
|
<a class="nav-link text-dark" href="{{.Url}}" aria-label="{{ .name }}">{{ .name }}</a>
|
||||||
</li>
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
@@ -53,7 +53,7 @@
|
|||||||
<!-- socialmedia -->
|
<!-- socialmedia -->
|
||||||
<div class="social">
|
<div class="social">
|
||||||
{{ if .Site.Params.github }}
|
{{ if .Site.Params.github }}
|
||||||
<a class="text-white" href="{{ .Site.Params.github }}" target="_blank">
|
<a class="text-white" href="{{ .Site.Params.github }}" aria-label="github">
|
||||||
<svg width="1.1em" height="1.1em" fill="currentColor" xmlns="http://www.w3.org/2000/svg"
|
<svg width="1.1em" height="1.1em" fill="currentColor" xmlns="http://www.w3.org/2000/svg"
|
||||||
viewBox="0 0 448 512">
|
viewBox="0 0 448 512">
|
||||||
<path
|
<path
|
||||||
@@ -63,7 +63,7 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if .Site.Params.linkedin }}
|
{{ if .Site.Params.linkedin }}
|
||||||
<a class="text-white" href="{{ .Site.Params.linkedin }}" target="_blank">
|
<a class="text-white" href="{{ .Site.Params.linkedin }}" aria-label="linkedin">
|
||||||
<svg width="1.1em" height="1.1em" fill="currentColor" xmlns="http://www.w3.org/2000/svg"
|
<svg width="1.1em" height="1.1em" fill="currentColor" xmlns="http://www.w3.org/2000/svg"
|
||||||
viewBox="0 0 448 512">
|
viewBox="0 0 448 512">
|
||||||
<path
|
<path
|
||||||
@@ -73,7 +73,7 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if .Site.Params.twitter }}
|
{{ if .Site.Params.twitter }}
|
||||||
<a class="text-white" href="{{ .Site.Params.twitter }}" target="_blank">
|
<a class="text-white" href="{{ .Site.Params.twitter }}" aria-label="twitter">
|
||||||
<svg width="1.1em" height="1.1em" fill="currentColor" xmlns="http://www.w3.org/2000/svg"
|
<svg width="1.1em" height="1.1em" fill="currentColor" xmlns="http://www.w3.org/2000/svg"
|
||||||
viewBox="0 0 448 512">
|
viewBox="0 0 448 512">
|
||||||
<path
|
<path
|
||||||
@@ -83,7 +83,7 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if .Site.Params.instagram }}
|
{{ if .Site.Params.instagram }}
|
||||||
<a class="text-white" href="{{ .Site.Params.instagram }}" target="_blank">
|
<a class="text-white" href="{{ .Site.Params.instagram }}" aria-label="instagram">
|
||||||
<svg width="1.1em" height="1.1em" fill="currentColor" xmlns="http://www.w3.org/2000/svg"
|
<svg width="1.1em" height="1.1em" fill="currentColor" xmlns="http://www.w3.org/2000/svg"
|
||||||
viewBox="0 0 448 512">
|
viewBox="0 0 448 512">
|
||||||
<path
|
<path
|
||||||
@@ -100,8 +100,6 @@
|
|||||||
<img src="{{ .Site.Params.profile | default "/images/avatar-370-456322.webp"}}" width="150px"
|
<img src="{{ .Site.Params.profile | default "/images/avatar-370-456322.webp"}}" width="150px"
|
||||||
class="rounded-circle img-fluid" alt="{{ .Site.Params.name }}">
|
class="rounded-circle img-fluid" alt="{{ .Site.Params.name }}">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-lg-3 home-content d-none d-md-block" style="background-image: url('{{ $backimg | absURL }}');"></div>
|
<div class="col-lg-3 home-content d-none d-md-block" style="background-image: url('{{ $backimg | absURL }}');"></div>
|
||||||
|
|||||||
@@ -14,15 +14,15 @@
|
|||||||
<div class="card">
|
<div class="card">
|
||||||
<img class="img-fluid" src="{{ .image }}" alt="{{ .title }}">
|
<img class="img-fluid" src="{{ .image }}" alt="{{ .title }}">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<h4 class="card-title">{{ .title }}</h4>
|
<div class="card-title">{{ .title }}</div>
|
||||||
<p class="card-text">{{ .description}}</p>
|
<p class="card-text">{{ .description}}</p>
|
||||||
|
|
||||||
{{ if .secoundarylink}}
|
{{ if .secoundarylink}}
|
||||||
<a href="{{ .secoundaryurl }}" class="btn btn-info">{{ .secoundaryurlname }}</a>
|
<a href="{{ .secoundaryurl }}" class="btn btn-info" aria-label="{{ .secoundaryurlname }}">{{ .secoundaryurlname }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if .sourceurl }}
|
{{ if .sourceurl }}
|
||||||
<a class="text-dark" href="{{ .sourceurl }}" target="_blank">
|
<a class="text-dark" href="{{ .sourceurl }}" aria-label="github">
|
||||||
<svg width="2em" height="2em" fill="currentColor"
|
<svg width="2em" height="2em" fill="currentColor"
|
||||||
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
|
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
|
||||||
<path
|
<path
|
||||||
|
|||||||
@@ -6,3 +6,8 @@
|
|||||||
.navbar-text {
|
.navbar-text {
|
||||||
font-size: 17px;
|
font-size: 17px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.footer-site {
|
||||||
|
font-family: 'Alata', sans-serif;
|
||||||
|
font-size: 25px;
|
||||||
|
}
|
||||||
@@ -82,6 +82,13 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* recent posts */
|
||||||
|
.recent-posts {
|
||||||
|
font-family: 'Alata', sans-serif;
|
||||||
|
font-size: 25px;
|
||||||
|
}
|
||||||
|
|
||||||
/* do things */
|
/* do things */
|
||||||
|
|
||||||
.do-things {
|
.do-things {
|
||||||
@@ -170,6 +177,10 @@
|
|||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.card-title {
|
||||||
|
font-family: 'Alata', sans-serif;
|
||||||
|
font-size: 28px;
|
||||||
|
}
|
||||||
|
|
||||||
/* recent posts */
|
/* recent posts */
|
||||||
.blog-back {
|
.blog-back {
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 160 KiB |
+2
-2
@@ -3,8 +3,8 @@ license = "MIT"
|
|||||||
licenselink = "https://github.com/gurusabarish/hugo-profile/blob/master/LICENSE"
|
licenselink = "https://github.com/gurusabarish/hugo-profile/blob/master/LICENSE"
|
||||||
description = "A high performance hugo theme for personal portfolio"
|
description = "A high performance hugo theme for personal portfolio"
|
||||||
homepage = "https://hugo-profile.netlify.com"
|
homepage = "https://hugo-profile.netlify.com"
|
||||||
tags = ["Responsive","Blog", "Portfolio"]
|
tags = ["Responsive","Blog", "Portfolio", "Personal website"]
|
||||||
features = []
|
features = ["Highly customizable"]
|
||||||
min_version = "0.68.0"
|
min_version = "0.68.0"
|
||||||
|
|
||||||
[author]
|
[author]
|
||||||
|
|||||||
Reference in New Issue
Block a user