Questions tagged [jekyll-extensions]

plugins for the Jekyll CMS

Jekyll has a plugin system with hooks that allow you to create custom generated content specific to your site. You can run custom code for your site without having to modify the Jekyll source itself.

Related links

Similar tags:

232 questions
1
vote
0 answers

Jekyll plugin hook on calling jekyll clean

I would like to make plugin with hook that will be called every time jekyll clean --trace is run. How can I achieve hook like this ?
Jan Černý
  • 1,268
  • 2
  • 17
  • 31
1
vote
1 answer

How to Test/Debug Jekyll Plugins?

For a blog, I put together an inline tag that pulls header information from a specified webpage. It works, but I need to add caching, so that I'm not making redundant network calls. I'd like a tighter debugging cycle than restarting the server and…
John C
  • 1,931
  • 1
  • 22
  • 34
1
vote
0 answers

Unable to use `--lsi` flag with jekyll in a github action

I've been using github actions to automate my build and upload process for a while now. Recently however the builds started failing. The error messaged claimed classifier-reborn was not installed. The image below shows that it definietly is. Could…
1
vote
0 answers

Installing Jekyll SEO Tag causes Liquid Exception: Can't convert Hash into String

I am trying to install Jekyll SEO Tag. When I add {% seo %} to my section, I am getting the following error: Liquid Exception: Can't convert Hash into String. in /_layouts/default.html The head.html file is located in the _includes folder…
Andrey Langovoy
  • 795
  • 2
  • 7
  • 15
1
vote
1 answer

Ruby: parametrize string without Ruby on rails framework (Jekyll plugin)

I have plugin that takes attribute from post's front matter and uses it in permalink. Problem is I need to clean up any accents and diacritics from the string before putting it in to the permalink. Ruby on rails has method called parametrize which…
Jan Černý
  • 1,268
  • 2
  • 17
  • 31
1
vote
1 answer

jekyll-sitemap and robots.txt get wrapped in html unexpectedly when generating jekyll site

My sitemap.xml and robots.txt, generated by jekyll-sitemap, get wrapped in html for some reason, which makes them non-compliant. I'm using the jekyll-sitemap plugin, verified, that it is the latest version (https://github.com/jekyll/jekyll-sitemap)…
squarespiral
  • 143
  • 1
  • 9
1
vote
1 answer

I need my Jekyll generator plugin to run after another, but the other wants last priority

I have a custom Jekyll plugin — specifically, a generator — that I need to run after another plugin, jekyll-titles-from-headings. However, the other plugin has a generator that specifies that it is of :lowest (i.e. latest running) priority. The…
Carter Pape
  • 1,009
  • 1
  • 17
  • 40
1
vote
1 answer

Rouge Syntax Highlighting in GitHub Pages

I have been using Rouge and Kramdown to properly format syntax since I've been using Jekyll. I haven't looked in awhile, but recently noticed that the syntax highlighting doesn't appear to be working properly. I noticed that the change broke when…
Jason N. Gaylord
  • 7,910
  • 15
  • 56
  • 95
1
vote
0 answers

Jekyll-Twitter-Plugin urls and new lines not showing correctly

I'm quite new to jekyll and don't know where the problem could be. I used the jekyll-twitter-plugin to create an twitterfeed on my site. I just implemented the basic code like this .
svamel00
  • 11
  • 1
1
vote
0 answers

Multiple layouts for a single Jekyll collection?

I have a simple document like this: --- title: My First Post subtitle: My First Post author: dan tags: [fruit veggies] --- My body content My _config.yml has a typical: defaults: # _docs - scope: path: "" type: …
Dan Tappin
  • 2,692
  • 3
  • 37
  • 77
1
vote
1 answer

paginator.posts not working in Jekyll-paginate-v2 on Github Pages

I am facing this weird issue with Jekyll-paginate-v2. The paginator.posts is working locally but when I update the site on GitHub repo. It doesn’t work on both index.html & blog.html (Inside _pages Folder) Here are the…
1
vote
2 answers

modify link behaviour in Jekyll

I have an itchy issue I definitely need solve. Every time I insert a link in my Jekyll website, independently if I write it in a Markdown file or an HTML file, I write the following:
1
vote
0 answers

How can I minify included json files with Jekyll plugins?

I have a static website generated by Jekyll. I was able to get sass converter + minification and HTML minification working using Jekyll built-in features or plugins. The json files included are not minified though, how can I achieve that? I'm using…
Csaba Toth
  • 10,021
  • 5
  • 75
  • 121
1
vote
1 answer

Liquid syntax error when working with Jekyll - Unexpected character

I am using Jekyll with bunch of extensions. The build is working fine but when I call Jekyll serve I get these warnings: Liquid Warning: Liquid syntax error (line 13): Unexpected character   in "{{forloop.index | minus:1 | modulo:4 }}" in…
Tolga Oguz
  • 142
  • 1
  • 14
1
vote
1 answer

Ruby/Jekyll Plugin - How to render liquid variables inside plugin

I'm creating a Jekyll plugin that executes an shell script with some (liquid or not) arguments. I am having problems with it extrating the value of some liquid variables. For example, if I use this plugin this way: {% shellcmd image-responsive "{{…
alexandre1985
  • 1,056
  • 3
  • 13
  • 31