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.

Filter by
Sorted by
Tagged with
385votes
2answers
185kviews

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 ...
user avatar
  • 4,541
339votes
12answers
308kviews

Representing Directory & File Structure in Markdown Syntax [closed]

I want to describe directory & file structures in some of my Jekyll blog posts, does Markdown provide a neat way of outputting such a thing? For example, you can see at this link on the Jekyll ...
user avatar
  • 6,765
255votes
15answers
132kviews

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 -...
user avatar
  • 39.1k
203votes
13answers
159kviews

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 ...
user avatar
  • 17.4k
168votes
6answers
71kviews

jekyll markdown internal links

Jekyll uses Markdown-formatted links, but how can I link to internal content? [[link]]
user avatar
  • 22.2k
108votes
9answers
23kviews

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?
user avatar
  • 7,355
105votes
5answers
16kviews

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 ...
user avatar
102votes
6answers
39kviews

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 ...
user avatar
  • 1,157
101votes
2answers
24kviews

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 ...
user avatar
  • 30.3k
92votes
8answers
56kviews

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=...
user avatar
  • 28.2k
86votes
2answers
24kviews

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 ...
user avatar
  • 7,466
84votes
12answers
31kviews

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 <ul>) and would like the <li> corresponding to the current page to be assigned a different class ...
user avatar
  • 7,903
79votes
8answers
18kviews

What is the best approach for redirection of old pages in Jekyll and GitHub Pages?

I have blog on github pages - jekyll What is the best way to solve url strategy migration? I found the best practice in common is create htaccess like so Redirect 301 /programovani/2010/04/git-co-...
user avatar
76votes
2answers
35kviews

How do I chain if statements in Jekyll?

I am using a logic operator in Jekyll but it's not working. Page one, two and three all use the same layout (part of a multilingual solution, works good but requires logical loops for some layout ...
user avatar
  • 3,177
76votes
8answers
23kviews

Using MathJax with Jekyll

I have a Jekyll blog and I want to use MathJax with it, in the sense that I want to be able to type something like $$\sum_{n=1}^\infty 1/n^2 = \frac{\pi^2}{6}$$ in my markdown files, and have the ...
user avatar
  • 45.6k

15 30 50 per page
1
2 3 4 5
398