No text formatting or images on built site #2721
-
Hello! I've forked https://academicpages.github.io/ into my own repo at https://github.com/wildetudor/tudorpopescu.github.io, replaced the content in /_pages/about.md. I built the site using Netlify (app.netlify.com), which connects to my GH repo. However, the homepage (viewed in Edge/Chrome/Ffx) shows as unformatted text, and the avatar image also does not show: I suspected some syntax error in the _config.yml or about.md (as in this similar thread), but after checking all files in my repo, I"m at my wit's end what else to try! It might be telling that when I try to load my site from the tudorpopescu.github.io URL (instead of tudorpopescu.com, the URL defined in Netlify), I get a 404, whereas other websites based on the academicpages template load fine. Might this be a misconfiguration between GH and Netlify? If not easily fixed, might it be easier to use GitHub Pages instead?Unfortunately there is no more support from the academicpages repo itself, so am not sure where else to get help. Thanks in advance for any help! |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments
-
Your paths are probably wrong by not setting You can verify this by viewing the source and checking the paths to images and the CSS in . Neither are loading which is why you have missing images and no styling. |
Beta Was this translation helpful? Give feedback.
-
You can only use the domain |
Beta Was this translation helpful? Give feedback.
-
Thanks to both for replying. Indeed changing my repo name to match my GH username fixed the URL problem, and the formatting&images are displayed correctly. However, all browsers I tried to load the site in, display a warning icon about the site being "Not secure", which I've not seen for other websites build on the MM template: |
Beta Was this translation helpful? Give feedback.
-
Thanks! "Enforce HTTPS" was in fact already enabled: I should add the "not secure" warning appears only when I navigate to the site using my custom URL (tudorpopescu.com), and not when I use the repo URL (https://wildetudor.github.io/). As I mentioned, my repo is linked to Netlify, whose settings don't seem to allow the necessary certificate in order to make the site use HTTPS. |
Beta Was this translation helpful? Give feedback.
-
Please refer to Netlify's docs on HTTPS: https://docs.netlify.com/domains-https/https-ssl/#netlify-managed-certificates |
Beta Was this translation helpful? Give feedback.
-
Thanks! I had actually followed that troubleshooter, but the error I get is not found there. Any thoughts about simply skipping Netlify altogether? |
Beta Was this translation helpful? Give feedback.
-
I recommend that you seek help on https://talk.jekyllrb.com/ or https://github.community/ rather than here. We want to focus the Issues board on this theme, not general support questions. |
Beta Was this translation helpful? Give feedback.
-
Of course, will do - thanks again for your help so far! |
Beta Was this translation helpful? Give feedback.
You can only use the domain
something.github.io
whensomething
matches your username. See About GitHub Pages.