diff --git a/assets/images/sharwin_ethan_chessbot.png b/assets/images/sharwin_ethan_chessbot.png new file mode 100644 index 0000000..37e2100 Binary files /dev/null and b/assets/images/sharwin_ethan_chessbot.png differ diff --git a/static/files/SharwinPatilResume.pdf b/content/resume/SharwinPatilResume.pdf similarity index 100% rename from static/files/SharwinPatilResume.pdf rename to content/resume/SharwinPatilResume.pdf diff --git a/content/resume/_index.md b/content/resume/_index.md deleted file mode 100644 index 13f5057..0000000 --- a/content/resume/_index.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: "My Resume" -url: "/resume/" ---- - -Here’s my resume—scroll or download directly: - - diff --git a/content/resume/index.md b/content/resume/index.md new file mode 100644 index 0000000..e90d9cb --- /dev/null +++ b/content/resume/index.md @@ -0,0 +1,20 @@ +--- +title: "My Resume" +date: 2025-06-29T09:00:00+00:00 +description: Here’s my resume—scroll or download directly +hero: images/sharwin_ethan_chessbot.png +url: "/resume/" +repo: https://github.com/Sharwin24/Resume +--- + + + + diff --git a/data/en/site.yaml b/data/en/site.yaml index a9bb37e..7a9caf6 100644 --- a/data/en/site.yaml +++ b/data/en/site.yaml @@ -13,7 +13,7 @@ description: Sharwin Patil's Portfolio and project showcases. # they will be separated by a divider from the main menus. customMenus: - name: Resume - url: https://github.com/Sharwin24/Resume/blob/master/main.pdf + url: /resume/ showOnFooter: true - name: GitHub diff --git a/getResume.sh b/getResume.sh index 9f9694c..e20fdbc 100644 --- a/getResume.sh +++ b/getResume.sh @@ -1,4 +1,6 @@ #!/bin/bash -cp "/home/sharwin/Resume/main.pdf" "/home/sharwin/sharwin24.github.io/static/files/SharwinPatilResume.pdf" +src="/home/sharwin/Resume/main.pdf" +dest="/home/sharwin/sharwin24.github.io/content/resume/SharwinPatilResume.pdf" +cp "$src" "$dest" echo -e "Resume updated from \e[3m/home/sharwin/Resume\e[0m as \e[3mSharwinPatilResume.pdf\e[0m" \ No newline at end of file diff --git a/layouts/resume/list.html b/layouts/resume/list.html new file mode 100644 index 0000000..d45b47b --- /dev/null +++ b/layouts/resume/list.html @@ -0,0 +1,6 @@ +{{ define "content" }} +
+ {{/* This will render the body of your _index.md */}} + {{ .Content }} +
+{{ end }} diff --git a/layouts/resume/single.html b/layouts/resume/single.html new file mode 100644 index 0000000..bd01e6c --- /dev/null +++ b/layouts/resume/single.html @@ -0,0 +1,5 @@ +{{ define "content" }} +
+ {{ .Content }} +
+{{ end }}