github-pages

Defining footnote location with Kramdown/Jekyll

巧了我就是萌 提交于 2019-12-04 15:17:59
I have a Jekyll blog that runs on kramdown 1.10, and I have tried to change the location of my footnote list to no avail. This is intended to go on a github-pages site, but doesn't work locally either. According to this issue , there is a way to add a footnote location elsewhere in your documents using Kramdown by defining a custom identifier that maps to a DOM object in your post. Particularly I have added this to my _config.yml kramdown: footnote_location: 'my_footnotes' and tried all of these variations atthe desired location in my layout: <ol id="my_footnotes" class="my_footnotes"></ol>

Jekyll on Github pages not displaying images and has broken links

∥☆過路亽.° 提交于 2019-12-04 13:53:41
问题 I'm trying to host my Jekyll blog on Github pages. The blog is currently live here. As you can see, the images are missing + when you click on the blogposts, it shows 404. How to fix this? Here's the link to my public blog repo, and here's my _config.yml file: # Build settings markdown: redcarpet highlighter: pygments # Site settings title: "Sam Yonski" description: > # this means to ignore newlines until "email:" Reading and writing... email: sam.yonski@gmail.com #blog logo logo: "/assets

How to deploy Aurelia to GitHub Pages (gh-pages)

[亡魂溺海] 提交于 2019-12-04 12:06:09
问题 I haven't seen demos of Aurelia running in GitHub pages. I wonder if there's a gist or a repo somewhere that shows how it can be done. Is it just a matter of configuring gulp or is there another solution? 回答1: Here is the solution using the Aurelia navigation skeleton project as an example when created into your organization as a repository as aurelia-skeleton-navigation . Important Note: This is NOT a production solution. This is for showing how to run Aurelia within GitHub pages using an

Make Github pages case insensitive?

一个人想着一个人 提交于 2019-12-04 07:45:56
Is there a way to make github pages case insensitive? Or in jekyll to ensure all url's are lowercase? For example this url is valid: http://www.example.net/Vegas-2014.html but this 404s http://www.example.net/vegas-2014.html I don't like that from a usability perspective. (think text messaging urls, typing them in, etc.) I know I can fix this with permalink, but I'm wondering if there is a way to do it through configuration of Jekyll or pages or some other technique. Sorry but case-sensitiveness is a standard for URL that is respected in Unix/Linux world. Windows world in more case insensitive

How to create Github pages from a project's documentation?

扶醉桌前 提交于 2019-12-04 07:42:29
问题 I have a project on Github that has a directory containing some automatically generated HTML documentation. I would like to use that documentation within Github's project pages facility. So, I've read the instructions on how to create the project's gh-pages root branch. This effectively creates an empty branch. What I'd like help with is mirroring the html files in the /docs path from the master branch, so they are in the root of the gh-pages branch. What is the best way of approaching this?

Subdomain of custom domain on Github pages

点点圈 提交于 2019-12-04 04:16:03
We are allowed to use our own custom domain with Github Pages. For example, I have my page: http://example.com which points to http://username.github.io/project But now I need to create a subdomain for another folder inside my repo. like http://zuckerberg.example.com ---> which points to ---> http://username.github.io/project/zuckerberg Is it possible to accomplish on github? I can't find any documentation about subdomain of custom domains :/ I found this so far https://help.github.com/articles/user-organization-and-project-pages but it's really confusing You will not be able to point a custom

gh-pages -d build gives Error “file” argument must be a non-empty string

会有一股神秘感。 提交于 2019-12-04 03:24:57
问题 I included all the steps for deploying my create react app on github. snippet of my package.json "scripts": { "start": "node scripts/start.js", "build": "node scripts/build.js",`enter code here` "test": "node scripts/test.js", "homepage": "http://myName.github.io/create-react-wars", "predeploy": "npm run build", "deploy": "gh-pages -d build" }, this is the error i am getting gh-pages -d build "file" argument must be a non-empty string npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! react

Images not displaying in Github Pages?

試著忘記壹切 提交于 2019-12-04 02:14:10
I added a project site to my Github project. But some photos are not displaying in the site. Img code: <img src="img/screenshot2.PNG" class="img-responsive" alt=""> </div> folder structure (img is a folder): img Screenshot2.png index.html I tried with .png and .PNG (some earlier SO answers suggested it) and none of them work Any solutions? Nevermind, I solved it. If anyone has the same problem. GitHub Pages are case sensitive. Not only for folders, but also for image names. Write what you see. It is Screenshot2.png . With a lower-case png and a capital S at the start. While hosting a website

Github pages site size limits?

僤鯓⒐⒋嵵緔 提交于 2019-12-03 23:59:23
What are the limitations on the amount of data on github pages? Main github repo a limited in 1 GB ( https://help.github.com/articles/what-is-my-disk-quota/ ), and what about github pages? UPD On http://www.quora.com/What-are-bandwidth-and-traffic-limits-for-GitHub-pages I found two much different answers. GitHub now has new policies of a 1GB filesize repository, warnings for pushes of files over 50 MB and complete rejection for fileuploads of 100MB. GitHub warns you when you push a file larger than 50 MB. https://help.github.com/articles/what-is-my-disk-quota/ Related is bandwidth usage

Is there a way to use a pre/post commit hook in github to update gh-pages branch from master?

冷暖自知 提交于 2019-12-03 21:37:06
I have a completely static site (eg. https://github.com/robertjchristian/angular-enterprise-seed ) hosted on github , where I work mostly out of the master branch. The contents of the /app/ directory are byte-for-byte what I want to host. So during development I just cd ~/projects/angular-enterprise-seed/app, and then "python -m SimpleHTTPServer". This allows me to browse the site locally at localhost:8000. I want to host the static contents of /app on the web as well, and gh-pages is the ideal candidate. Here are my requirements: Don't want to "just use gh-pages branch as master" Don't want