12 Commits

Author SHA1 Message Date
Guru Sabarish b8c83aff4c Update README.md 2024-06-04 04:16:09 +05:30
gurusabarish 4687d53336 get in touch button dynamic link support - #155 2024-03-09 19:04:52 +05:30
Guru Sabarish 68eb034fdf Merge pull request #143 from aniketbhatnagar/feature/head-extensions
Added ability to add custom content to head
2024-03-09 18:31:53 +05:30
Guru Sabarish ccee3ad2dd Merge pull request #153 from Maverobot/master
Add a button for sharing posts to Linkedin
2024-03-09 18:24:54 +05:30
gurusabarish 92ffcdb088 scrollbar and post styling update 2024-01-15 23:34:35 +05:30
Zheng Qu 9cfe7b3e79 Add a button for sharing posts to Linkedin 2024-01-12 09:08:02 +01:00
Guru Sabarish d49ebeb82b Merge pull request #142 from jochavez/master
Updating gallery param to fix Internal templates
2023-12-24 16:12:36 +05:30
Aniket Bhatnagar 9ca8c77851 Added ability to customize head 2023-12-21 11:48:54 +01:00
Jordan Castillo Chavez 0c564693b3 update gallery layout to use new name
updating the gallery layout to use the new param name passed from the gallery content file.
2023-12-18 17:40:01 -05:00
Jordan Castillo Chavez c99e86bef7 update gallery param name
updating the param `images` in the gallery file.
2023-12-18 17:38:36 -05:00
Guru Sabarish 6c63323612 Merge pull request #140 from statictear/patch-1
Update README.md hugo new site syntax
2023-12-17 11:17:10 +05:30
John Woodling c51a759b05 Update README.md
updated line 43 for hugo new site with --format flag and put YAML in double quotations to align with the hugo-new-site man page
2023-12-13 10:34:38 -06:00
9 changed files with 46 additions and 16 deletions
+2 -2
View File
@@ -11,7 +11,7 @@
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
- Fully Responsive
@@ -40,7 +40,7 @@ Technology used: Bootstrap, fontawesome
[For more details](https://github.com/gurusabarish/hugo-profile/wiki)
## 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
```
cd themes
+1 -1
View File
@@ -352,8 +352,8 @@ params:
enable: true
# title: "Custom Name"
content: My inbox is always open. Whether you have a question or just want to say hi, Ill try my best to get back to you!
email: gurusabarisha@gmail.com
btnName: Mail me
btnLink: mailto:gurusabarisha@gmail.com
# formspree:
# enable: true # `contact.email` value will be ignored
# formId: abcdefgh # Take it from your form's endpoint, like 'https://formspree.io/f/abcdefgh'
+1 -1
View File
@@ -4,7 +4,7 @@ date: 2022-06-25T18:35:46+05:30
draft: false
description: "My gallery :earth_asia:"
layout: "gallery"
images:
galleryImages:
- 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://thumbs.dreamstime.com/b/team-ants-council-collective-decision-work-17037482.jpg
+1 -1
View File
@@ -16,7 +16,7 @@
</div>
<div class="card-group p-4">
<div class="row justify-content-center">
{{ range .Params.images }}
{{ range .Params.galleryImages }}
<div class="col-md-4 p-0 m-0">
<div class="card p-0 m-0 border-0">
<img class="w-100" height="280px" src="{{ .src }}">
+5
View File
@@ -69,6 +69,11 @@
<h5>{{ .Site.Params.terms.social | default "Social" }}</h5>
<div class="social-content">
<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">
<a target="_blank" href="https://twitter.com/share?text={{ .Title }}&url={{ .Site.Params.hostName }}{{ .Permalink | absURL }}">
<i class="fab fa-twitter"></i>
+5 -4
View File
@@ -74,19 +74,18 @@
}
body::-webkit-scrollbar {
width: .5em;
height: .5em;
height: 0px;
width: 8px;
background-color: var(--background-color);
}
::-webkit-scrollbar-track {
box-shadow: inset 0 0 6px var(--background-color);
border-radius: 1rem;
}
::-webkit-scrollbar-thumb {
border-radius: 1rem;
background-color: var(--secondary-color);
background: #b0b0b0;
outline: 1px solid var(--background-color);
}
@@ -96,3 +95,5 @@
background-color: var(--background-color);
}
</style>
{{ partial "head/extensions.html" . }}
+4
View File
@@ -0,0 +1,4 @@
{{/*
You can add further theme extensions or customizations here if they should
appear in <head>.
*/}}
+10 -2
View File
@@ -22,9 +22,17 @@
</div>
</form>
</div>
{{ else if .Site.Params.contact.email }}
{{ else if or (.Site.Params.contact.email) (.Site.Params.contact.btnLink) }}
<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" }}
</a>
</div>
+15 -3
View File
@@ -165,7 +165,17 @@
position: sticky;
}
#single .sticky-sidebar ::-webkit-scrollbar {
height: 0px;
width: 8px;
}
/* Tags */
#single aside.tags {
max-height: 35vh;
overflow: scroll;
}
#single aside.tags h5 {
margin: .7em 0;
margin-bottom: 1em;
@@ -173,16 +183,16 @@
#single aside.tags ul.tags-ul li a {
padding: 10px 15px;
padding: 5px 10px;
margin-bottom: 2px;
border-radius: 8px;
border-radius: 10px;
background-color: var(--background-color);
text-decoration: none;
color: var(--text-color);
}
#single aside.tags ul.tags-ul li {
margin-bottom: 1.2rem;
margin-bottom: 0.8rem;
}
#single aside.tags ul.tags-ul li:hover {
@@ -193,6 +203,8 @@
/*TOC*/
#single aside.toc {
padding: .7rem 1rem;
max-height: 50vh;
overflow: scroll;
}
#single aside.toc h5 {