Use when the topic is the static web pages hosted on GitHub. There is also a more general tag [github] and a tag [github-issues].
Questions tagged [github-pages]
34 questions
89
votes
3 answers
Analytics on GitHub pages
Does GitHub provide some (native) way to track visitors on some hosted page (pages at *.github.io/project)?
I know we can see traffic on GitHub repositories and I thought there would be some similar features for pages but couldn't find anything.
Weier
- 1,181
- 2
- 8
- 8
69
votes
4 answers
Am I allowed to host a commerical website on GitHub Pages?
Can I host my company's website on GitHub Pages, if I wanted?
Are there any restrictions on what you can and can't use GitHub pages for?
We don't get a lot of traffic, so I don't think bandwidth is the issue. I'm interested from a legal perspective.
Mark Bubel
- 809
- 1
- 6
- 6
34
votes
1 answer
Caching assets in website served from GitHub pages
The server for GitHub pages (including mine) sets CacheControl: max-age=600. It means the cache is set to last only for ten minutes, which is undesirable.
Is it possible to control this value and to set also only-if-cached status?
I know that there…
reducing activity
- 952
- 1
- 8
- 22
15
votes
1 answer
How to add comments in blog posts on GitHub-pages websites
I've made a website based on GitHub pages using Jekyll Theme. Currently I can post blogs in that website as well. However, I want to add a comments section at the end of the blog posts.
There are tutorials on how to add comments sections using…
Gabriel Staples
- 575
- 7
- 19
10
votes
1 answer
Can GitHub Pages render asciidoc?
GitHub repositories can render/preview asciidoc (.adoc) documents, apparently using asciidoctor.
But I can't seem to make pages served by GitHub Pages (GitHub's Jekyll-based service that serves repository documents under github.io) render my…
villares
- 397
- 1
- 3
- 13
7
votes
1 answer
Use GitHub pages on multiple repositories when one has a custom CNAME already?
I have a GitHub repository set up to host a small static site. The repository that hosts this is in the following format:
username.github.io
This repository is setup to use a custom domain and has a CNAME file to do so properly. This repository…
Andy
- 173
- 1
- 8
5
votes
1 answer
How to remove or hide other contributors in my GitHub
I am new to GitHub. I have recently created a git repo and committed few of my code in GitHub. After few of my commits I see different names are visible in my contributors list.
That may be because of any one of the following mistakes:
Wrongly…
Harish P C
- 53
- 1
- 1
- 6
4
votes
0 answers
How automatically to see traffic for each post in Jekyll blog?
I recently migrated to Jekyll from WordPress / Blogger and what I miss most is easy traffic statistics.
I embed Google Analytics code into Jekyll, but I can only see overall traffic. When I want to see traffic to a specific post, I have to go into…
Heisenberg
- 91
- 4
3
votes
1 answer
How can I move a Google Sites website to GitHub pages?
I am trying to move all of my site from Google Sites to GitHub Pages. Is there a way to let me do that?
bb216b3acfd8f72cbc8f899d4d6963
- 188
- 3
- 15
3
votes
1 answer
Ask questions on GitHub without raising an issue
It’s happened to many I’m sure: you're on GitHub trying to install some new software, and it’s just not working right. It might be the software, or it might be that you didn't understand something, or something went wrong along the way. As in, your…
j0h
- 133
- 5
3
votes
2 answers
Blogging on Medium but retain versions
Is there a way I can write blogs on Medium but still have those version maintained on GitHub? Or write them on Jekyll GitHub pages and have them post to Medium?
Basically version control your Medium blog preferably on GitHub.
Joe Saad
- 139
- 3
2
votes
1 answer
How to fix a GitHub hosted blog post URL and Project Page URL collision?
I have hosted my blog via GitHub pages along with a custom CNAME - praveenpuglia.com. A few days ago I created a project named show-me-my-colors and the project page for it had the URL -
http://praveenpuglia.com/show-me-my-colors
Now today, I…
Praveen Puglia
- 131
- 4
2
votes
2 answers
Hosting multiple web apps on GitHub
Recently I discovered that we can host our web apps on GitHub and publish them with the repo URL.
I created a repo named myusername.github.io and published my web app on it. Now I want to host another web app created in another repo.…
codeinprogress
- 121
- 1
2
votes
2 answers
Can't find source of GitHub Pages website
I noticed a typo on http://dblock.github.io/dotnetinstaller/ . Judging by its URL it seems to be a GitHub Pages website, so I thought I would fix the typo via a GitHub pull request.
If I am not mistaken, the HTML for a http://xyz.github.io website…
nic
- 8,884
- 28
- 80
- 135
2
votes
2 answers
How to run pyodide on my Gitub-pages website?
I have a GitHub pages website on which I'd like to run commands from SciPy. The user will input three values (A, B, C), and a python code will find the optimal nontrivial values: X, Y, Z such that X^A+Y^B=Z^C holds.
Pyodide sounds like my best…
0x90
- 123
- 5