Questions tagged [jekyll]

Jekyll is a blog-aware, static site generator written in Ruby. Please refer to https://talk.jekyllrb.com before asking your question.

Jekyll logo

Jekyll is a blog-aware, static site generator written in Ruby.

It takes a template directory (representing the raw form of a website), runs it through Textile or Markdown and Liquid converters, and spits out a complete, static website suitable for serving with Apache, the built-in WEBrick server or the web server of your choice. This is also the engine behind GitHub Pages, which you can use to host your project’s page or blog with GitHub.

Jekyll also offers a way to customize it via plugins written in Ruby.


Notable site using it:

Resources:


Latest Release:

Gem Version

6232 questions
482
votes
3 answers

What is the difference between 0.0.0.0, 127.0.0.1 and localhost?

I am using Jekyll and Vagrant on my mac. I found that Jekyll server will bind to 0.0.0.0:4000 instead of 127.0.0.1:4000. Also gem server will bind to this address by default. I can still visit it via http://localhost:port. But for Jekyll, it seems…
Ciel
  • 5,551
  • 5
  • 17
  • 24
270
votes
16 answers

find_spec_for_exe': can't find gem bundler (>= 0.a) (Gem::GemNotFoundException)

I used sudo bundle install and that might be the cause of the issue? Now I have: gem -v 2.6.14 ruby -v ruby 2.3.5p376 (2017-09-14 revision 59905) [x86_64-darwin15] jekyll -v jekyll 3.6.2 bundle -vBundler version 1.16.0.pre.3 I'm getting the…
Alvaro
  • 40,778
  • 30
  • 164
  • 336
237
votes
14 answers

Using an image caption in Markdown Jekyll

I am hosting a Jekyll Blog on Github and write my posts with Markdown. When I am adding images, I do it the following way: ![name of the image](http://link.com/image.jpg) This then shows the image in the text. However, how can I tell Markdown to…
orschiro
  • 19,847
  • 19
  • 64
  • 95
174
votes
7 answers

jekyll markdown internal links

Jekyll uses Markdown-formatted links, but how can I link to internal content? [[link]]
JuanPablo
  • 23,792
  • 39
  • 118
  • 164
119
votes
5 answers

Escaping double curly braces inside a markdown code block in Jekyll

I'm using Jekyll to create a documentation site wherein I am trying to document some code that contains handlebars-like syntax. For example {{foo}}. The problem is that Jekyll uses liquid tags and no matter what I do, my double curlies are getting…
rescuecreative
  • 3,607
  • 3
  • 18
  • 28
115
votes
10 answers

Jekyll post not generated

I am trying to add a new post to my Jekyll site, but I cannot see it on the generated pages when I run jekyll serve. What are some common reasons for a Jekyll post to not be generated?
aronisstav
  • 7,755
  • 5
  • 23
  • 48
112
votes
6 answers

How does Jekyll date formatting work?

I'm using Jekyll to generate a simple site. I want the date field to display in the format 12 September 2011. I've found, through some creative googling, a bit of date-format manipulation, but nothing that seems to get me the month name. What I have…
Michael
  • 1,257
  • 2
  • 9
  • 7
104
votes
2 answers

Connect to a locally built Jekyll Server using mobile devices in the LAN

After using jekyll serve on one machine, a WEBrick server is set up and the site can be accessed from localhost:4000 on this particular PC. However, I'm wondering how to access this web server from other machines in the LAN, especially for mobile…
Yi Zeng
  • 32,020
  • 13
  • 97
  • 125
93
votes
9 answers

TCPServer Error: Address already in use - bind(2)

Jekyll was working fine for me few weeks back but now all of a sudden it gives me the following error: TCPServer Error: Address already in use - bind(2) INFO WEBrick::HTTPServer#start: pid=7300 port=4000 % lsof -i :4000 Even…
Omnipresent
  • 29,434
  • 47
  • 142
  • 186
88
votes
3 answers

How to fix: Domain does not resolve to the GitHub Pages server. Error in Github Pages for custom domain setup with Enforce HTTPS Enabled?

So I am trying to get a custom domain to work with my github pages user site. I have followed pretty much the standard procedure for doing this as follows: (recommended by github here too:…
Atif Ali
  • 2,186
  • 2
  • 12
  • 23
86
votes
2 answers

Change site.url to localhost during jekyll local development

My jekyll blog template have links to resources and pages like so: {{ site.url }}/my-page.html This works well in deployment, but when I run jekyll serve in development, all of the links point to the live page instead of the development…
Heisenberg
  • 8,386
  • 12
  • 53
  • 102
84
votes
13 answers

Jekyll - Automatically highlight current tab in menu bar

I am using github to host a static site and Jekyll to generate it. I have a menu bar (as
    ) and would like the
  • corresponding to the current page to be assigned a different class for CSS highlighting. So something like pseudo code:
    paperjam
    • 8,321
    • 12
    • 53
    • 79
82
votes
8 answers

How to support latex in GitHub-pages?

I use jekyll to write post and show it in GitHub-pages. My source file is written with markdown. How can I insert formula into the markdown file? I don't want to save the formula into an image and load the image in markdown file. I actually want to…
Samuel
  • 5,977
  • 14
  • 55
  • 77
81
votes
13 answers

Using Live Reload with Jekyll

I'm getting started with Jekyll static site generator and I would like to use Live Reload with it. I know Jekyll has a generator and server commands, and Live Reload can run various compilers and custom commands. How do I configure these to work…
Andrew
  • 227,796
  • 193
  • 515
  • 708
81
votes
4 answers

Jekyll on Github Pages: any way to add footnotes in Markdown?

I've recently switched over to using Jekyll on Github Pages for my various blogs, and love that I can just push Markdown to Github and they handle the processing. I'd like to continue using it this way (rather than running Jekyll locally and just…
Brock Boland
  • 15,870
  • 11
  • 35
  • 36
1
2 3
99 100