Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b8c83aff4c | |||
| 4687d53336 | |||
| 68eb034fdf | |||
| ccee3ad2dd | |||
| 92ffcdb088 | |||
| 9cfe7b3e79 | |||
| d49ebeb82b | |||
| 9ca8c77851 | |||
| 0c564693b3 | |||
| c99e86bef7 | |||
| 6c63323612 | |||
| c51a759b05 |
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
A high performance and mobile first hugo template for personal portfolio and blog
|
A high performance and mobile first hugo template for personal portfolio and blog
|
||||||
|
|
||||||
- Example Site: [hugo-profile.netlify.app](https://hugo-profile.netlify.app)
|
- ### Example Site: [https://hugo-profile.netlify.app](https://hugo-profile.netlify.app)
|
||||||
|
|
||||||
# Features
|
# Features
|
||||||
- Fully Responsive
|
- Fully Responsive
|
||||||
@@ -40,7 +40,7 @@ Technology used: Bootstrap, fontawesome
|
|||||||
[For more details](https://github.com/gurusabarish/hugo-profile/wiki)
|
[For more details](https://github.com/gurusabarish/hugo-profile/wiki)
|
||||||
## Hugo theme
|
## Hugo theme
|
||||||
|
|
||||||
- Install Hugo and create a site using `hugo new site my-site -f=yaml`
|
- Install Hugo and create a site using `hugo new site my-site --format="yaml"`
|
||||||
- Clone this repo inside your themes folder
|
- Clone this repo inside your themes folder
|
||||||
```
|
```
|
||||||
cd themes
|
cd themes
|
||||||
|
|||||||
@@ -352,8 +352,8 @@ params:
|
|||||||
enable: true
|
enable: true
|
||||||
# title: "Custom Name"
|
# title: "Custom Name"
|
||||||
content: My inbox is always open. Whether you have a question or just want to say hi, I’ll try my best to get back to you!
|
content: My inbox is always open. Whether you have a question or just want to say hi, I’ll try my best to get back to you!
|
||||||
email: gurusabarisha@gmail.com
|
|
||||||
btnName: Mail me
|
btnName: Mail me
|
||||||
|
btnLink: mailto:gurusabarisha@gmail.com
|
||||||
# formspree:
|
# formspree:
|
||||||
# enable: true # `contact.email` value will be ignored
|
# enable: true # `contact.email` value will be ignored
|
||||||
# formId: abcdefgh # Take it from your form's endpoint, like 'https://formspree.io/f/abcdefgh'
|
# formId: abcdefgh # Take it from your form's endpoint, like 'https://formspree.io/f/abcdefgh'
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ date: 2022-06-25T18:35:46+05:30
|
|||||||
draft: false
|
draft: false
|
||||||
description: "My gallery :earth_asia:"
|
description: "My gallery :earth_asia:"
|
||||||
layout: "gallery"
|
layout: "gallery"
|
||||||
images:
|
galleryImages:
|
||||||
- src: https://iso.500px.com/wp-content/uploads/2016/03/stock-photo-142984111-1500x1000.jpg
|
- src: https://iso.500px.com/wp-content/uploads/2016/03/stock-photo-142984111-1500x1000.jpg
|
||||||
- src: https://img.etimg.com/thumb/msid-68721417,width-650,imgsize-1016106,,resizemode-4,quality-100/nature1_gettyimages.jpg
|
- src: https://img.etimg.com/thumb/msid-68721417,width-650,imgsize-1016106,,resizemode-4,quality-100/nature1_gettyimages.jpg
|
||||||
- src: https://thumbs.dreamstime.com/b/team-ants-council-collective-decision-work-17037482.jpg
|
- src: https://thumbs.dreamstime.com/b/team-ants-council-collective-decision-work-17037482.jpg
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="card-group p-4">
|
<div class="card-group p-4">
|
||||||
<div class="row justify-content-center">
|
<div class="row justify-content-center">
|
||||||
{{ range .Params.images }}
|
{{ range .Params.galleryImages }}
|
||||||
<div class="col-md-4 p-0 m-0">
|
<div class="col-md-4 p-0 m-0">
|
||||||
<div class="card p-0 m-0 border-0">
|
<div class="card p-0 m-0 border-0">
|
||||||
<img class="w-100" height="280px" src="{{ .src }}">
|
<img class="w-100" height="280px" src="{{ .src }}">
|
||||||
|
|||||||
@@ -69,6 +69,11 @@
|
|||||||
<h5>{{ .Site.Params.terms.social | default "Social" }}</h5>
|
<h5>{{ .Site.Params.terms.social | default "Social" }}</h5>
|
||||||
<div class="social-content">
|
<div class="social-content">
|
||||||
<ul class="list-inline">
|
<ul class="list-inline">
|
||||||
|
<li class="list-inline-item text-center">
|
||||||
|
<a target="_blank" href="https://www.linkedin.com/shareArticle?mini=true&url={{ .Site.Params.hostName }}{{ .Permalink | absURL }}">
|
||||||
|
<i class="fab fa-linkedin"></i>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
<li class="list-inline-item text-center">
|
<li class="list-inline-item text-center">
|
||||||
<a target="_blank" href="https://twitter.com/share?text={{ .Title }}&url={{ .Site.Params.hostName }}{{ .Permalink | absURL }}">
|
<a target="_blank" href="https://twitter.com/share?text={{ .Title }}&url={{ .Site.Params.hostName }}{{ .Permalink | absURL }}">
|
||||||
<i class="fab fa-twitter"></i>
|
<i class="fab fa-twitter"></i>
|
||||||
|
|||||||
@@ -74,19 +74,18 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
body::-webkit-scrollbar {
|
body::-webkit-scrollbar {
|
||||||
width: .5em;
|
height: 0px;
|
||||||
height: .5em;
|
width: 8px;
|
||||||
background-color: var(--background-color);
|
background-color: var(--background-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar-track {
|
::-webkit-scrollbar-track {
|
||||||
box-shadow: inset 0 0 6px var(--background-color);
|
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar-thumb {
|
::-webkit-scrollbar-thumb {
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
background-color: var(--secondary-color);
|
background: #b0b0b0;
|
||||||
outline: 1px solid var(--background-color);
|
outline: 1px solid var(--background-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -96,3 +95,5 @@
|
|||||||
background-color: var(--background-color);
|
background-color: var(--background-color);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
{{ partial "head/extensions.html" . }}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
{{/*
|
||||||
|
You can add further theme extensions or customizations here if they should
|
||||||
|
appear in <head>.
|
||||||
|
*/}}
|
||||||
@@ -22,9 +22,17 @@
|
|||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
{{ else if .Site.Params.contact.email }}
|
{{ else if or (.Site.Params.contact.email) (.Site.Params.contact.btnLink) }}
|
||||||
<div class="text-center pt-3">
|
<div class="text-center pt-3">
|
||||||
<a href="mailto:{{ .Site.Params.contact.email }}" class="btn">
|
<a
|
||||||
|
href='{{ if .Site.Params.contact.btnLink }}
|
||||||
|
{{ .Site.Params.contact.btnLink | default "#" }}
|
||||||
|
{{ else }}
|
||||||
|
mailto:{{ .Site.Params.contact.email }}
|
||||||
|
{{ end }}'
|
||||||
|
target="_blank"
|
||||||
|
class="btn"
|
||||||
|
>
|
||||||
{{ .Site.Params.contact.btnName | default "Get in Touch" }}
|
{{ .Site.Params.contact.btnName | default "Get in Touch" }}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+15
-3
@@ -165,7 +165,17 @@
|
|||||||
position: sticky;
|
position: sticky;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#single .sticky-sidebar ::-webkit-scrollbar {
|
||||||
|
height: 0px;
|
||||||
|
width: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
/* Tags */
|
/* Tags */
|
||||||
|
#single aside.tags {
|
||||||
|
max-height: 35vh;
|
||||||
|
overflow: scroll;
|
||||||
|
}
|
||||||
|
|
||||||
#single aside.tags h5 {
|
#single aside.tags h5 {
|
||||||
margin: .7em 0;
|
margin: .7em 0;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
@@ -173,16 +183,16 @@
|
|||||||
|
|
||||||
|
|
||||||
#single aside.tags ul.tags-ul li a {
|
#single aside.tags ul.tags-ul li a {
|
||||||
padding: 10px 15px;
|
padding: 5px 10px;
|
||||||
margin-bottom: 2px;
|
margin-bottom: 2px;
|
||||||
border-radius: 8px;
|
border-radius: 10px;
|
||||||
background-color: var(--background-color);
|
background-color: var(--background-color);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
#single aside.tags ul.tags-ul li {
|
#single aside.tags ul.tags-ul li {
|
||||||
margin-bottom: 1.2rem;
|
margin-bottom: 0.8rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#single aside.tags ul.tags-ul li:hover {
|
#single aside.tags ul.tags-ul li:hover {
|
||||||
@@ -193,6 +203,8 @@
|
|||||||
/*TOC*/
|
/*TOC*/
|
||||||
#single aside.toc {
|
#single aside.toc {
|
||||||
padding: .7rem 1rem;
|
padding: .7rem 1rem;
|
||||||
|
max-height: 50vh;
|
||||||
|
overflow: scroll;
|
||||||
}
|
}
|
||||||
|
|
||||||
#single aside.toc h5 {
|
#single aside.toc h5 {
|
||||||
|
|||||||
Reference in New Issue
Block a user