github-pages

Why call git branch --unset-upstream to fixup?

有些话、适合烂在心里 提交于 2019-11-28 15:09:31
I'm more of a novice when it comes to advanced operations in git. I maintain my blog using the blogging framework Octopress . Though Octopress is not under any development since 2011, it serves my purpose well and so I haven't thought of changing anything so far. FYI, my blog is hosted on Github Pages. Today, while working on a new post, git status showed the following message: On branch source Your branch is based on 'origin/master', but the upstream is gone. (use "git branch --unset-upstream" to fixup) The same message repeated for all the subsequent commands such as git add . , git commit

How can I sync documentation with Github Pages?

心不动则不痛 提交于 2019-11-28 15:08:55
I have a project together with several people and we have a README.md file with a bunch of GitHub Flavored Markdown that is rendered on our GitHub page. We also set up a GitHub Pages branch which is hosted under our GitHub Organization's subdomain, and used the Automatic Page Generator simply loading in our README.md file when we created our page. However, I notice that when I update our README.md file, it does not update the project page. Instead, we must go to the GitHub settings tab and recreate the project page, reloading the README.md file when we do it. Also, after reading about relative

Multiple GitHub Pages and custom domains via DNS

匆匆过客 提交于 2019-11-28 15:02:28
I want to have one user page and multiple project pages hosted by GitHub Pages but available under ONE custom domain (with subdomains for each GitHub Pages repository, of course). So my goals are as follows: One user page ( http://florianwolters.github.com ) available under http://blog.florianwolters.de , http://www.florianwolters.de and http://florianwolters.de . As many project pages as I wish (e.g. http://florianwolters.github.com/pear available under http://pear.florianwolters.de . As of my current understanding, GitHub Pages do only allow ONE CNAME resource record for a page (both user

Github: Mirroring gh-pages to master

冷暖自知 提交于 2019-11-28 14:59:27
I'm developing a jQuery plugin that's being hosting on GitHub. It has a demo included of which I'm manually copying and pushing to the branch gh-pages , what I'd like to do is have it so when I push a change to master it is automatically pushed to gh-pages , or at least a setup where they are mirrored. I've already seen this question but not sure if it really answers my question with regard to these requirements: I use Tower , I don't mind using the terminal (Mac) to make changes to config, so long as the solution works with this GUI. I only want this 'mirroring' on certain repos, not on all

How to add Google Analytics Tracking ID to GitHub Pages

 ̄綄美尐妖づ 提交于 2019-11-28 14:57:13
Could be a simple question but I am full of doubts right now about adding Google Analytics Tracking ID to GitHub page . I am using GitHub automatic page generator to create my GitHub page but it asks for "Google Analytics Tracking ID". I tried to sign up with Google Analytics but there on it asks for website URL. Now what I am supposed to do? One more ques: can we add Google Analytics Tracking ID later on after GitHub Page has been created? Update : Added steps descriptions for others Solved it: had to include username.github.io (link that I want to track) in Google Analytics website section.

Generating a list of pages (not posts) in a given category

Deadly 提交于 2019-11-28 13:45:08
问题 I am using Jekyll as a static generator for a website (not a blog), and I want to have an automatically generated list of all pages on my index page. Specifically, I want to have different categories and list all articles in each category separately. Here's an example of what I'm describing, if you're having trouble following. Is there any way to do this in Jekyll (e.g. GitHub pages)? I've seen the variables documentation page but that seems specific to the blog post format. 回答1: While

Jekyll site works locally but not on Github Pages

半世苍凉 提交于 2019-11-28 13:32:06
I forked the Solid-jekyll theme (solid-jekyll) and got it to work locally. However, when I pushed it up to Github pages, it seems to loose it's css formatting. My fork of solid-jekyll is on github, username:BeenzSyed. I tried changing the baseurl to "/solid-jekyll" but that didn't work either. This is what it looks like on my fork: https://beenzsyed.github.io/solid-jekyll/ . This is what it should like though: http://ojs.xyz/solid-jekyll/ . I think it's because it can't find the _includes/css/style.css file but I'm not sure what to do to fix that. Any help is appreciated! Faced exactly same

Excluding a “spook” pages from <marquee> line made from Jekyll list of page

吃可爱长大的小学妹 提交于 2019-11-28 12:59:43
问题 I am using the following expression <ul> {% assign mypages = site.pages | sort: "order" %} {% for page in mypages %} <li class="intro"> <a href="{{ page.url | absolute_url }}">{{ page.title }}</a> </li> {% endfor %} </ul> at my site's index.md to generate list of all pages and all works perfect Also I am using modified version of the above-mentioned code <marquee behavior="scroll" scrollamount="17" direction="left" height="80px" loop="-1" style="border:0px" width="99%" padding="0px"

jekyll serve dependency error - Could not open 'lib curl'

孤者浪人 提交于 2019-11-28 11:44:45
I am trying to run bundle exec jekyll serve but it comes up with the error: Dependency Error: Yikes! It looks like you don't have jekyll-remote-theme or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. The full error message from Ruby is: 'Could not open library 'libcurl': The specified module could not be found. . Could not open library 'libcurl.dll': The specified module could not be found. . Could not open library 'libcurl.so.4': The specified module could not be found. . Could not open library 'libcurl.so.4.dll': The

Is there a configuration in Github Pages that allows you to redirect everything to index.html for a Single Page App?

末鹿安然 提交于 2019-11-28 08:42:07
问题 I'm trying to post my SPA app that works fine locally but when I push it to Github Pages, the interior pages don't register if you navigate to them directly. For example http://USER.github.io/PROJECT_NAME/ works but http://USER.github.io/PROJECT_NAME/about doesn't because theres no redirect or rewrite. The index.html is located at the root of the project. 回答1: I just built this tiny package (for bower / npm) to solves that exact problem so I thought I'd share it here as an answer to your