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 ArticleAdd 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 ArticleStuck 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 ArticleAzure 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 ArticleProblems 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 ArticleOnly 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 ArticleCSS 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 ArticleIn 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 ArticleJekyll 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 ArticleJekyll 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 ArticleSimplest 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 ArticleUsing 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 ArticleHandle 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 ArticleHow 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 ArticleJekyll 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 ArticleJekyll - 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 ArticleHow 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 ArticleWhy 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 ArticleProblems 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 ArticleWrap 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:{:class="h-auto"} Blah blah yada yada.This...
View ArticleRendering 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 ArticleFirst 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 Articlewant 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 ArticleWhy 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 ArticleJekyll 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 ArticleWhat is correct way to include images on GitHub Pages?
Disclaimer: I have searched SO, and found similar questions (ex: URL), mainly suggesting paying attention to upper/lower case differences in names, but they didn't resolved my issue.Some time ago I...
View ArticleHow to highlight the specific lines of code snippet present in markdown using...
We are converting the md (markdown) files in to html files using Jekyll and hosting the html files in site.I would like to highlight the specific line of the code snippet like below.Microsoft DocumentI...
View ArticleHow to change img src depending on condition in Jekyll
I'd like to make my Jekyll website responsive to the user's theme choice (light, dark), and I'm wondering why this code isn't working:<img {% if site.style == 'dark' %} src="{{...
View ArticleHide a page in Jekyll website served by GitHub
How do I hide a page in Jekyll? I have a Contact Us page (as a Google Docs form), and there is a response page. When created, it shows up in the navigation as a child of the Contact Us page, but I...
View ArticleJekyll installation issues on macOS Sequoia 15.4.1 [closed]
I am trying to install Jekyll on my macOS 15.4.1 using ruby. I have ruby 3.4.3 installed through Homebrew with its path instead of the system ruby 2.6.whatever in .zshrc:% gem env RubyGems Environment:...
View Article