Skip to content

Commit

Permalink
Merge pull request #52 from sonic182/master
Browse files Browse the repository at this point in the history
Statics param, and optional GPA by @sonic182
  • Loading branch information
gurusabarish authored Apr 4, 2022
2 parents 6d6f5f0 + 669f25f commit dc2b748
Show file tree
Hide file tree
Showing 9 changed files with 42 additions and 43 deletions.
44 changes: 21 additions & 23 deletions exampleSite/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Menus:
params:
title: "Hugo Profile"
description: Text about my cool site
# staticPath: "" # The path to serve the static files from
favicon: "/fav.png"

theme:
Expand All @@ -55,15 +56,15 @@ params:

# color preference
# color:
# textColor:
# secondaryTextColor:
# backgroundColor:
# secondaryBackgroundColor:
# primaryColor:
# secondaryColor:
# textColor:
# secondaryTextColor:
# backgroundColor:
# secondaryBackgroundColor:
# primaryColor:
# secondaryColor:

# darkmode:
# textColor:
# textColor:
# secondaryTextColor:
# backgroundColor:
# secondaryBackgroundColor:
Expand Down Expand Up @@ -106,15 +107,14 @@ params:
- icon: /fav.png
url: "https://example.com"


# About
about:
enable: true
title: "About Me"
image: '/images/me.png'
image: "/images/me.png"
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 currently working on a project that will be used to help people find the best way to get around the city.
skills:
enable: true
Expand All @@ -140,7 +140,7 @@ params:
name: "View the project"
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."

- job: "Software Developer"
company: "Amazon"
companyUrl: "https://example.com"
Expand All @@ -156,7 +156,7 @@ params:
- Lead backend developer for a product.
- Created a frontend design for a product.
- job: "Junior Software Developer"
company: "Apple"
companyUrl: "https://example.com"
Expand Down Expand Up @@ -190,7 +190,7 @@ params:
companyUrl: "https://example.com"
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."

# Education
education:
enable: true
Expand All @@ -202,7 +202,7 @@ params:
url: "https://example.org"
date: "2013 - 2015"
GPA: "3.8 out of 5.0"
content: |-
content: |-
Extracurricular Activities
- 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.
Expand All @@ -216,7 +216,7 @@ params:
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)
- Face mask detection using a single convolutional neural network.
Extracurricular Activities
- 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.
Expand All @@ -232,11 +232,11 @@ params:
featuredLink:
enable: true
url: "https://example.com"

# Achievements
achievements:
enable: true
items:
items:
- title: Google kickstart runner
content: I solved all problems with optimal solution.
url: https://example.com
Expand All @@ -245,7 +245,7 @@ params:
- title: Hugo Profile
content: Developed a theme and getting 1K+ downloads per month.
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.
- title: Google Summer of Code
content: Contributed to a open source project.
Expand All @@ -272,9 +272,9 @@ params:
url: https://github.com/gurusabarish/hugo-profile
- icon: fab fa-twitter
url: https://twitter.com/intent/tweet?text=Check+it+out:&url=https%3A%2F%2Fgithub.com%2Fgurusabarish%2Fhugo-profile

- 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
featured:
name: Demo
Expand All @@ -285,7 +285,7 @@ params:
links:
- icon: fab fa-github
url: https://github.com/gurusabarish/converter

- title: Hugo Profile V2
content: A clean and simple Hugo template for personal portfolio and blog.
image: /images/projects/profile2.jpg
Expand Down Expand Up @@ -315,5 +315,3 @@ params:
twitter: https://twitter.com
instagram: https://instagram.com
facebook: https://facebook.com


2 changes: 1 addition & 1 deletion layouts/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

{{ define "main" }}
<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>
</div>
{{ end }}
2 changes: 1 addition & 1 deletion layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<body class="light" onload="loading()">
<!-- javascripts -->
<!-- <script src="/js/jquery-3.6.0.min.js"></script> -->
<script src="/bootstrap-5/js/bootstrap.bundle.js"></script>
<script src="{{ .Site.Params.staticPath }}/bootstrap-5/js/bootstrap.bundle.js"></script>

{{- partial "sections/header.html" . -}}
<div id="content">
Expand Down
2 changes: 1 addition & 1 deletion layouts/_default/list.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{ define "head" }}
<meta name="description" content="{{ .Title }} of {{ .Site.Title }}">
<link rel="stylesheet" href="/css/list.css" media="all">
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/list.css" media="all">
{{ end }}

{{ define "title" }}
Expand Down
7 changes: 3 additions & 4 deletions layouts/_default/single.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{{ define "head" }}
<meta name="description" content="{{ .Params.description }}">
<link rel="stylesheet" href="/css/single.css">
<link rel="stylesheet" href="{{.Site.Params.staticPath}}/css/single.css">

<!-- 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 }}

{{ define "title" }}
Expand Down Expand Up @@ -100,7 +100,6 @@ <h5>Social</h5>
var topScroll = document.getElementById("topScroll");
window.onscroll = function() {scrollFunction()};

console.log(topScroll);
function scrollFunction() {
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
topScroll.style.display = "block";
Expand All @@ -115,4 +114,4 @@ <h5>Social</h5>
}
</script>

{{ end }}
{{ end }}
6 changes: 3 additions & 3 deletions layouts/index.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{{ define "head" }}
<meta name="description" content={{ .Site.Params.description }}>
<link rel="stylesheet" href="/css/index.css" media="all">
<link rel="stylesheet" href="/css/projects.css" media="all">
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/index.css" media="all">
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/projects.css" media="all">

<!-- 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 }}

{{ define "title" }}
Expand Down
14 changes: 7 additions & 7 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,24 @@
rel="stylesheet">

<!-- font configuration -->
<link rel="stylesheet" href="/css/font.css" media="all">
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/font.css" media="all">

<!-- Internal templates -->
{{ template "_internal/google_analytics_async.html" . }}
{{ template "_internal/opengraph.html" . }}
{{ template "_internal/twitter_cards.html" . }}

<!-- stylesheets -->
<link rel="stylesheet" href="/bootstrap-5/css/bootstrap.min.css" media="all">
<link rel="stylesheet" href="/css/header.css" media="all">
<link rel="stylesheet" href="/css/footer.css" media="all">
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/bootstrap-5/css/bootstrap.min.css" media="all">
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/header.css" media="all">
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/footer.css" media="all">

<!-- theme -->
<link rel="stylesheet" href="/css/theme.css" media="all">
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/theme.css" media="all">

<!-- Custom Styles -->
{{ if .Site.Params.customCSS }}
<link rel="stylesheet" href="/style.css">
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/style.css">
{{ end }}

<style>
Expand All @@ -54,4 +54,4 @@
line-height: {{ .Site.Params.font.lineHeight | default "1.5" }};
text-align: {{ .Site.Params.font.textAlign | default "left" }};
}
</style>
</style>
4 changes: 3 additions & 1 deletion layouts/partials/sections/education.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,14 @@ <h6>
{{ .school.name }}
{{ end }}

{{ if .GPA }}
<div class="py-1">
GPA:
<i>
<small>{{ .GPA }}</small>
</i>
</div>
{{ end }}
<div class="py-1 education-content">
{{ .content | markdownify}}
</div>
Expand All @@ -61,4 +63,4 @@ <h6>
</div>
</div>
</section>
{{ end }}
{{ end }}
4 changes: 2 additions & 2 deletions layouts/projects/list.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{{ define "head" }}
<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 -->
<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 }}

{{ define "title" }}
Expand Down

0 comments on commit dc2b748

Please sign in to comment.