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
1 answer

How to globally set all URL's in a Jekyll site to open in a new browser tab?

I am using the Jekyll minima theme for my website. I currently have {:target="_blank"} added after each link. However, is there a setting that I can easily tweak (perhaps in _config.yml?) that will apply {:target="_blank"}to every link on my site…
1
vote
1 answer

Liquid variable in Jekyll frontmatter ... and use it in a Jekyll plugin

I very like the possibility to use Liquid variables in Jekyll frontmatter through the jekyll-liquify plugin: module LiquidFilter def liquify(input) Liquid::Template.parse(input).render(@context) …
Felix
  • 139
  • 1
  • 5
1
vote
1 answer

Can a Jekyll plugin / generator be disabled for non-production environment?

I have an custom generator written for creating archive pages (per year, month and day) for my Jekyll blog. But that generator takes some time, can I disable a generator for non-production environment or maybe from the plugins entry in the config?…
KargWare
  • 1,746
  • 3
  • 22
  • 35
1
vote
1 answer

Getting an error from jekyll-sitemap plugin: undefined method `fetch' for true:TrueClass in sitemap.xml

First question here and new to Ruby and Jekyll so forgive me if I miss some important details. I'm trying to use bundle exec jekyll serve to generate my static site, but I keep getting the following error message: Liquid Exception: undefined…
1
vote
0 answers

Trying to understand how Jekyll redirect works

I recently moved my site domain from https://rakshitsoral.ga to https://rakshitsoral.com. I want to redirect .ga domain to .com domain. I tried using plugin Jekyll-redirect-from, but it's not working as expected (maybe, I am doing something…
1
vote
1 answer

Jekyll plugin change characters

I have made my onw jekyll plugin which gives some text special css (spoiler hider). This is my code: class Spoiler < Liquid::Tag def initialize(tag_name, input, tokens) super @input = input end def render(context) output =…
Jan Černý
  • 1,268
  • 2
  • 17
  • 31
1
vote
1 answer

How can fix the Jekyll installation error in termux?

I am having Jekyll installation error in termux on my android phone. When I am trying to install it's failing to build gem native extension for termux....Jekyll installation code in termux
1
vote
1 answer

Why is this Jekyll plugin throwing an exception?

I have a Jekyll site in which I need to show the source of various files within the site. To that end, I tried to use {% include filename %} in my template. However, it turns out that the Liquid tag include will only accept paths under _includes.…
Scott Severance
  • 943
  • 10
  • 27
1
vote
3 answers

Jekyll paginate: offset offsetting all pages, not just first

I've run into an issue when using Jekyll (which uses the Liquid templating language), the plugin jekyll-paginate-v2 and offset. The problem: I have a featured section on my blog that always shows the most recent post. The other posts appear below,…
bildungsroman
  • 437
  • 1
  • 8
  • 17
1
vote
1 answer

Jekyll print content of file

I have a file which contains code. I want to place that file in the custom folder and get the source code of it in the post. Is it possible? Something like this: {{ 'samples/trafikito.html' | raw }} So it would read file content and just return…
Lukas Liesis
  • 24,652
  • 10
  • 111
  • 109
1
vote
0 answers

Is it possible to create custom file names with Jekyll?

I have a set of tags in my posts. For example in posts/somepost.md: --- name: Some Post tags: ["tag_a", "tag_b"] --- I would like to render pages based on the tags dynamically. Like: tags/tag_a.html, tags/tag_b.html, etcetera. Of course, the…
Bob van Luijt
  • 7,153
  • 12
  • 58
  • 101
1
vote
0 answers

Paginate highly filtered Jekyll collection

I’m building an ICO Website. The website contains a ‘coins’ collection, this collection contains all the ico coin pages. I have then created pages such as https://moonlandingnetwork.netlify.com/upcomingico ,…
1
vote
1 answer

How to Access a Property of a Linked Resource with Jekyll-RDF

I'm using Jekyll with the Jekyll-RDF extension to render some pages for RDF resources. I know how to access the properties of the currently rendered resource in a template. But now I want to access a property of a resource which is linked to the…
nabatz
  • 13
  • 2
1
vote
2 answers

create a page for each category automatically in Jekyll

How can I create a page for each category automatically in Jekyll ? example: the url of the post : https://UsrNm.github.io/Category1/Category2/2018/02/16/Post1.html I want when I go to link like: https://UsrNm.github.io/Category1/Category2/ Get…
zahaby
  • 33
  • 10
1
vote
3 answers

Jekyll's sitemap plugin - exclude assets pages

I'm using jekyll-sitemap plugin for Jekyll. Is there a way to exclude .html files within the assets folder? Some of them contain some HTML examples and I end up having things like the following in my sitemaps.xml, which doesn't make…
Alvaro
  • 40,778
  • 30
  • 164
  • 336