github-pages

Keeping GH homepage in sync with README.md

守給你的承諾、 提交于 2019-12-07 19:49:39
问题 While creating GitHub Pages for my project I was suggested to import existing README.md as the project's homepage. Later, I merged gh-pages with master and ended up with both index.html and README.md . The "problem" is that the updates to README.md won't affect index.html . Is there any simple way to keep them in sync? Preferably with zero Jekyll knowledge... 回答1: Here's what I came up with, in case someone is interested. Typically I write HTML using Jade preprocessor, and luckily it does

GitHub page not found in google

限于喜欢 提交于 2019-12-07 15:58:51
问题 I just set up my personal GitHub page, with GitHub Pages! Now I was wondering if this is automatically indexed by google. I tried out what I found online and it seems it is. By the way if I do not provide the exact URL and I just type name and surname In Google search engine I do not find anything related to my page (I went through until the 6th page of results). Do you have any clue how to deal with this issue? I would like that people are able to find my page just typing my name and surname

GitHub pages for personal site. How to deploy a folder

我的梦境 提交于 2019-12-07 13:01:02
问题 If I am using GitHub pages for my personal site, how should manage my source files? I have a simple setup which works. But I understand I can't using Jekyll plugins with GitHub pages. If I want to use Grunt for example to optimise my images, for a usual app/site, it will produce output in say a dist/public folder, which I will then deploy. But I want to still use GitHub to manage my source files, how should I do it? 回答1: Depending of repository kind your using, a User/Organization ( UO ) site

Github-pages: download release

ⅰ亾dé卋堺 提交于 2019-12-07 11:40:50
问题 I have a repository at https://github.com/parsiad/mlinterp. Though I have made a release of the project, the corresponding download link does not appear on the page https://parsiad.github.io/mlinterp/ (I used the gh-pages wizard to create this page). Any suggestions to get the usual "download latest tarball/zip" download links? 回答1: It looks like you're using an auto generated GitHub Pages site. To get the download links on your site, you have three options. Add links to the downloads at the

Markdown compiling images with paragraph tags

我怕爱的太早我们不能终老 提交于 2019-12-07 06:38:53
问题 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 Tag](path/to/image) It will compile it with a <p> tag when I don't want it to as seen below. <p><img src="path/to/image" alt="Image Alt Tag" /></p> This is how I would like the markdown file to compile with an image tag <img src="path

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

江枫思渺然 提交于 2019-12-06 23:23:57
问题 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 in page.hosts %} <li>{{ host }} {% endfor %} </ul> I receive the correct list <ul> <li> <strong>Hosts:</strong> <ul> <li>Name A </li> <li>Name B </li> <li>Name C </li> </ul> </ul> However, I want to markdownify this by doing <li> <strong>Hosts:<

Google can't find Analytics snippet on Github Pages [closed]

…衆ロ難τιáo~ 提交于 2019-12-06 20:59:53
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . For some time now, I have had troubles getting Google Analytics to work properly on my generated Github Pages. I've used the default snippet provided by Google but I think that the crawler that is looking for the snippet looks in the url victorbjelkholm.github.com instead of victorbjelkholm.github.com/2012-I

SSL certificate verification failure in jekyll-github-metadata

左心房为你撑大大i 提交于 2019-12-06 19:18:31
When trying to build my Github Pages site locally, the jekyll-github-metadata plugin is causing SSL cert errors. The site has no problem rendering on github pages, so it must be a configuration issue on my end. I am aware of this issue , and while it does not appear to be exactly the same (I have no trouble installing gems, only using the github metadata plugin) I added the certificate to my environment variables, but it changed nothing. What do I need to change for the SSL cert to verify properly? Appendicies Versions Ruby: 2.2.4 (x86) Jekyll: 3.0.5 jekyll-github-metadata 1.11.1 The Error

Can't seem to get Jekyll to see posts that are in subdirectories from the root folder

喜欢而已 提交于 2019-12-06 15:52:53
问题 I have used collections in my Jekyll website for GitHub Pages. I'm trying to get Jekyll to see the Markdown files inside the collection folder, _projects . Here's a rundown of the file structure: root │ ├─ _projects │ │ │ ├─ project_1.md │ └─ project_2.md │ └─ /*Rest of the Jekyll folders and files, _posts, _includes, etc.*/ At the moment, I realized that you must put the Markdown files in the root, so Jekyll can be able to see and parse the files to display them when after you clicked a link

Jekyll private deployment?

人走茶凉 提交于 2019-12-06 12:18:57
问题 I have created jekyll site. Regarding the deployment I don't want to host on github pages. To host private domain I came know from documentation to copy the all files from _site folder. That's all wicked. Question: Each time I add new blog post, I am running cmd>jekyll build then I am copying newly created html to hosted domain. Is there any easy way to update without compiling each time ? The reason, Why I am asking is because it will updated by non technical person Thanks for the help!! 回答1