GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing indieweb.org — GitHub Pages (Redirected from github-pages) This article is a stub. You can help the IndieWeb wiki by expanding it with relevant information.
GitHub Pages (aka gh-pages) is a static content hosting service offered by GitHub where you can host static sites. They offer pre-built web page templates, as well as the ability to build and host Jekyll websites. WhyStatic content hosting is a form of web hosting that can be used for getting started on the IndieWeb. Advantages
HowStartThe simplest way to get started with GitHub pages is:
Domain related configuration
In progress: How to setup your personal domain GuidesThere are several more involved guides on how (and approaches) to use GitHub Pages to host your website:
Fork and goSome websites provide ready-to-fork repositories that one can use to get started. These *don't* have to be used with GitHub, but they are configured to use GitHub pages by default.
IndieWeb ExamplesExamples of IndieWeb sites hosted on Github Pages Emma HodgeJulie Anne NoyingChris Aldrich
LimitationsNo HTTP Status Code Controlgh-pages does not allow you to setup custom HTTP [status] return codes. -bret (in IRC 2013-176, unlogged). If a page exists, GitHub Pages will return "200 OK" If a page does not exist, or was deleted, GitHub Pages will return "404 Not Found" For some as yet unknown reason, GitHub Pages will return a 301 redirect to the same URL on the first request to a page in a "while". On subsequent requests, it will return the actual page content. There is ongoing discussion on using http-equiv codes to work around limitations like these. See: deleted#Brainstorming Limited file typesGitHub isn't a very good host for large media files, especially if they change, although there is nothing stopping you from uploading media. Only serve files from gh-pages, as raw repository links have to come out of some application layer, and thus are slower to retrieve. Github enforces a soft repository size limit of about 1Gb. Jekyll Safe ModeIf you wish for GitHub to build your Jekyll website for you on their server, you must conform to the restrictions associated with jekyll safe mode, which means no plugins. You can pre-process with as many plugins as you want and upload raw html files instead as a simple workaround (similar to how octopress works). BrainstormingSetup your personal domainThe instructions to configure your domain for Github Pages are quite lengthy, confusing, and spread across multiple pages, this section is a simplification of those instructions for the common case of a personal domain. Simpler step-by-step instructions:
CriticismAs Github Pages is part of Github, it suffers from the same weakness - see the Github page for details about them. See Also
Retrieved from "https://indieweb.org/wiki/index.php?title=GitHub_Pages&oldid=110584" |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |