Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gurusabarish/hugo-profile.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuru Sabarish <gurusabarisha@gmail.com>2022-08-21 20:08:53 +0300
committerGitHub <noreply@github.com>2022-08-21 20:08:53 +0300
commit6b705a9007e70b2b3d3ebbe83fa1a4fc502a3745 (patch)
tree6ec2a7cb5421c9efde9aeca9a358ac89d6690631
parenta17736285164e678d6480ddd876474de4aaaedf7 (diff)
parentc4012c41014544c5fa4758523d41c0969c0c9abb (diff)
Merge pull request #68 from oscareduardolp6/my-changes
Changes in the sections names to more flexibility & in the resume button to download option
-rw-r--r--exampleSite/config.yaml6
-rw-r--r--layouts/partials/sections/achievements.html2
-rw-r--r--layouts/partials/sections/contact.html2
-rw-r--r--layouts/partials/sections/education.html2
-rw-r--r--layouts/partials/sections/experience.html2
-rw-r--r--layouts/partials/sections/hero/index.html2
-rw-r--r--layouts/partials/sections/projects.html2
7 files changed, 12 insertions, 6 deletions
diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml
index 7c21f3b..261d12f 100644
--- a/exampleSite/config.yaml
+++ b/exampleSite/config.yaml
@@ -108,6 +108,7 @@ params:
enable: true
name: "Resume"
url: "#"
+ download: true
socialLinks:
fontAwesomeIcons:
- icon: fab fa-github
@@ -141,6 +142,7 @@ params:
# Experience
experience:
enable: true
+ # title: "Custom Name"
items:
- job: "Senior Software Developer"
company: "Facebook"
@@ -205,6 +207,7 @@ params:
# Education
education:
enable: true
+ # title: "Custom Name"
# index: true
items:
- title: "Master of Business Administration"
@@ -247,6 +250,7 @@ params:
# Achievements
achievements:
enable: true
+ # title: "Custom Name"
items:
- title: Google kickstart runner
content: I solved all problems with optimal solution.
@@ -265,6 +269,7 @@ params:
# projects
projects:
enable: true
+ # title: "Custom Name"
items:
- title: Hugo Profile
content: A highly customizable and mobile first Hugo template for personal portfolio and blog.
@@ -314,6 +319,7 @@ params:
#Contact
contact:
enable: true
+ #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!
email: gurusabarisha@gmail.com
btnName: Mail me
diff --git a/layouts/partials/sections/achievements.html b/layouts/partials/sections/achievements.html
index 9e35415..1207c72 100644
--- a/layouts/partials/sections/achievements.html
+++ b/layouts/partials/sections/achievements.html
@@ -1,7 +1,7 @@
{{ if .Site.Params.achievements.enable | default false }}
<section id="achievements" class="py-5">
<div class="container">
- <h3 class="text-center">Achievements</h3>
+ <h3 class="text-center">{{ .Site.Params.achievements.title | default "Achievements" }}</h3>
<div class="px-0 px-md-5 px-lg-5">
<div class="row justify-content-center px-3 px-md-5 px-lg-5">
{{ range .Site.Params.achievements.items }}
diff --git a/layouts/partials/sections/contact.html b/layouts/partials/sections/contact.html
index 32aeed3..fcd6aeb 100644
--- a/layouts/partials/sections/contact.html
+++ b/layouts/partials/sections/contact.html
@@ -1,7 +1,7 @@
{{ if .Site.Params.contact.enable | default false }}
<section id="contact" class="py-5">
<div class="container">
- <h3 class="text-center">Get In Touch</h3>
+ <h3 class="text-center">{{ .Site.Params.contact.title | default "Get in Touch" }}</h3>
<div class="px-0 px-md-5 px-lg-5">
<div class="row justify-content-center px-md-5">
<div class="col-md-8 py-3">
diff --git a/layouts/partials/sections/education.html b/layouts/partials/sections/education.html
index f2a5f04..3141b1e 100644
--- a/layouts/partials/sections/education.html
+++ b/layouts/partials/sections/education.html
@@ -1,7 +1,7 @@
{{ if .Site.Params.education.enable | default false }}
<section id="education" class="py-5">
<div class="container">
- <h3 class="text-center">Education</h3>
+ <h3 class="text-center">{{ .Site.Params.education.title | default "Education" }}</h3>
<div class="row justify-content-center py-5">
{{ $indexMenu := .Site.Params.education.index }}
{{ range $index, $element := .Site.Params.education.items }}
diff --git a/layouts/partials/sections/experience.html b/layouts/partials/sections/experience.html
index c64c490..0154d6e 100644
--- a/layouts/partials/sections/experience.html
+++ b/layouts/partials/sections/experience.html
@@ -1,7 +1,7 @@
{{ if .Site.Params.experience.enable | default false }}
<section id="experience" class="py-5">
<div class="container">
- <h3 class="text-center">Experience</h3>
+ <h3 class="text-center">{{ .Site.Params.experience.title | default "Experience" }}</h3>
<div class="row justify-content-center">
<div class="col-sm-12 col-md-8 col-lg-8 py-5">
<div class="experience-container px-3 pt-2">
diff --git a/layouts/partials/sections/hero/index.html b/layouts/partials/sections/hero/index.html
index ebb34a9..c915674 100644
--- a/layouts/partials/sections/hero/index.html
+++ b/layouts/partials/sections/hero/index.html
@@ -18,7 +18,7 @@
<div class="row">
<div class="col-auto h-100">
{{ if .Site.Params.hero.button.enable }}
- <a href="{{ .Site.Params.hero.button.url }}" class="btn">
+ <a href="{{ .Site.Params.hero.button.url }}" class="btn" {{ cond .Site.Params.hero.button.download "download" "" }}>
{{ .Site.Params.hero.button.name }}
</a>
{{ end }}
diff --git a/layouts/partials/sections/projects.html b/layouts/partials/sections/projects.html
index c7c0129..dae4694 100644
--- a/layouts/partials/sections/projects.html
+++ b/layouts/partials/sections/projects.html
@@ -1,7 +1,7 @@
{{ if .Site.Params.projects.enable | default false }}
<section id="projects" class="py-5">
<div class="container">
- <h3 class="text-center">Projects</h3>
+ <h3 class="text-center">{{ .Site.Params.projects.title | default "Projects" }}</h3>
<div class="row justify-content-center px-3 px-md-5">
{{ range .Site.Params.projects.items }}
<div class="col-lg-4 col-md-6 my-3">