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:

215 questions
0
votes
1 answer

How to disable Safe Mode on jekyll-asciidoc plugin

I am importing an external file using the "jekyll-asciidoc" plugin. [source,groovy] ---- include:: {projectdir}/src/test/resources/examples/abc.groovy[tags=example1,indent=0] ---- Jekyll doesn't want to include that file because it is outside the…
Jac
  • 610
  • 3
  • 13
0
votes
1 answer

jekyll listing markdown notices

Structure of my project: /_config.yml ./_layouts ./_posts ./_posts/2011-07-29-my-first-jekyll-post.markdown ./_notices/2011-07-29-my-first-notice.markdown ./_notices/2011-07-30-my-second-notice.markdown ./_site ./index.html With post it works: {%…
0
votes
1 answer

How to perform --include-css when using the Jekyll stylus plugin

I've just started using Jekyll and the stylus plugin provided here: https://gist.github.com/adamjspooner/988201 I have some import statements in my stylus files like the following: @import 'normalize.css' The stylus plugin converts the stylus files…
Derek
  • 520
  • 1
  • 5
  • 17
0
votes
0 answers

Use Jekyll to generate 2 rendered versions of a post

I know that this question has been asked before here and here. Both have been answered quite poorly, and none of them do what I wish/expect. So, let me try this again. Goal: I have a blog powered by Jekyll. I would like to be able to load my posts…
wadmiraal
  • 181
  • 7
0
votes
1 answer

Jekyll filter to remove pages from site.pages based on page.url?

While generating a Google site map for my (non-github) Jekyll site, I would like to exclude certain files based on the page URL (or file name). In shell-speak, something like site.pages | grep -v forbidden_name In Liquid, I imagine a signature…
jackr
  • 1,346
  • 1
  • 13
  • 29
0
votes
1 answer

Authorization problems with Jekyll-Auth

I have set up Jekyll-Auth for a private GitHub repository. This was quite complicated, so I wrote an installation guide which can be found here: http://fabian-kostadinov.github.io/2014/11/13/installation-of-jekyll-auth/. Yet, no matter what I do I…
0
votes
1 answer

How do I add a routing rule or redirect for the root URL using the s3_website gem?

I've tried to redirect the root URL of my S3-hosted website (built in Jekyll, deployed using the s3_website gem), but haven't had any success. My goal in the following example is to redirect http://www.example.com/ to…
Mike Jarema
  • 1,117
  • 1
  • 11
  • 15
0
votes
1 answer

jekyll build hook to create gz versions of each .html file

Does jekyll build provide a hook which I can use to gzip each .html file in the _site directory? I'd like to have a corresponding example.html.gz file to an example.html file. I would write a wrapper script in case there is no hook. I just want to…
wintermeyer
  • 7,536
  • 8
  • 34
  • 69
0
votes
1 answer

Bootstrap file not found when using built-in vendors with jekyll-assets

I have a jekyll site and am trying to use jekyll-assets built-in support for bootstrap. Here's what I've done so far: Updated my Gemfile to include: gem "jekyll-assets" Updated my _plugins/ext.rb file with the following: require…
Del Putnam
  • 263
  • 4
  • 8
0
votes
1 answer

Error on running Jekyll with jekyll-multiple-languages-plugin

I am trying to run Jekyll server on Windows using jekyll-multiple-languages-plugin but I keep getting this error message: C:/Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file --…
0
votes
1 answer

Is there a plugin / something already built into Jekyll which can generate html tags?

Hey guys is there a plugin I am missing or method I cannot find to use within Jekyll so I don't have to manually write a bunch of html tags? Example would be {% a href="blah %} This would render out
adrian
  • 2,166
  • 1
  • 28
  • 45
0
votes
1 answer

Unable to find current post's category jekyll

I want to display keywords and description automatically according to the category of the current post. I've used the following code, but it doesn't worked. {% if page.categories = "category" %} {% else %} {% endif %} But while using {%…
Gowtham Gopalakrishnan
  • 9,485
  • 11
  • 41
  • 60
0
votes
1 answer

How can I store a hash for the lifetime of a 'jekyll build'?

I am coding a custom Liquid tag as Jekyll plugin for which I need to preserve some values until the next invocation of the tag within the current run of the jekyll build command. Is there some global location/namespace that I could use to store and…
user569825
  • 2,309
  • 1
  • 21
  • 45
0
votes
1 answer

Plugin for Jeklly on tagging

I wrote a simple plugin for Jeklly that basically takes my site.owner.email which I defined in _config.yml and obfuscate it, then put it on my About page. I have the following code: _plugins/obfuscate_email.rb class ObfuscateEmail < Liquid::Tag …
xbeta
  • 2,187
  • 4
  • 26
  • 47
0
votes
1 answer

Syntax highlighting in Jekyll based on YAML variable

When writing markdown with code to be read by Jekyll, you can enable syntax highlighting with {% highlight python %} x = ('a', 1, False) {% endhighlight %} However, this becomes a bit verbose if you constantly switch between code and text. Is it…
Psirus
  • 1,225
  • 1
  • 11
  • 21
1 2 3
14
15