FAQ Database Discussion Community


Jekyll raw HTML in post

markdown,jekyll,github-pages,kramdown
I have a Jekyll website, with Posts written in Markdown using the Kramdown parser. I would like to add some raw HTML within the post. However when I try to add the HTML, it parses it as markdown (changing <'s to &lt; for example). I have tried: Adding the HTML...

Creating project documentation for java web project in gh-pages

git,jekyll,github-pages
I have a maven based java web project with source code in master branch. I want to create documentation for that project using jekyll, and commit the documentation along with the source in docs folder. So, I initialized a new jekyll site named docs in my root of my project...

Three-level nested list in kramdown

markdown,github-pages,kramdown
I have been trying to create a nested list like the following (with kramdown, for use on GitHub pages), but the HTML output is not semantic; paragraphs are used instead of list elements for the 2nd-level list, and code blocks are used for the 3rd-level list items. 1. Do something....

Github pages css troubles only on smartphone

html,css,jekyll,github-pages
I am creating a website using Jekyll, and publishing it using Github pages. When I jekyll serve the website in local, everything works fine, and it looks normal both from my computer and smartphone. But when I visit the Github pages one from my smartphone, some divs seem to be...

How to deal with the inconsistency between the posts file and the actual webpage on github?

jekyll,blogs,github-pages
everybody, I am new to github and build a simple blog on it. However, when I add a new file to the posts directory, the actual website will not always be updated immediately(sometimes it does), I thought it is because of the cache of the Chrome, but after I cleared...

Dynamically add and filter images in Jekyll for github pages?

jekyll,liquid,github-pages
I am trying out Jekyll to help someone who's not all that technical maintain their own static site. I would like to be able to have a images directory in the app's root /images containing images following a naming convention: post_one_1.jpg, post_one_2.jpg, post_two_1.jpg, post_two_2.jpg ... etc. I would then like...

The pagination issue of using Octopress with Github pages

jekyll,github-pages,octopress
I used Octopress to setup my blog with Github pages. Everything is OK. But I can't fix the pagination issues. Specifically, if I click the "older" link on my first blog page, it can't find the right page. My Blog site is : http://www.enlangtech.com/blog/ And the corresponding repository is :...

Styling Jekyll website with Bootstrap

css,twitter-bootstrap,jekyll,github-pages
I am trying to set up a website using Jekyll and GitHub Pages (first-timer), and most importantly, to style it with Bootstrap. You can check what I have already done: GitHub repository: https://github.com/thibaudclement/wallaby GitHub page: http://thibaudclement.github.io/wallaby/ (check gh-pages branch) Also, I followed this tutorial to import Bootstrap into the Jekyll...

Polymer: flashes of white screen when page loads

javascript,polymer,jekyll,web-component,github-pages
I'm currently working on the web-site using Polymer, Jekyll and Github pages. But I'm facing one big issue. When switching between pages there is a white screen showing every time, which is not correct behavior. I would like to always see the header section and left menu (without flash) even...

How to know if an URL is relative or absolute in Jekyll?

jekyll,liquid,github-pages
I'm trying to do the following in Jekyll: I have an URL; This URL can be relative ("/media/image.jpg") or absolute "http://example.com/image.jpg"; If the URL is relative I have to append to its beginning my site domain ("http://my-site/media/image.jpg"). If don't, nothing changes. Sadly I have no clue yet on how to...

Github pages site size limits?

github-pages
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....

How do I configure GitHub to use non-supported Jekyll site plugins?

github,jekyll,github-pages,gh-pages,jekyll-extensions
I just created a great gallery for my Jekyll blog which builds perfectly on my localhost:4000. However, GitHub pages doesn't support the Jekyll Gallery Generator plug-in I am using: https://github.com/ggreer/jekyll-gallery-generator I read about the alternative method of hosting Jekyll on a traditional host using FTP (uploading the _site directory) http://jekyllrb.com/docs/deployment-methods/...

If my repo IS my Jekyll site, does gh-pages still need to be an orphan?

github,jekyll,github-pages,gh-pages
There are many suggestions that when you start a gh-pages branch, to start the branch as an orphan and remove the contents from git. For example, here: http://robots.thoughtbot.com/its-for-the-orphans and on the official github: https://help.github.com/articles/creating-project-pages-manually/ However, would this apply if my master branch is my gh-pages branch? That is to say,...

Ruby on Rails with Github Pages

ruby-on-rails,github,deployment,github-pages,gh-pages
I am attempting to host a project using Github pages. As I understand it, Ruby on Rails cannot be run on GH-Pages, with the exception of using Jekyll. My project is not a blog, and therefor Jekyll seems like overkill. Is there any other way to deploy to GH-Pages? Is...

GitHub static pages unable to retrieve files

github,github-pages
I'm not sure what's going on, but it appears that certain .css files are being retrieved and some others are being denied. Anyone have any clues? Repo: Code Mirror Themes Demo: Code Mirror Themes Demo You can see that certain .css files work, when you toggle the various themes. I...

Markdown compiling images with paragraph tags

markdown,jekyll,liquid,github-pages
This is just a simple problem but it's one that I can't find on Google to solve this. Basically what is happening is that I have a Jekyll website, and I'm using kramdown for the markdown compiling. When I add an image to a markdown file like below: ![Image Alt...

Blog not rendering using middleman

ruby,github-pages,middleman
I created a middleman blog using this tutorial and documentation. Since I had an older blog, I copied few of my posts and pasted into source folder. Now when I start server, I don't see any of my posts. Can someone help me with this? Latest code is hosted on...

How to deploy Aurelia to GitHub pages

javascript,github-pages,aurelia
Is aurelia.io completely client side or does it require server component. i.e. can it a github page. thanks...

Github pages/Jekyll Coldfusion redirect

redirect,coldfusion,jekyll,url-redirection,github-pages
I've just moved my Jekyll site to Github pages, however I realised that I have a couple of Coldfusion redirects - e.g. http://mysite/index.cfm?page=disclaimer. These links are relied on from various locations on the web, is there anyway I can make it work? I have read up on Jekyll redirect-from plugin,...

Unable to set favicon using Jekyll and github pages

html,jekyll,favicon,github-pages
I am trying to set a favicon.ico for my github page, but it doesn't work. When I serve it locally I see the standard "empty" favicon and when I push it I see the facebook icon. Why is it so? I have the right favicon.ico in the root directory of...

GitHub Pages for Private Repository

github,github-pages
Anyone know if there's a way to create GitHub Pages for a Private Repo? I was just thinking about the possibility to use GitHub Pages to host a small website, but keep the source repository private. This way the only way the content would be exposed would be through the...

jekyll template not rendering correctly on github page [closed]

jekyll,github-pages
Does anyone know why the initial jekyll template not rendering correctly on the github page(http://miml.github.io/imiml/), while it is looking perfectly on my localhost:4000. Thanks in advance.

Jekyll redcarpet render Table with frame

markdown,jekyll,github-pages,redcarpet
I had the same problem as in Table not render when use Redcarpet in Jekyll GitHub Pages? And I used the answer to get table rendering into my github Jekyll page. But it does not render the frame or lines of the table. Is there the possibility to get a...

Jekyll on Github pages not displaying images and has broken links

jekyll,github-pages
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...

How can I redirect a request to a subdomain to another subdomain on Route 53?

redirect,jekyll,github-pages,amazon-route53
I have a GitHub Pages Jekyll blog at blog.Antrikshy.com. I have been meaning to move it to code.Antrikshy.com for a while now. I made the new address a CNAME for antrikshy.github.io on Amazon and wired everything correctly to make it work. Now my blog.Antrikshy.com URL is broken. How can I...

Jekyll - How can I make avoid a paragraph to be added on a YAML frontmatter markdownify item

ruby,jekyll,liquid,github-pages
Okay... I have a project where I'm using Jekyll for a podcast project. And I chose to list the hosts in the shownotes by a YAML Front Matter item: hosts: - Name A - Name B - Name C Using this piece of code <li> <strong>Hosts:</strong> <ul> {% for host...

middleman blog articles not rendered on github pages

github-pages,middleman
I've deployed my blog to github pages. Index page works fine, but when I click on post page, it forces browser to download file instead of rendering post. I want to use pretty urls so I've followed middleman docs. I get this error 'Failed to load resource: frame loading interrupted'...

Using ASP.NET in GitHub Pages

c#,html,asp.net,git,github-pages
I am trying to create a personal website on GitHub Pages using the ASP.NET Web Forms template from Visual Studio 2013. (I'm trying to learn ASP.NET/C#) But it looks like GitHub pages only will load a file named "index.html" as the home page. I made my index.html file redirect to...

Baseurl behavior differs between localhost and github pages in Jekyll

jekyll,github-pages,base-url
I am developing a static site using Jekyll, to be deployed on github pages. I am facing issues using the baseurl in the configuration file. Here is an extract of my _config.yml: baseurl: "/blog" url: "http://remidoolaeghe.github.io" When ran locally at http://localhost:4000/blog/, everything is fine. The html pages are found, the...

Post permalinks not being parsed in Jekyll on GitHub Pages

jekyll,github-pages
I've created a new site at GitHub Pages, using Jekyll. I'm using a custom permalink format in the following form: permalink: /:title This is because I've moved my blog over from WordPress and want previously existing links to continue working. When I run the server locally with "jekyll serve", it...

Jekyll posts filenames without dates

jekyll,github-pages
I don't care about dates because I edit my previous posts all the time, so I would like to replace _posts/2015-05-05-something.md by _posts/something.md.

Index page retrieve variable from all posts

javascript,jekyll,github-pages
I have a Jekyll based blog that has some location data in the frontmatter of each post. For example: mapping: locations: - title: Times Square latitude: 40.758885 longitude: -73.985134 - title: Central Park latitude: 40.782841 longitude: -73.965350 I would like to retrieve all the locations in all of my posts...

How to deploy pure html to Octopress?

github-pages,octopress
I am using Octopress to write posts, which uses markdown file to generate html files, using : rake new_post['my_post'] rake generate But what if I need to add some JavaScript demo inside my post, which I need to write some code inside the post, which may possibly be a html...

Why aren't the bourbon mixins working in my jekyll site?

css,sass,jekyll,github-pages,bourbon
Every time I use $ jekyll serve --watch and attempt to add a bourbon mixin to my sass file, I get an error stating that the mixin is undefined. I've checked to see if I have properly installed bourbon, and I think I have. I have verified my @includes to...

Are there limitations for hosting files on github.io?

github-pages
I created a small gh-page at http://s-a.github.io/sample-db/ which contains an audio player pointing to wav files in a sub folder. Any request on a wave file returns 404. Are there any limitations for hosting files on github.io?

Markdown link escaping layout

html,twitter-bootstrap,markdown,jekyll,github-pages
I have a website I am making with Bootstrap and Jekyll. I recently ran into a problem where, on blog posts, if an author's name is hyperlinked (to a Google+ profile, for example), a snippet of html is displayed above the body as if the HTML syntax is broken. I'm...

How to stop redirecting to custom domain?

github,github-pages
Some years ago i added a custom domain from free site just to try new feature of Github. Now that i want to make a page my main url keeps getting redirect to myexpireddomain.com ... http://myuser.github.io => myexpireddomain.com http://myuser.github.io/page => myexpireddomain.com/page and this all results in 404...since domain doesnt exist....

GitHub: two different custom domains one for organization and one for project

github,github-pages
I have an organization foo and a project bar hosted on GitHub: github.com/foo/bar.git I would like a custom domain foo.org pointing on foo.github.io and bar.org pointing on the bar project page (its webpage resides in the gh-pages branch of github.com/foo/bar.git). How can I do it?...