Resume now displays on tab

This commit is contained in:
Sharwin24 2025-06-29 19:42:50 -05:00
parent b168b11902
commit 02719113c9
8 changed files with 35 additions and 15 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

View file

@ -1,13 +0,0 @@
---
title: "My Resume"
url: "/resume/"
---
Heres my resume—scroll or download directly:
<iframe
src="{{ "files/SharwinPatilResume.pdf" | relURL }}"
width="100%"
height="800"
style="border: none;"
></iframe>

20
content/resume/index.md Normal file
View file

@ -0,0 +1,20 @@
---
title: "My Resume"
date: 2025-06-29T09:00:00+00:00
description: Heres my resume—scroll or download directly
hero: images/sharwin_ethan_chessbot.png
url: "/resume/"
repo: https://github.com/Sharwin24/Resume
---
<iframe
src="SharwinPatilResume.pdf"
width="100%"
height="800"
style="border: none;"
allowfullscreen
loading="lazy"
title="Sharwin Patil Resume"
></iframe>

View file

@ -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

View file

@ -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"

6
layouts/resume/list.html Normal file
View file

@ -0,0 +1,6 @@
{{ define "content" }}
<section class="resume-page container">
{{/* This will render the body of your _index.md */}}
{{ .Content }}
</section>
{{ end }}

View file

@ -0,0 +1,5 @@
{{ define "content" }}
<div class="resume-single container">
{{ .Content }}
</div>
{{ end }}