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 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 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 recursive include causing "Nesting too deep" error when rendering...
I'm working on a Jekyll site and encountering a "Nesting too deep" error when trying to render nested comments using a recursive include. Here's a simplified version of my template:{% comment %}...
View ArticleJekyll Github pages doesn't load the theme for a page when accessed via a...
When testing locally, all the pages render properly. But when loaded to github pages, only the home page renders with the theme. And clicking a link to open a sub-page doesn't load the theme for the...
View ArticleExcluding page(s) from Jekyll navigation bar when using minima theme
I am trying to implement the "add an unless page.exclude exception" solution found here: https://stackoverflow.com/a/32533975/8709901 so that I can limit the number of pages that show up in my navbar...
View ArticleJekyll + Contentful on Netlify: Webhook rebuilds ignore fresh Contentful...
ProblemWhen Contentful content updates, Netlify rebuilds via webhook but uses outdated _data files instead of fresh Contentful data. The deployed site remains stale.Current SetupJekyll site hosted on...
View ArticleHow to apply syntax highlighting for git-bash code in markdown(using jekyll...
I want to apply syntax highlighting to git bash code like this:Please click this image linkI'm using this following code: ```gitã…¤ diff --git a/fourth.py b/fourth.py index 13cc618..4c8cfb6 100644 ---...
View ArticleHow can I check that Google Analytics is working?
I have a webpage built using Jekyll and hosted in GitHub pages (repo).I recently tried to set up my account of Google Analytics using this tutorial and this helpful answer.I've checked that when I go...
View ArticleHow can I deploy a manually constructed Jekyll site to Vercel without a full...
I recently deployed a simple experimental Jekyll site to Vercel without using the full Jekyll setup (i.e., no jekyll new or gem install jekyll). Instead, I manually assembled the site by inspecting a...
View ArticleGitHub Gist without line numbers?
GitHub Gists like this can be embedded into websites, for example here.The default behavior displays line numbers.Can Gists be embedded without line numbers displayed?
View ArticleHow to add an image for Twitter cards on with posts with Jekyll-seo-tag?
Using Jekyll with Github Pages, when I share a post on Twitter no image is displayed in the Twitter Card.I use the Jekyll-seo-tag but when adding a image tag in the Front Matter it doesn't work and I...
View ArticleHow to delete a repository that has been disabled by GitHub? [closed]
I am using Jekyll+GitHub page to build my personal website, but the existence of this repository has caused my website to compile and fail to update. How can I delete this repositoryBecause this...
View ArticlePrevent wrap between span and word
I am writing documentation in AsciiDoc (then served in HTML using Jekyll).I'm using FontAwesome icons to denote parts of UI, like this: icon:upload[] *Upload files*,which renders into HTML as <span...
View ArticleHow to make GitHub Pages Markdown support mermaid diagram?
I am hoping to use mermaid in GitHub-pages, with simple commit and push. In other words, I am hoping to wirte in my markdown file like this```mermaidgraph LR A --> B A -->C C -->D``` and add...
View ArticleIssue with `Jekyll Command Not Found` on MacBook Pro with Sonoma 14.2.1 and...
I am experiencing an issue with Jekyll on my MacBook Pro running Sonoma 14.2.1 with an M1 Pro chip. Initially, I encountered a problem related to the system Ruby, so I installed Ruby 3.3.0 using rbenv...
View ArticleCan I include external URLs in the config file?
We are considering moving our website over the Gitlab Pages and Jekyll. Our requirements are that we are able to create a have pages for the site that are generated from Markdown files within the repo...
View Article