-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm sorry but, it doesn't work for me #13
Comments
Thanks for raising the issue. |
I can get it to work by changing this line at the top of embed-pdf.html from this:
to this:
Problem is, that's not really a "fix" so much as a "hack to make it work on my project". |
|
Awesome!
Yes, Please!
ermm. none . |
Not sure why the issue was closed, let me get a PR going. I can walk you through how we're deploying hugo-- you can see it in this project here: https://github.com/tetrabiodistributed/papra We're basically deploying hugo through a docker image and through build actions to get everything compiled, with this project as a submodule. I don't know how well this fix will work for other people, so I'd love some confirmation that it doesn't break what they're up to. |
Thank you @mmroden I have a demo site up with the shortcode and I am deploying it using Netlify. But getting that integration on this repository will be difficult, I am assuming. |
@mmroden I think the OP closed the issue since you provided a fix. |
Adding a relative path to the source line to address #13
First of all, thanks for your attention.
I am following the steps of his instructions but the pdf that is a single page does not load, only the window appears with "Previous Next Page: /" I have tried with firefox chrome and google chrome movile ..
I have also tried to load other pdf files with more than one page but I have the same result.
I don't know if I'm doing something wrong (I'm just starting with hugo), I'm trying to make it work at https://hotspotcepeda.github.io/es/posts/hotspot/#pdf
I have the pdf file uploaded locally at https://github.com/hotspotcepeda/hotspotcepeda.github.io/blob/main/static/pdfs/hotspot_conectar.pdf
I would like to know what is happening, I do not have an error message, the pdf file is simply not displayed.
I would appreciate your help in making it work.
The text was updated successfully, but these errors were encountered: