Skip to content
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

Pictures aren't loading on blog posts when live #106

Closed
Frijol opened this issue Dec 28, 2020 · 7 comments
Closed

Pictures aren't loading on blog posts when live #106

Frijol opened this issue Dec 28, 2020 · 7 comments

Comments

@Frijol
Copy link
Contributor

Frijol commented Dec 28, 2020

No description provided.

@lightandluck
Copy link
Member

Try upgrading hugo in our Circle config to whatever version you're using.

Or we can try this hack: https://anaulin.org/blog/hugo-raw-html-shortcode/. I know this works.

@Frijol
Copy link
Contributor Author

Frijol commented Jan 6, 2021

Tried upgrading hugo in Circle config and now hugo's deploy step is broken, even when I change it back to the old hugo version :( https://app.circleci.com/pipelines/github/datatogether/website/175/workflows/d5579775-d71e-48d6-bf45-549b8193c974/jobs/178 it says it doesn't have a config file.

@Frijol
Copy link
Contributor Author

Frijol commented Jan 6, 2021

Oh hm, it does build and push to the gh-pages branch, but the config file is indeed missing from the gh-pages branch and has been posting errors for quite a while now.

https://app.circleci.com/pipelines/github/datatogether/website?branch=gh-pages

I'll split this out into a new issue.

@lightandluck
Copy link
Member

Something else to try - It looks like it's building from a docker image of hugo from here: https://github.com/cibuilds/hugo, so I think you'd have to use the folder name: 0.79, instead of the version name 0.79.1.

@Frijol
Copy link
Contributor Author

Frijol commented Jan 6, 2021

hm, worth a shot but also didn't work. I'll try the shortcode

@Frijol
Copy link
Contributor Author

Frijol commented Jan 6, 2021

shortcode isn't working either :( ...but also now the images aren't loading locally either without the shortcodes, so I'll throw those into all the posts

@Frijol
Copy link
Contributor Author

Frijol commented Jan 6, 2021

oh no wait it worked! It just took a while to propagate or something. Yay!

@Frijol Frijol closed this as completed Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants