Added ststic in missed files and renamed to staticPath
- Added `statics` params in the missed files - Renamed `statics` to `staticPath`
This commit is contained in:
+21
-24
@@ -41,7 +41,7 @@ Menus:
|
|||||||
params:
|
params:
|
||||||
title: "Hugo Profile"
|
title: "Hugo Profile"
|
||||||
description: Text about my cool site
|
description: Text about my cool site
|
||||||
static: ""
|
# staticPath: "" # The path to serve the static files from
|
||||||
favicon: "/fav.png"
|
favicon: "/fav.png"
|
||||||
|
|
||||||
theme:
|
theme:
|
||||||
@@ -56,15 +56,15 @@ params:
|
|||||||
|
|
||||||
# color preference
|
# color preference
|
||||||
# color:
|
# color:
|
||||||
# textColor:
|
# textColor:
|
||||||
# secondaryTextColor:
|
# secondaryTextColor:
|
||||||
# backgroundColor:
|
# backgroundColor:
|
||||||
# secondaryBackgroundColor:
|
# secondaryBackgroundColor:
|
||||||
# primaryColor:
|
# primaryColor:
|
||||||
# secondaryColor:
|
# secondaryColor:
|
||||||
|
|
||||||
# darkmode:
|
# darkmode:
|
||||||
# textColor:
|
# textColor:
|
||||||
# secondaryTextColor:
|
# secondaryTextColor:
|
||||||
# backgroundColor:
|
# backgroundColor:
|
||||||
# secondaryBackgroundColor:
|
# secondaryBackgroundColor:
|
||||||
@@ -107,15 +107,14 @@ params:
|
|||||||
- icon: /fav.png
|
- icon: /fav.png
|
||||||
url: "https://example.com"
|
url: "https://example.com"
|
||||||
|
|
||||||
|
|
||||||
# About
|
# About
|
||||||
about:
|
about:
|
||||||
enable: true
|
enable: true
|
||||||
title: "About Me"
|
title: "About Me"
|
||||||
image: '/images/me.png'
|
image: "/images/me.png"
|
||||||
content: |-
|
content: |-
|
||||||
I am a software developer with a passion for web development. I have a background in computer science and mathematics, and I have a strong interest in the intersection of technology and art. I am currently working as a software developer at [example org.](https://example.com) in San Francisco, CA.
|
I am a software developer with a passion for web development. I have a background in computer science and mathematics, and I have a strong interest in the intersection of technology and art. I am currently working as a software developer at [example org.](https://example.com) in San Francisco, CA.
|
||||||
|
|
||||||
I am currently working on a project that will be used to help people find the best way to get around the city.
|
I am currently working on a project that will be used to help people find the best way to get around the city.
|
||||||
skills:
|
skills:
|
||||||
enable: true
|
enable: true
|
||||||
@@ -141,7 +140,7 @@ params:
|
|||||||
name: "View the project"
|
name: "View the project"
|
||||||
url: "https://example.com"
|
url: "https://example.com"
|
||||||
content: "I am currently working as a software developer at [example org.](https://example.com) in San Francisco, CA. I am currently working on a project that will be used to help people find the best way to get around the city."
|
content: "I am currently working as a software developer at [example org.](https://example.com) in San Francisco, CA. I am currently working on a project that will be used to help people find the best way to get around the city."
|
||||||
|
|
||||||
- job: "Software Developer"
|
- job: "Software Developer"
|
||||||
company: "Amazon"
|
company: "Amazon"
|
||||||
companyUrl: "https://example.com"
|
companyUrl: "https://example.com"
|
||||||
@@ -157,7 +156,7 @@ params:
|
|||||||
|
|
||||||
- Lead backend developer for a product.
|
- Lead backend developer for a product.
|
||||||
- Created a frontend design for a product.
|
- Created a frontend design for a product.
|
||||||
|
|
||||||
- job: "Junior Software Developer"
|
- job: "Junior Software Developer"
|
||||||
company: "Apple"
|
company: "Apple"
|
||||||
companyUrl: "https://example.com"
|
companyUrl: "https://example.com"
|
||||||
@@ -191,7 +190,7 @@ params:
|
|||||||
companyUrl: "https://example.com"
|
companyUrl: "https://example.com"
|
||||||
date: "Feb 2016 - Mar 2017"
|
date: "Feb 2016 - Mar 2017"
|
||||||
content: "I am currently working as a software developer at [example org.](https://example.com) in San Francisco, CA. I am currently working on a project that will be used to help people find the best way to get around the city."
|
content: "I am currently working as a software developer at [example org.](https://example.com) in San Francisco, CA. I am currently working on a project that will be used to help people find the best way to get around the city."
|
||||||
|
|
||||||
# Education
|
# Education
|
||||||
education:
|
education:
|
||||||
enable: true
|
enable: true
|
||||||
@@ -203,7 +202,7 @@ params:
|
|||||||
url: "https://example.org"
|
url: "https://example.org"
|
||||||
date: "2013 - 2015"
|
date: "2013 - 2015"
|
||||||
GPA: "3.8 out of 5.0"
|
GPA: "3.8 out of 5.0"
|
||||||
content: |-
|
content: |-
|
||||||
Extracurricular Activities
|
Extracurricular Activities
|
||||||
- Lorem ipsum dolor sit amet consectetur adipisicing elit.
|
- Lorem ipsum dolor sit amet consectetur adipisicing elit.
|
||||||
- Tempora esse, eaque delectus nulla quo doloribus itaque expedita alias natus optio totam maxime nihil excepturi velit a animi laborum hic similique.
|
- Tempora esse, eaque delectus nulla quo doloribus itaque expedita alias natus optio totam maxime nihil excepturi velit a animi laborum hic similique.
|
||||||
@@ -217,7 +216,7 @@ params:
|
|||||||
I Publiced two papers in the ACM SIGCHI Conference on Artificial Intelligence.
|
I Publiced two papers in the ACM SIGCHI Conference on Artificial Intelligence.
|
||||||
- [Fast and Accurate Object Detection with a Single Convolutional Neural Network](https://example.com)
|
- [Fast and Accurate Object Detection with a Single Convolutional Neural Network](https://example.com)
|
||||||
- Face mask detection using a single convolutional neural network.
|
- Face mask detection using a single convolutional neural network.
|
||||||
|
|
||||||
Extracurricular Activities
|
Extracurricular Activities
|
||||||
- Lorem ipsum dolor sit amet consectetur adipisicing elit.
|
- Lorem ipsum dolor sit amet consectetur adipisicing elit.
|
||||||
- Tempora esse, eaque delectus nulla quo doloribus itaque expedita alias natus optio totam maxime nihil excepturi velit a animi laborum hic similique.
|
- Tempora esse, eaque delectus nulla quo doloribus itaque expedita alias natus optio totam maxime nihil excepturi velit a animi laborum hic similique.
|
||||||
@@ -233,11 +232,11 @@ params:
|
|||||||
featuredLink:
|
featuredLink:
|
||||||
enable: true
|
enable: true
|
||||||
url: "https://example.com"
|
url: "https://example.com"
|
||||||
|
|
||||||
# Achievements
|
# Achievements
|
||||||
achievements:
|
achievements:
|
||||||
enable: true
|
enable: true
|
||||||
items:
|
items:
|
||||||
- title: Google kickstart runner
|
- title: Google kickstart runner
|
||||||
content: I solved all problems with optimal solution.
|
content: I solved all problems with optimal solution.
|
||||||
url: https://example.com
|
url: https://example.com
|
||||||
@@ -246,7 +245,7 @@ params:
|
|||||||
- title: Hugo Profile
|
- title: Hugo Profile
|
||||||
content: Developed a theme and getting 1K+ downloads per month.
|
content: Developed a theme and getting 1K+ downloads per month.
|
||||||
url: "https://github.com/gurusabarish/hugo-profile"
|
url: "https://github.com/gurusabarish/hugo-profile"
|
||||||
- title: Microsoft Imagine Runner
|
- title: Microsoft Imagine Runner
|
||||||
content: We are developed a product which can help others.
|
content: We are developed a product which can help others.
|
||||||
- title: Google Summer of Code
|
- title: Google Summer of Code
|
||||||
content: Contributed to a open source project.
|
content: Contributed to a open source project.
|
||||||
@@ -273,9 +272,9 @@ params:
|
|||||||
url: https://github.com/gurusabarish/hugo-profile
|
url: https://github.com/gurusabarish/hugo-profile
|
||||||
- icon: fab fa-twitter
|
- icon: fab fa-twitter
|
||||||
url: https://twitter.com/intent/tweet?text=Check+it+out:&url=https%3A%2F%2Fgithub.com%2Fgurusabarish%2Fhugo-profile
|
url: https://twitter.com/intent/tweet?text=Check+it+out:&url=https%3A%2F%2Fgithub.com%2Fgurusabarish%2Fhugo-profile
|
||||||
|
|
||||||
- title: Image Converter
|
- title: Image Converter
|
||||||
content: A web app to convert image to pdf, png to jpg, png to jpg and png to webp without database using django.
|
content: A web app to convert image to pdf, png to jpg, png to jpg and png to webp without database using django.
|
||||||
image: /images/projects/converter.jpg
|
image: /images/projects/converter.jpg
|
||||||
featured:
|
featured:
|
||||||
name: Demo
|
name: Demo
|
||||||
@@ -286,7 +285,7 @@ params:
|
|||||||
links:
|
links:
|
||||||
- icon: fab fa-github
|
- icon: fab fa-github
|
||||||
url: https://github.com/gurusabarish/converter
|
url: https://github.com/gurusabarish/converter
|
||||||
|
|
||||||
- title: Hugo Profile V2
|
- title: Hugo Profile V2
|
||||||
content: A clean and simple Hugo template for personal portfolio and blog.
|
content: A clean and simple Hugo template for personal portfolio and blog.
|
||||||
image: /images/projects/profile2.jpg
|
image: /images/projects/profile2.jpg
|
||||||
@@ -316,5 +315,3 @@ params:
|
|||||||
twitter: https://twitter.com
|
twitter: https://twitter.com
|
||||||
instagram: https://instagram.com
|
instagram: https://instagram.com
|
||||||
facebook: https://facebook.com
|
facebook: https://facebook.com
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<div class="container py-5 text-center">
|
<div class="container py-5 text-center">
|
||||||
<img src="/404.png" alt="404 page not found" class="img-fluid" width="40%">
|
<img src="{{ .Site.Params.staticPath }}/404.png" alt="404 page not found" class="img-fluid" width="40%">
|
||||||
<h1>404 Page Not Found</h1>
|
<h1>404 Page Not Found</h1>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
<body class="light" onload="loading()">
|
<body class="light" onload="loading()">
|
||||||
<!-- javascripts -->
|
<!-- javascripts -->
|
||||||
<!-- <script src="/js/jquery-3.6.0.min.js"></script> -->
|
<!-- <script src="/js/jquery-3.6.0.min.js"></script> -->
|
||||||
<script src="{{ .Site.Params.Statics }}/bootstrap-5/js/bootstrap.bundle.js"></script>
|
<script src="{{ .Site.Params.staticPath }}/bootstrap-5/js/bootstrap.bundle.js"></script>
|
||||||
|
|
||||||
{{- partial "sections/header.html" . -}}
|
{{- partial "sections/header.html" . -}}
|
||||||
<div id="content">
|
<div id="content">
|
||||||
@@ -22,4 +22,4 @@
|
|||||||
{{- partial "scripts.html" . -}}
|
{{- partial "scripts.html" . -}}
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{{ define "head" }}
|
{{ define "head" }}
|
||||||
<meta name="description" content="{{ .Title }} of {{ .Site.Title }}">
|
<meta name="description" content="{{ .Title }} of {{ .Site.Title }}">
|
||||||
<link rel="stylesheet" href="{{ .Site.Params.Statics }}/css/list.css" media="all">
|
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/list.css" media="all">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ define "title" }}
|
{{ define "title" }}
|
||||||
@@ -36,4 +36,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
+4
-4
@@ -1,10 +1,10 @@
|
|||||||
{{ define "head" }}
|
{{ define "head" }}
|
||||||
<meta name="description" content={{ .Site.Params.description }}>
|
<meta name="description" content={{ .Site.Params.description }}>
|
||||||
<link rel="stylesheet" href="{{ .Site.Params.Statics }}/css/index.css" media="all">
|
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/index.css" media="all">
|
||||||
<link rel="stylesheet" href="{{ .Site.Params.Statics }}/css/projects.css" media="all">
|
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/projects.css" media="all">
|
||||||
|
|
||||||
<!-- fontawesome -->
|
<!-- fontawesome -->
|
||||||
<script defer src="{{ .Site.Params.Statics }}/fontawesome-5/all-5.15.4.js"></script>
|
<script defer src="{{ .Site.Params.staticPath }}/fontawesome-5/all-5.15.4.js"></script>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ define "title" }}
|
{{ define "title" }}
|
||||||
@@ -19,4 +19,4 @@
|
|||||||
{{- partial "sections/projects.html" . -}}
|
{{- partial "sections/projects.html" . -}}
|
||||||
{{- partial "sections/achievements.html" . -}}
|
{{- partial "sections/achievements.html" . -}}
|
||||||
{{- partial "sections/contact.html" . -}}
|
{{- partial "sections/contact.html" . -}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
rel="stylesheet">
|
rel="stylesheet">
|
||||||
|
|
||||||
<!-- font configuration -->
|
<!-- font configuration -->
|
||||||
<link rel="stylesheet" href="{{ .Site.Params.Statics }}/css/font.css" media="all">
|
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/font.css" media="all">
|
||||||
|
|
||||||
<!-- Internal templates -->
|
<!-- Internal templates -->
|
||||||
{{ template "_internal/google_analytics_async.html" . }}
|
{{ template "_internal/google_analytics_async.html" . }}
|
||||||
@@ -19,16 +19,16 @@
|
|||||||
{{ template "_internal/twitter_cards.html" . }}
|
{{ template "_internal/twitter_cards.html" . }}
|
||||||
|
|
||||||
<!-- stylesheets -->
|
<!-- stylesheets -->
|
||||||
<link rel="stylesheet" href="{{ .Site.Params.Statics }}/bootstrap-5/css/bootstrap.min.css" media="all">
|
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/bootstrap-5/css/bootstrap.min.css" media="all">
|
||||||
<link rel="stylesheet" href="{{ .Site.Params.Statics }}/css/header.css" media="all">
|
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/header.css" media="all">
|
||||||
<link rel="stylesheet" href="{{ .Site.Params.Statics }}/css/footer.css" media="all">
|
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/footer.css" media="all">
|
||||||
|
|
||||||
<!-- theme -->
|
<!-- theme -->
|
||||||
<link rel="stylesheet" href="{{ .Site.Params.Statics }}/css/theme.css" media="all">
|
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/theme.css" media="all">
|
||||||
|
|
||||||
<!-- Custom Styles -->
|
<!-- Custom Styles -->
|
||||||
{{ if .Site.Params.customCSS }}
|
{{ if .Site.Params.customCSS }}
|
||||||
<link rel="stylesheet" href="{{ .Site.Params.Statics }}/style.css">
|
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/style.css">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
{{ define "head" }}
|
{{ define "head" }}
|
||||||
<meta name="description" content="{{ .Title }} of {{ .Site.Title }}">
|
<meta name="description" content="{{ .Title }} of {{ .Site.Title }}">
|
||||||
<link rel="stylesheet" href="/css/projects.css" media="all">
|
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/projects.css" media="all">
|
||||||
|
|
||||||
<!-- fontawesome -->
|
<!-- fontawesome -->
|
||||||
<script defer src="/fontawesome-5/all-5.15.4.js"></script>
|
<script defer src="{{ .Site.Params.staticPath }}/fontawesome-5/all-5.15.4.js"></script>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ define "title" }}
|
{{ define "title" }}
|
||||||
|
|||||||
Reference in New Issue
Block a user