jekyll-extensions Questions

3

It's pretty basic stuff, I guess but I couldn't figure out how to do it. What I want to do is very simple. By using Jekyll plugin system, I want to extend Liquid tag to return filename of post. ...
Hama asked 23/7, 2011 at 1:20

3

Solved

I'm self-taught/totally new to Jekyll and Github Pages and was wondering how to go about opening a URL in a new tab with markdown in the config.yml page. This is the website theme I'm using. I wa...

2

Solved

What I'm trying to do Jekyll can use front matter variables like tags and categories and access them with site.tags and site.categories to iterate over them using liquid. Now my problem is that I c...
Forethoughtful asked 8/8, 2018 at 10:19

4

Solved

New to Jekyll and new to Ruby I tried to include autoprefixer-rails for my (s)css files directly into Jekyll. So once the page is generated by Jekyll autoprefixer would run over my generated css fi...
Bisque asked 21/3, 2015 at 20:1

2

Solved

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....
Heighttopaper asked 31/1, 2015 at 7:18

0

Is there any way to display page views based on Google Analytics on a Jekyll site? We’ve been using jekyll-ga plugin, but it hasn’t been updated in a very long time. So updating, for example, googl...

1

Solved

If I did: {% highlight C %} .... code {% endhighlight %} For any tab I use between the highlighted C, I'd like the tab size to be 2 rather than 4. Doing {% highlight C tabsize=2 %} doesn't seem...
Latoria asked 22/4, 2017 at 23:38

1

Solved

I'd like to override a gem method (a Jekyll extension) that looks like this: File: lib/jekyll-amazon/amazon_tag.rb. module Jekyll module Amazon class AmazonTag < Liquid::Tag def detail(item...
Foulup asked 10/1, 2017 at 11:26

3

Following the official update guide, I recently upgraded from Jekyll 2.x to Jekyll 3.1.1. After the installation, running jekyll serve produced the following error: Dependency Error: Yikes! It ...
Barlow asked 3/2, 2016 at 2:38

3

I have deployed a personal blog using Github pages and I see that some tutorials tell you to create a gh-pages branch. I did that, however, my changes to the website are visible only if I make chan...

2

Solved

I'm working on a Jekyll tag plugin for my Octopress site to help me make a 'note' element. I just want to be able to highlight a piece of information on my blog as a side note, like this. The prob...
Haffner asked 3/10, 2013 at 21:49

2

Solved

I'm writing a converter plugin for Jekyll and need access to some of the page header (YAML front matter) properties. Only the content is passed to the main converter method and does not seem possib...
Linked asked 3/7, 2013 at 15:38

2

Solved

My blog currently runs Jekyll and the Minimal Mistakes theme, and uses the theme's built in functionality to add the Disqus comments system. This JavaScript-based commenting system, to me so...
Goosefoot asked 16/11, 2015 at 9:2

2

I'm using Jekyll, which uses the Liquid Template language. I've used Jinja templating in the past, and it has the concept of a macro (just a named function). Does Liquid have something which provid...
Patter asked 29/5, 2015 at 6:50

1

Solved

I'm building pages (not posts) in Jekyll. One page defines 2 categories in the front-matter as follows: categories: [document, new] And then in a layout I'm trying to output the categories objec...
Neologism asked 6/5, 2015 at 16:25

2

Solved

I am trying to rebuild a blog in Jekyll and I have stubled upon a simple task. Provided I have the following set of templates: default.html: {{ head }} {{ content }} frontpage.html: --- lay...
Hack asked 21/7, 2013 at 13:52

1

Solved

Is there a Jekyll filter that will replace text using a regular expression (regex) filter? I believe the "built-in" filter replace does simple string substitution.
Predict asked 12/9, 2014 at 6:37

3

My system has: ruby 2.0.0p451 (2014-02-24) [x64-mingw32] gem -version 2.2.2 devKit : DevKit-mingw64-64-4.7.2-20130224-1432-sfx.exe When I try to run gem install jekyll, I get this error: D:\de...
Norfolk asked 17/3, 2014 at 16:38

4

Solved

In order to keep some of my Jekyll sites simple, I'm always using the same layout. That is to say, I'm always writing something like. . . --- layout: default title: Here's my Title --- . . . as ...
Susie asked 13/12, 2011 at 14:6

0

I am trying to share a single template in 2 other templates as follows: _layouts/V2/post.slim {% include V2/date_wrapper.html date_value=page.date %} and _includes/V2/footer/recent_posts.slim |...
Withindoors asked 29/3, 2014 at 21:51

2

Solved

Is there any example of using Org-mode with octopress for blogging? I want to use org-mode for all the blog posts and export it to html. I understand this is possible, is there any example for this...
Bedraggle asked 8/1, 2012 at 23:8

1

I think the native way of managing pages of Jekyll, i.e. by creating .md file / folders under the root folder, is a bit messy. Thus I want to put, every page I want to show, into the folder called...
Manama asked 22/6, 2013 at 12:52

1

Solved

I try to do something like this Octopress code block But I can't make it work. It always shows the following error. My machine is Windows 7. $ rake generate ## Generating Site with Jekyll unchan...
Hulk asked 7/1, 2013 at 17:8

1

Solved

For example, say I'd like to generate this array: random_numbers = [] 1000.times { random_numbers << rand(2) } And pass it to a template, so that I can access it from Liquid: {% for num i...
Sherrillsherrington asked 25/10, 2012 at 19:55

3

I'm trying to use Octopress (a blogging engine on top of Jekyll) on my new Macbook, and I get this error when I run bundle exec jekyll --server: (shortened path) /path/to/markdown.rb:118:in `to_h...
Centum asked 14/4, 2012 at 8:1

© 2022 - 2024 — McMap. All rights reserved.