github-pages

don't have jekyll-paginate or one of its dependencies installed

喜你入骨 提交于 2019-12-18 11:26:26
问题 I have installed this jekyll theme. But faced with one issue. If I do: bundle exec jekyll serve All work fine ( _site folder contains necessary files and server is running), but if I use the following command: jekyll build -d /var/www/budka/data/www/blog I get the error: Dependency Error: Yikes! It looks like you don't have jekyll-paginate 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:

Github pages, HTTP headers

末鹿安然 提交于 2019-12-18 10:32:38
问题 I serve some of my files from my Github pages account. But when I check my "js" files' headers, I saw following: Last-Modified:Sun, 10 Feb 2013 14:00:46 GMT Expires:Sun, 10 Feb 2013 14:13:23 GMT Cache-Control:max-age=600 This file was commited 14 days ago. But I don't plan these files so frequent. So I need to make much bigger max-age value and change Last-Modified value to last commited date. Is it possible to change headers of Github pages? 回答1: I asked this to Github admins, and they told

Jekyll site works locally but not on Github Pages

匆匆过客 提交于 2019-12-17 20:45:19
问题 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

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

独自空忆成欢 提交于 2019-12-17 20:01:31
问题 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

Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g [duplicate]

旧巷老猫 提交于 2019-12-17 17:25:24
问题 This question already has answers here : Cannot push to GitHub - keeps saying need merge (30 answers) Closed 4 years ago . Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes. I was trying to push local octopress blog to remote branch. But its saying above error. another is: Do i have to manage or push the local changes to source or origin branch .? When i do username.github.io ,i shall see my remote version of the

How to link files directly from Github (raw.github.com)

拈花ヽ惹草 提交于 2019-12-17 15:27:00
问题 Are we allowed to link files directly from Github ? <link rel="stylesheet" href="https://raw.github.com/username/project/master/style.css"/> <script src="https://raw.github.com/username/project/master/script.js"></script> I know this is allowed on Google Code. This way I don't have to worry about updating a local file. 回答1: Yes. It's even update safe unless someone changes history in git and forces a push. In other words the content is versioned. 回答2: The great service RawGit was already

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

有些话、适合烂在心里 提交于 2019-12-17 04:24:12
问题 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/ However, rather than reconfigure my entire site and hosting, It would be great if GitHub Pages could

Fonts and other styles are different in local and gihub pages live version of Jekyll

最后都变了- 提交于 2019-12-14 04:03:38
问题 I see changes in the look and feel of local and live version (hosted on Github). Below is the local version.. and here is the live version The font-style, etc. seems to be different in these versions? Below are my css codes. # _sass/_layout.scss #banner { /* @include retina-background-image($img-banner); */ /* background-color: #8e8387;*/ outline: none; // display: block; // width: $banner-width; // height: $banner-height; margin: 35px 0 auto 35px; position: relative; /* To ensure the bottom

How do I get GitHub Pages to re-render my React App?

雨燕双飞 提交于 2019-12-14 03:03:30
问题 I am currently having an issue having my React App re-render when I commit changes to my GitHub. I believe that the way GitHub Pages works with React is that it runs from a bundle.js file from a gh-pages branch of your GitHub. I have read from many StackOverflow questions that when I commit my changes, the website should update automatically, but this does not work at all. On deeper thought this seems to make sense to me because my gh-pages branch is not being updated, it is the branch that I

Subdomain of custom domain on Github pages

眉间皱痕 提交于 2019-12-14 00:23:57
问题 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