Quantcast
Channel: Active questions tagged jekyll - Stack Overflow
Browsing all 80 articles
Browse latest View live

Why is Jekyll not working at all with Ruby 3.1?

I executed using Ruby 3.1:gem install jekyllThen I executed:jekyll -vAnd I got this error:`require': cannot load such file -- sass-embedded (LoadError)I tried to update ruby 3.1.2 to...

View Article



What are some good ways to implement breadcrumbs on a Jekyll site?

I'm aware that there are single-level breadcrumbs in http://raphinou.github.com/jekyll-base/ but I'm looking for some good ways to have breadcrumbs on a Jekyll site when directories get to a depth of...

View Article

Getting error for Jekyll while using Next.js workflow in Github Actions

I have been working on a static website using https://nextra.site/docs and when I am trying to deploy the application using the GitHub actions workflow for NextAnd I am facing the Jekyll error for not...

View Article

Jekyll Github pages how to hide a post

I am using jekyll with Github pages for my website.I am trying to make some posts not visible in the home but they can be linked from another post.In the frontmatter I tryed to add a field visible like...

View Article

How to list all pages in a folder using Jekyll?

I've got a folder with many markdown files which are pages. I would like to list in my header links to all of them. How can I do this in Jekyll?

View Article


Jekyll Hooks for category gives "post['category'].reject { |t| t.empty? }" error

I am using Hooks for category and tags for my site. Following code for tags works just fine:Jekyll::Hooks.register :posts, :post_write do |post| all_existing_tags = Dir.entries("./src/_tags") .map {...

View Article

Markdown global definition of abbreviations

I am generating web pages using Jekyll and Markdown. I want to include definitions of standard acronyms on every page. The definition for a sample acronym will look like this:* [PR]: Programming...

View Article

github jekyll page build keeps failing

I am maintaining a github page using jekyll, and today I noticed my build keeps failing no matter what actions I take (e.g., upload files, delete files, making slight text changes in files). I am...

View Article


Format Jekyll/Liquid number needing commas included

I'm trying to format numbers that are custom variables in Jekyll's Front Matter to use a comma after every third digit. Ex. 1,000,000. My number is declared in the Front Matter like this:---my_number:...

View Article


How to add class="CodeRay" in Octopress

I am using kramdown in Octopress for a while. I wanted to add CodeRay to my Octopress. I installed coderay.➜ octopress git:(source) ✗ sudo gem install coderayPassword:Successfully installed...

View Article

js and css not loading when hosting next application on GitHub pages

Next.js builds all the static assets in _next folder but Github pages does not need to serve those files. I am 404 for static assets.Example repo:...

View Article

How to fix: Domain does not resolve to the GitHub Pages server. Error in...

So I am trying to get a custom domain to work with my github pages user site. I have followed pretty much the standard procedure for doing this as follows: (recommended by github here too:...

View Article

Excluding page from Jekyll navigation bar

I am setting up a basic Github-hosted Jekyll website (so minimal, I am not even bothering to change the default theme). I have a nested site with a small number of first-tier pages that I would like to...

View Article


Validating deep links on web app hosting on Github Pages

I have a create-react-app application hosted on GitHub pages, with a custom domain www.example.com.I need to validate the domain for deep links on Google Play Console, and for that I need to ensure...

View Article

How to set a default date on a Jekyll site?

I want the date values of all pages to default to site.time if no date is provided in the filename or front matter. Using {{ site.time }} in an html file (such as a layout) works but when I set it...

View Article


Automatic dynamic header with Jekyll?

I was wondering how to use Jekyll to write in markdown and also have a header that will open new sub menus depending on which file you are on. Preferably this will be done with folders in the...

View Article

same render style as github markdown page for a page on my jekyll site

I am using jekyll to generate my site and markdown files for creating posts. I wrote markdown code to generate http://techtaste.in/blog/markdown/markdown-quick-reference.html. And I have used same...

View Article


How do I force a gem file to be installed when the the dependency doesn't match?

I'm building a Jekyll site and I need to be able to convert pages to PDF. I want to use jekyll-pdf but when I include it, bundle tells me it's incompatible:Because every version of jekyll-pdf depends...

View Article

Github pages: how to redirect error url to 404.html page with nojekyll

I have created simple static site on github pages.The page https://docs.github.com/en/pages/getting-started-with-github-pages/creating-a-custom-404-page-for-your-github-pages-site says that all error...

View Article

Why is Jekyll not working with live reload option?

Jekyll had been working fine for me about 50 times live-reloading.However, now, each time I want to use live-reload option it throws this error once and once again, many times:$ jekyll serve...

View Article
Browsing all 80 articles
Browse latest View live




Latest Images