12 Commits

Author SHA1 Message Date
Guru Sabarish dc2b7487ed Merge pull request #52 from sonic182/master
Statics param, and optional GPA by @sonic182
2022-04-04 10:06:42 +05:30
sonic182 669f25fc75 all files with StaticPath instead of Statics 2022-04-03 22:59:39 +02:00
Guru Sabarish 6d6f5f0230 Merge pull request #53 from sudomateo/sudomateo/fix-header
Properly toggle Projects link in header by @sudomateo
2022-04-03 12:20:58 +05:30
Matthew Sanabria 837da918a7 Properly toggle Projects link in header 2022-04-02 23:59:10 -04:00
gurusabarish 33b0f43282 Added ststic in missed files and renamed to staticPath
- Added `statics` params in the missed files
- Renamed `statics` to `staticPath`
2022-04-02 23:35:22 +05:30
sonic182 fd19e4981b fix another link... 2022-04-02 12:04:46 +02:00
sonic182 d19515cf85 removed console log 2022-04-01 22:47:49 +02:00
sonic182 066b435226 more fixes theme 2022-04-01 22:45:54 +02:00
sonic182 b10f02eee9 optional GPA 2022-03-30 07:51:07 +02:00
sonic182 20580ecfce static param 2022-03-29 23:34:46 +02:00
Guru Sabarish ebaf9cf5b3 Update README.md 2022-03-25 15:57:07 +05:30
Guru Sabarish a995c599af Merge pull request #47 from gurusabarish/v3-stable
V4 stable
2022-03-25 15:54:03 +05:30
11 changed files with 44 additions and 45 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
# Hugo Profile # Hugo Profile | [Wiki Page](https://github.com/gurusabarish/hugo-profile/wiki)
[![Twitter](https://img.shields.io/twitter/url?label=Tweet&style=social&url=https%3A%2F%2Fgithub.com%2Fgurusabarish%2Fhugo-profile)](https://twitter.com/intent/tweet?text=Wow:&url=https%3A%2F%2Fgithub.com%2Fgurusabarish%2Fhugo-profile) [![GitHub forks](https://img.shields.io/github/forks/gurusabarish/hugo-profile?style=plastic)](https://github.com/gurusabarish/hugo-profile/network) [![GitHub stars](https://img.shields.io/github/stars/gurusabarish/hugo-profile?style=plastic)](https://github.com/gurusabarish/hugo-profile/stargazers) [![Twitter](https://img.shields.io/twitter/url?label=Tweet&style=social&url=https%3A%2F%2Fgithub.com%2Fgurusabarish%2Fhugo-profile)](https://twitter.com/intent/tweet?text=Wow:&url=https%3A%2F%2Fgithub.com%2Fgurusabarish%2Fhugo-profile) [![GitHub forks](https://img.shields.io/github/forks/gurusabarish/hugo-profile?style=plastic)](https://github.com/gurusabarish/hugo-profile/network) [![GitHub stars](https://img.shields.io/github/stars/gurusabarish/hugo-profile?style=plastic)](https://github.com/gurusabarish/hugo-profile/stargazers)
+2 -4
View File
@@ -41,6 +41,7 @@ Menus:
params: params:
title: "Hugo Profile" title: "Hugo Profile"
description: Text about my cool site description: Text about my cool site
# staticPath: "" # The path to serve the static files from
favicon: "/fav.png" favicon: "/fav.png"
theme: theme:
@@ -106,12 +107,11 @@ 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.
@@ -315,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
View File
@@ -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 }}
+1 -1
View File
@@ -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="/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">
+1 -1
View File
@@ -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="/css/list.css" media="all"> <link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/list.css" media="all">
{{ end }} {{ end }}
{{ define "title" }} {{ define "title" }}
+2 -3
View File
@@ -1,9 +1,9 @@
{{ define "head" }} {{ define "head" }}
<meta name="description" content="{{ .Params.description }}"> <meta name="description" content="{{ .Params.description }}">
<link rel="stylesheet" href="/css/single.css"> <link rel="stylesheet" href="{{.Site.Params.staticPath}}/css/single.css">
<!-- 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" }}
@@ -100,7 +100,6 @@
var topScroll = document.getElementById("topScroll"); var topScroll = document.getElementById("topScroll");
window.onscroll = function() {scrollFunction()}; window.onscroll = function() {scrollFunction()};
console.log(topScroll);
function scrollFunction() { function scrollFunction() {
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) { if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
topScroll.style.display = "block"; topScroll.style.display = "block";
+3 -3
View File
@@ -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="/css/index.css" media="all"> <link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/index.css" media="all">
<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" }}
+6 -6
View File
@@ -11,7 +11,7 @@
rel="stylesheet"> rel="stylesheet">
<!-- font configuration --> <!-- 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 --> <!-- 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="/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="/css/header.css" media="all"> <link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/header.css" media="all">
<link rel="stylesheet" href="/css/footer.css" media="all"> <link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/footer.css" media="all">
<!-- theme --> <!-- theme -->
<link rel="stylesheet" href="/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="/style.css"> <link rel="stylesheet" href="{{ .Site.Params.staticPath }}/style.css">
{{ end }} {{ end }}
<style> <style>
+2
View File
@@ -35,12 +35,14 @@
{{ .school.name }} {{ .school.name }}
{{ end }} {{ end }}
{{ if .GPA }}
<div class="py-1"> <div class="py-1">
GPA: GPA:
<i> <i>
<small>{{ .GPA }}</small> <small>{{ .GPA }}</small>
</i> </i>
</div> </div>
{{ end }}
<div class="py-1 education-content"> <div class="py-1 education-content">
{{ .content | markdownify}} {{ .content | markdownify}}
</div> </div>
+1 -1
View File
@@ -83,7 +83,7 @@
{{ {{
if and if and
(.Site.Params.projects.enable | default false) (.Site.Params.projects.enable | default false)
(not (.Site.Params.navbar.menus.disableEducation | default false)) (not (.Site.Params.navbar.menus.disableProjects | default false))
}} }}
{{/* {{ if .Site.Params.projects.enable | default false }} */}} {{/* {{ if .Site.Params.projects.enable | default false }} */}}
<li class="nav-item navbar-text"> <li class="nav-item navbar-text">
+2 -2
View File
@@ -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" }}