epidrome / cover-card

:necktie: Online business card with a minimal landing page theme for any social media or online presence account: fork, edit, and go!
https://epidrome.github.io/cover-card/
MIT License
108 stars 109 forks source link

Setting cover-card jekyll theme to xxxxx.github.io doesn't work #13

Open bungabunga opened 5 years ago

bungabunga commented 5 years ago

I appologise in advance, this is probably not a bug, only my lack of knowledge. it seems that this jekyll theme only works if you set github page like this - bungabunga.github.io/bungabunga, and not like this - bungabunga.github.io. is it possible to somehow make it work the other way, because then the adress is simpler to remember?

thanks!

epidrome commented 5 years ago

i think your question is not related to the theme but to the operation of Github Pages https://help.github.com/articles/user-organization-and-project-pages/

bungabunga commented 5 years ago

what makes me think that this is somehow related to the theme is that if i follow the procedure on your link the cover-card site is online and visible for a minute but later it dissapears, it is replaced with all white site with hidden (white on white) text: username.github.io Just a business card, no blog required!

epidrome commented 5 years ago

are you using the gh-pages branch in your Github Pages settings? this should be the default, when forking

bungabunga commented 5 years ago

when you set your page as username.github.io there's no other option as 'master'. the setting is grayed out: scr

epidrome commented 5 years ago

thanks, now i have a better understanding of the issue

here is the explanation why it does not work, Github Pages does not allow serving from gh-pages branch if you are on your user page https://help.github.com/articles/configuring-a-publishing-source-for-github-pages/

of course, we could do a refactoring of cover-card, but this would be a major one in terms of development workflow, because the master branch is occupied with the source code of the gem-based theme

have you considered to get a nice memorable domain name? it should be better than the generic github.io

bungabunga commented 5 years ago

i'll see about that. great that we now know the reason behind this issue. thanks!

epidrome commented 5 years ago

thanks for reporting this, i have filled it as a bug and will keep it as an open issue until it is resolved

besides getting a domain name, another solution is to delete (or rename) your master branch and then rename your gh-branch to master, then it should work according to your specification.

hope this helps!

bungabunga commented 5 years ago

vow! will try that, thanks.

nickgarlis commented 5 years ago

@bungabunga Renaming your repository to bungabunga.github.io should solve your issue.

bungabunga commented 5 years ago

@nickgarlis nope. and that's the reason for this issue.

epidrome commented 5 years ago

@nickgarlis no, it does not work because of "bad chemistry" between Github Pages and theme design, see: https://github.com/epidrome/cover-card/issues/13#issuecomment-433463399

ans1genie commented 4 years ago

Hello, Any updates about this issue?

Updates: Apparently I have already hosted an old one when it removed worked perfectly.

This can help someone!

Thank you