-
Hi all, my page at http://big616.github.io isn’t showing my theme. I read all the documentation, and couldn’t find why. Already spend a day looking and now i’m calling for helpppp. I went thru the the set up, but can’t seem to pin point my problem. I replaced my readme file tinkering around… Also any suggestions on my site that would help me land a dev job would be great! I applied yesterday and they should be checking it out next week or so. |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 1 reply
-
I should apologize for the noob question first i guess, but please, anyone care to help? |
Beta Was this translation helpful? Give feedback.
-
Hi @big616! No need to apologize for the “noob question”, we’ve all been there at some point. The reason you’re not seeing your theme show up is because of the way that Jekyll handles HTML files. Since you’re trying to get your theme to apply to your To do this, delete everything from your HTML file except what’s between the Once you’ve done that, at the very top of your
Once you’ve added the three lines above to the top of your HTML file, you can commit your changes and your Pages site should start building again. Once it’s done being built, you should be all set. You may need to clear your browser’s cache to see the changes, but your site should now have a theme applied to it. Let me know if you have any additional questions! |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot. That was really helpful. |
Beta Was this translation helpful? Give feedback.
-
Very clear instructions, worked like magic. Thank you! |
Beta Was this translation helpful? Give feedback.
-
I was having this same issue and realized that github pages only supports certain themes (https://pages.github.com/themes/), however, you can specify a “remote_name:” in your _config.yml file to use a public theme not listed in the link provided. This post (https://github.blog/2017-11-29-use-any-theme-with-github-pages/) explains further! |
Beta Was this translation helpful? Give feedback.
-
Thanks, buddy! Couldn’t find how to apply themes to my HTML pages anywhere. You’re a life saver! |
Beta Was this translation helpful? Give feedback.
-
It works. Great! |
Beta Was this translation helpful? Give feedback.
-
i just wanted to add that this worked for index.md too (not just index.html). I was having the same problem. I tried the |
Beta Was this translation helpful? Give feedback.
-
I am having a similar issue. But I am using a theme that is located in theme.js but I tried adding in the HTML by href=“js/theme.js”. I still can’t get my theme to show on my portfolio website. Please help me I’m a noob 😦 Home - Brand |
Beta Was this translation helpful? Give feedback.
-
It looks like your links are looking for your CSS inside the landa125/landa125.github.io/blob/4b942dd822a3aee67031ce040276bdd54e1b6545/index.html#L17
But that folder doesn’t exist inside your repository. This link should probably be this instead:
You’ll probably need to fix these path issues with any other assets on your site that aren’t loading too. |
Beta Was this translation helpful? Give feedback.
Hi @big616!
No need to apologize for the “noob question”, we’ve all been there at some point.
The reason you’re not seeing your theme show up is because of the way that Jekyll handles HTML files. Since you’re trying to get your theme to apply to your
index.html
file, you’ll need to tell Jekyll explicitly what theme to use for your HTML file.To do this, delete everything from your HTML file except what’s between the
\<body
> tags in your repository. Your theme will take care of the other HTML, so you just need to worry about the content of the page, which will always be in the\<body\>
of your theme.Once you’ve done that, at the very top of your
index.html
file, you’ll need to add some Je…