Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Ground Controller Lvl 1
Message 11 of 14

Re: Problem with GitHub Pages - theme

I would like to add a theme to my github pages, but upon selecting a theme i am getting an error message , "Requests to the server have been blocked by an extension." Hence i cannot proceed further. I have disabled the extensions on my browser(chrome) and it hasn't worked. I also tried another browser (Microsoft edge) and the results are almost the same.

 

Please any suggestions on how i can solve this?

Thank you.

 

Chamu

Moderator
Message 12 of 14

Re: Problem with GitHub Pages - theme

Hey there @ChamuMutezva

Thank you for reaching out to us. The error mentioned could be triggered from various different configurations which is not only related to GitHub Pages. To help us dive into the specifics, have you tried any of the following configurations mentioned?

 

For troubleshooting GH pages builds:

https://help.github.com/articles/troubleshooting-github-pages-builds/

 

For correct configuration of GH Pages themes:

https://help.github.com/articles/about-jekyll-themes-on-github/

 

https://help.github.com/articles/adding-a-jekyll-theme-to-your-github-pages-site-with-the-jekyll-the...

 

Let us know how this goes. Good Luck! :)

Solution
Ground Controller Lvl 1
Message 13 of 14

Re: Problem with GitHub Pages - theme

I've managed to solve this issue by unticking the tag "Require pull request reviews before merging" in settings --> branches --> Branch protection rules --> master --> edit

so that github could change the .yml file (theme file) without submitting a pull request. 

Copilot Lvl 3
Message 14 of 14

Re: Problem with GitHub Pages - theme

I was experiencing the same issue and your soluition fixed the issue.

Thanks @SimZhou  for taking the time to post this most helpful answer!!