Questions tagged [jekyll]
Jekyll is a blog-aware, static site generator written in Ruby. Please refer to https://talk.jekyllrb.com before asking your question.
6,241
questions
0
votes
0
answers
6
views
Add layout to image files in jekyll
I want to make a photo gallery with Jekyll where each image has its own page. Ideally I don't want to have to make a .md page for each image manually as there are 700+ images.
Each image should use ...
0
votes
0
answers
26
views
Could not open library 'vips.42' - Ruby/Jekyll
Everything was running smoothly until... I ran into this error when running the brew upgrade vips command:
bundle exec jekyll s -l
bundler: failed to load command: jekyll (/Users/gschiavon/.gem/ruby/2....
0
votes
0
answers
16
views
New to Jekyll, after pushing to terminal it fails during build with the error. Process completed with exit code 1
I'm currently trying to make a simple blog and I've followed this guide specifically to help me learn to make a Github pages with Jekyll https://www.youtube.com/watch?v=F8iOU1ci19Q
Followed the guide ...
0
votes
0
answers
16
views
Why does a new Jeykll site work in Docker but not in my local environment?
I can serve a new Jekyll site in a Docker container like this.
docker run -it --rm ruby bash -c '
gem update --system
gem install jekyll
ruby --version
bundle --version
jekyll --version
jekyll new ...
0
votes
0
answers
15
views
How do I add tabs in Github pages?
I'm trying to add in our docs that is running on Github pages code examples in tabs like this:
I found a plugin that seems like it can do the job jekyll-tabs, but I can't install it and looking at ...
0
votes
1
answer
14
views
jekyll-seo-tag and jekyll-paginate in conflict throwing Liquid Exception: no implicit conversion of nil into String (TypeError)
Cannot generate the site on Jekyll. There seems to be a problem with pagination: The jekyll-paginate gem may be causing some of the pages to not have a title. I paginate blog/index.html. The template ...
0
votes
1
answer
24
views
Conversion error: Jekyll::Converters::PostCss encountered an error while converting 'assets/css/main.css'
I'm following these tutorials to host a jekyll site on github pages
Jekyll & Tailwind Boilerplate
https://github.com/mzrnsh/jekyllwind
Deploy to github pages
https://jekyll.ohsostatic.com/devops/...
0
votes
0
answers
15
views
Jekyll Deployment fails but local website works
I am using the ai-folio template for a website. Everything worked until this time. I have a master branch where the files are updated. The gh-pages branch does the deployment. Locally, I can run
...
1
vote
0
answers
31
views
Jekyll & Obsidian: images urls when using a baseurl
I'm new to jekyll and have been trying to set up a website, using Obsidian for managing the markdown posts.
Here's my setup:
The website has to to be in a subfolder, so I need a baseurl (ex: /blog)
I ...
-1
votes
0
answers
21
views
I get a permission denied message when running 'bundle update' when setting up a blog for github pages
I'm setting up a blog to host on githubpages.
When I try to complete the Gemfile configuration I encounter the following error: when executing the 'bundle update' command I receive the following error ...
0
votes
0
answers
19
views
Jekyll routing and Collection
I started building my blog with Jekyll, i have the following structure:
About.md
index.md
_posts
article1.md
article2.md
other files...
how should I set my _config.yml file so I show the articles ...
0
votes
0
answers
13
views
Jekyll Serve does not load images and assets
I am running locally my site using the bundle exec jekyll liveserve command. The command line shows below that the site is running in http://127.0.0.1:4000/
However, when I visit the site using ...
-1
votes
1
answer
31
views
How to make announcement banner cookie expire after specific time?
I want to make my announcement banner expire after 14 days. How would I have to change the following code to make that work?
// Announcement Banner
var button = document.querySelector("button&...
0
votes
0
answers
18
views
jekyll build generates broken internal href
I am trying to setup github pages using jekyll theme chirpy-starter. Build step successfully generates the html files however internal href and broken. And this can be verified using html proofer.
To ...
0
votes
0
answers
8
views
Creating Subfolders and directories on Jekyll
I currently have some documentation that is written with Markdown, that I want to transfer to a Jekyll type that will be built as part of my gitlab pipeline.
Currently, I have the following structure ...
0
votes
0
answers
22
views
how can i solve this bundle install error
An error occurred while installing eventmachine (1.2.7), and Bundler
cannot continue.
In Gemfile:
github-pages was resolved to 228, which depends on
jekyll-avatar was resolved to 0.7.0, which ...
0
votes
0
answers
12
views
Github pages description column
I am working with github pages using jekyll.
I created table in .md file and one of the columns is description one. It is fulfilled with long description and my vscode auto formats and breaks table's ...
0
votes
1
answer
75
views
Why does jekyll-archives not work on Github pages with Travis CI?
I am using Travis to deploy on Github pages. I am also using jekyll-archives in my project. My setup works very well locally but no archive pages are generated on github pages. I have also used jekyll-...
0
votes
0
answers
8
views
Jekyll liquid find and where filters don't work if string begins with 0
Not sure if this is a bug or I am misunderstanding but say you have .json file like
[
{
"example": "012",
},
{
"example": "A012",
}
]...
1
vote
0
answers
40
views
GitHub Pages and Google Analytics set up with GA4
I'm currently struggling to find a way to set up Google Analytics for a GitHub Pages website. There are ways given on the internet but they all use the old Universal Analytics (UA) property and not ...
0
votes
0
answers
31
views
Background visible on the bottom of HTML page on mobile for video object-fit: cover
I get a whitespace / blackspace / background bar that appears on the bottom of my HTML page on mobile (on Chrome). The video-background and show-video states render with a gap on the bottom of the ...
0
votes
1
answer
79
views
what cause ruby invalid option -1 (-h will show valid options) (RuntimeError)
im new to ruby. i tried to run this repository on local, i have done all the necessary requirement (installed ruby-dev, bundler) but always get an error when running 'bundle exec jekyll liveserve' the ...
0
votes
1
answer
10
views
How to change page.url in Jekyll to actual page for the output file?
I have a Jekyll blog that I need to fix. Because I have this code in _includes/head.html:
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | ...
0
votes
0
answers
50
views
Create array in Jekyll page/post using Liquid tag
I've created a plugin for my Jekyll site 1. The plugin creates a new Liquid tag {% facility name %}. Whenever I use that tag, I want to create/add to an array on that page/post called facilities. Thus,...
0
votes
0
answers
14
views
Jekyll pagination and tagging not working on live site
I've been running website on jekyll, and got stuck in a problem.
We're facing an issue on our website https://www.door3.com/blog/,
We are concerned about the Jekyll plugins. Locally, the pagination ...
0
votes
0
answers
7
views
Possible to have multiple collections point to same directory?
Is it possible to define multiple collections, but those collections pull their posts from a common directory?
My use case is, I’m creating a website that holds results of professional wrestling ...
0
votes
1
answer
42
views
SCSS changes don't seem to be taking effect in Jekyll site?
I have a Github Pages site built with Jekyll. I'm using the Minima Jekyll theme.
I'm trying to apply custom styles to my classes, but no matter what I put, it's not taking effect. All the SCSS styles ...
0
votes
0
answers
9
views
Jekyll Localhost different
I forked the Contract Jekyll Theme, it renders properly in username.github.io, example I added the latest.md but doesnt render in localhost what could be the issue.
**_config.yml
navigation: ...
0
votes
1
answer
14
views
Limit Jekyll Tags displayed on Home Page
I want to display the most recent Tags from the latest blog Post on my home page (or limit it to perhaps 6).
My code so far shows every tag:
<div class="archive-tags">
{% for post ...
0
votes
1
answer
20
views
How to get/access/reference pages in a directory with Jekyll?
I have a Github Pages site using Jekyll. I have a directory with subdirectories and posts, like this:
/
documentation/
powershell/
get-service.md
invoke-webrequest.md
I also have an ...
0
votes
0
answers
13
views
Does Jekyll have a scrolling container option?
I have a Github Pages site and I want to include a scrolling container just like this page (left side, scrolling menu), where any subdirectories and their contents are listed inside the container. Is ...
-2
votes
1
answer
52
views
Jekyll and SEO friendly pagination
When I audit a website with free or paid tools such as Screaming Frog SEO Spider I get the following issues:
Pagination: Pagination URL Not in Anchor Tag
Pagination: Sequence Error
I am using Jekyll ...
0
votes
0
answers
5
views
How to use placeholders outside of permalink in jekyll?
I'm making a jekyll site to showcase my projects and I'm trying to make a custom variable that links to the source code using placeholders but it's not working
title: api
author: cabiste
source-code: ...
0
votes
0
answers
11
views
Error while running an open source project getnighthawk.dev by meshery
I am trying to run that in my local
Have followed the steps:
git clone [email protected]:malaviya-parth/getnighthawk.git
cd getnighthawk
cd docs
Then as ruby was required, I installed it with default ...
0
votes
0
answers
125
views
How can I update github page using jekyll theme al-folio
I'm quite new on using jekyll and github. I'm trying to use al-folio jekyll theme and host it on github pages. I use ubuntu 22.04 and follow the instruction of this tutorial.
Everything went well and ...
0
votes
0
answers
15
views
React component partially loaded into Jekyll page
I'm trying to embed a React component into a Jekyll page. I've managed to make it appear into the page, but Tailwind styles and some external components/libraries in it won't work. For example, there'...
0
votes
0
answers
14
views
GitHub Pages Jekyll hosted blog doesn't pick up remote_theme
I've just installed a Jekyll blog and I've tested it locally with a remote_theme and locally, it works fine. However when it's being deployed to GH page I see that the theme is minima (the default one)...
0
votes
0
answers
24
views
Has Anyone Used Lenis with Jekyll?
I'm trying to use a scroll smoother on Jekyll and it's not working. The page just freezes and lags. The hardest thing about it is that there's no error on the console, so I can't debug it. I can't ...
0
votes
2
answers
31
views
Customizing meta title tag in Just the Docs Jekyll theme
My friends website is made with the Just the Docs Jekyll theme and is hosted on GitHub pages.
Is it possible to change the meta title of the home page without changing the current title which is ...
0
votes
0
answers
24
views
Jekyll serve not generating .well-known folder and subfolders in assets
I am setting up matrix and I need to have a .well-known folder which has a matrix subfolder which containers the client and server files. However, when I generate via jekyll serve it does not generate ...
0
votes
0
answers
10
views
Folders from the original theme missing in the _site build
To use the Agency Jekyll Theme I initially created the site with jekyll new, then edited the Gemfile and _config.yml to reflect that I'm using the agency theme.
I can see that the theme is installed ...
0
votes
0
answers
12
views
Difference between simple Github-Pages Themes and creating a site with Jekyll using a Gemfile
Github documents two different ways of configuring and theming Jekyll-based Pages sites.
Creating sites with Jekyll, using a custom Gemfile
Adding themes to Pages sites, without adding a Gemfile to ...
0
votes
0
answers
14
views
It seems my laptop can't install Jekyll, again and again install, although I already checked the path environment
Windows 10 Pro N
ruby 3.0.6p216 [x64-mingw32]
gem 3.2.33
gcc version 13.1.0 (Rev7, Built by MSYS2 project)
GNU Make 4.4.1
I install again and again
gem cleanup
gem list jekyll
dir D:/develop/ruby/...
0
votes
0
answers
16
views
Sorting Jekyll data files
I run a Gaelic language site which has a list of uncommonly known vocabulary stored in a data file called faclair.yml.
The structure inside faclair.yml is as follows
- gd: "Gaelic word"
...
0
votes
0
answers
26
views
Jekyll 4.3.2: How to set alternate color scheme for code highlighting
I'm trying to simply change a few things regarding the code highlighting in my Jekyll pages on github and have been unable to get anything to work.
After reading a lot of pages/questions, I've tried:
...
0
votes
1
answer
38
views
background-position is not working properly
I am using Jekyll and I have the following code where I change the inline background-position depending on the front-matter position that I define:
* {
box-sizing: border-box;
}
body{
padding:...
0
votes
1
answer
40
views
How to display page url without /index.html?
I'm new to jekyll and liquid and I'm having a problem with the canocial url. On the post (article) page, everything works perfectly. But on category pages, /index.html is added to the url.
In the html ...
0
votes
0
answers
102
views
Error: The process '/opt/hostedtoolcache/Ruby/3.1.4/x64/bin/bundle' failed with exit code 16 in a Github Actions Setup Ruby Job
I'm facing an issue with running a build job through Github Actions because Error: The process '/opt/hostedtoolcache/Ruby/3.1.4/x64/bin/bundle' failed with exit code 16 during the Setup Ruby job.
My ...
0
votes
1
answer
35
views
How to make a parallax effect on a Cover Image with overlay (noJS)?
I have the following code and I'm trying to have a parallax on my cover image. I thought that all I needed to do was to have img have background-attachment: fixed; but it is not working:
* {
box-...
0
votes
1
answer
22
views
Is there any way to apply object-position to a div (without using <img>)?
I'm trying to adjust an image in a <div> on a jenkyll template minimal-mistakes.
Because the default html uses div for both images and video (I think?) it does not use the appropriate tags to be ...