Quantcast
Browsing latest articles
Browse All 317 View Live

Overriding CSS settings in a Jekyll Gem-based theme

I have Jekyll running locally with a theme I like, no-style-please. Everything is working as expected.However, on some content, the overall page width is a little smushed. I hunted around in the repo...

View Article


Enable ToC on layout `page` with Chirpy theme

I want to enable ToC on the layout page, just as it appears on the layout post. Here's the modified-chirpy-template I am using.I have tried with changing the _layouts/page.html in the following...

View Article


Get Jekyll to work with existing Github Pages site

I have an existing Github pages site with content on it. I want to add Jekyll blogging functionality to this site but I don't want to get rid of the content I already have on the site. Ideally I'd like...

View Article

Add a Hyperlinked Image with CSS Classes in Jekyll Chirpy Theme

I want to add hyperlinks to the images in a blockquote that are switched by the dark/light mode toggle. I am using the modified template, generated from jekyll chirpy-starter.I have two cases:Case 1...

View Article

Stuck at building native extension in gem install jekyll

While installing Gems for jekyll, it's been 30 mins now that cmd is at building native extentions. This could take a while.I started this installation using cmd with admin...

View Article


Could not find gem 'github-pages' in locally installed gems

After I execute the bundle exec jekyll serve I get the following errorCould not find gem 'github-pages' in locally installed gems.Run bundle install to install missing gems.What am I doing wrong in the...

View Article

Azure DevOps share wiki as dedicated webpages

We created a development governance as Word document. I need to share this document with internal and external people. Word has many drawbacks so I want to use some kind of Web Page.One idea was to use...

View Article

Image may be NSFW.
Clik here to view.

Problems running Jekyll and tasks via ESM

I'm encountering strange behavior running a Jekyll build. I kick off the build using npm start from the package.jsonpackage.json"scripts": {"start": "node index.mjs","test": "echo \"Error: no test...

View Article


Only return Jekyll posts that match specific year

How do I loop through a Jekyll site's posts but only take action on posts where the year is equal to a specific value?{% for post in site.posts %} {% if post.date.year == 2012 %}<p>{{ post.date...

View Article


CSS to add to Jekyll Minima, not completely override it

I am building my first Jekyll site and am happy with the Minima theme as a starting point. I would however like to customise some aspects of the site, such as colours, adding elements to layouts...

View Article

In Markdown, is there a way to stop images from being wrapped with tags?

I'm using Jekyll and all my posts are in .md format for convenience. The problem is that the generator is automatically wrapping every line in paragraph...

View Article

Jekyll theme does not work on GitHub Pages but works locally

I've been struggling with this for a few hours now, to no avail. I'm trying to use one of the supported GitHub Pages themes (Cayman) in my docs site and I'm having a ton of trouble. The site looks...

View Article

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?

View Article


Simplest way to get (jekyll-scholar) plugins on gh-pages

GitHub pages does not support plugins, but plugins are clearly very useful (e.g. jekyll-scholar). Nitrous.io supports adding plugins to your GH pages site, but this seems a little involved. Is there...

View Article

Using variable in YAML frontmatter to reference page-specific data file with...

For my Jekyll blog, I'm currently trying to add a feature that, for each page, processes data from an associated JSON file. I'm using the following structure (_data directory with a subdirectory...

View Article


Handle absolute paths issue in jekyll

I am working on Spring Batch application using Jekyll templatesNow as we know jekyll generates the links dynamically based on the baseurl defined in _config.yml fileThe links generated are absolute...

View Article

How do you separate jekyll site content and code into separate branches?

Hi I am using jekyll hosted on github oages and I would like to separate the content and code of my site into separate branches so:It is more organised.If I want to change some code in the site...

View Article


Jekyll themes - Sass migrator failing due to to @import rules

I've been trying out some Jekyll themes, and they are all throwing the same deprecation warning:Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass...

View Article

Jekyll - Next and previous links with different categories

I am using Jekyll to build a blog, I managed to successfully implement a Next and Previous links on my layouts pages (using this answer). I've added several categories (using this answer) and each page...

View Article

How to create a table of contents to Jekyll blog post?

If I have a page/post in Jekyll with headers, is it possible to auto-generate a table-of-contents/outline for navigation? Something akin to the top matter of a Wikipedia article.

View Article

Image may be NSFW.
Clik here to view.

Why can't I use my local gem theme file to my Jekyll project?

I created a jekyll theme nepaliBabu, I successfully built the gemspec and installed locally on my devicebut however when I use it on my jekyll site Gemfile like this:gem "nepaliBabu", path:...

View Article


Problems with installing ruby on M1 mac via homebrew

I'm having trouble installing Ruby and using homebrew on my M1 Mac.I'm trying to install Ruby so that I can launch a website through Jekyll. I'm following the installation guide on the Jekyll website...

View Article


Wrap content around image with Tailwind and Markdown

I'm using tailwind on a Jekyll website, and I can't figure out how to wrap content around an image.This is the Markdown:![image](/assets/images/image.png){:class="h-auto"} Blah blah yada yada.This...

View Article

Rendering a GitHub wiki on a GitHub Pages Jekyll site

I have a repository with a wiki full of over 80 pages. I want to render an index of all the wiki pages on the Jekyll (GitHub Pages) site for the project, as well as render each page on the site using a...

View Article

javascript to fetch the hit count not working in jekyll

I'm not a developer and using jekyll for blog hosting.I've a website aquibqureshi26.github.io and I'm trying to build blog hit tracker on the page to show how many users has visited.I've an API hosted...

View Article


Jekyll Themes in need of update [closed]

Given this warning:Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.Docs say @import needs to be replaced with @use but its not as simple as just...

View Article

First in for loop in jekyll and liquid

I want to add a slider for every book that has the page hero banner. But the bootstrap slider needs th 'active' class to work.<div class="carousel-inner"> {% for libro in site.libros %} {% if...

View Article

want to use Bootstrap .nav-tabs class in RMarkdown _site.yaml file for...

I was wondering if there was an argument I could add to my _site.yaml file so that the rendered nav would have class = nav nav-tabs for formatting by Bootstrap (like this).I thought there was a class:...

View Article

Why can't I build a Jekyll site locally with this downloaded theme?

New to Ruby/Jekyll, but I am trying to install Jekyll locally on my Windows machine, and build a site with a downloaded theme. I am really struggling to get it to run. The theme I am trying to use is...

View Article



Jekyll paginator = nil on post.html but not index.html

I'm using Jekyll 4.4.1 and jekyll-paginate-v2. My home page template (index.html) has an active paginator object, but my individual post page template (_layouts/post.html) does not (paginator = nil).My...

View Article
Browsing latest articles
Browse All 317 View Live