konstantinmuenster / gatsby-starter-portfolio-minimal-theme

A Gatsby Starter Project to get started with the Portfolio Minimal Theme.
BSD Zero Clause License
144 stars 72 forks source link

Resume button file location #3

Closed JakubHojsan closed 1 year ago

JakubHojsan commented 3 years ago

Hello!

Using the default directory, /resume.pdf, when built with gatsby build the site displays a cached version of the resume. I am not sure why this is, but changing out the resume.pdf inside of the main directory does not seem to change anything.

Am I supposed to instead put the resume in the public/static directory?

Thank you!

konstantinmuenster commented 3 years ago

Hey! Thanks for pushing the project and contributing good questions!

The easiest solution is to place the resume.pdf file in the static directory and then reference it like /resume.pdf in the settings.json. You can see an exemplary implementation here: https://github.com/konstantinmuenster/gatsby-theme-portfolio-minimal/tree/main/example-site

Also, I just recognized that the pdf file is missing in this starter project. I will add it 👍