Skip to content

Commit

Permalink
Update reads.md for Jekyll bug with excerpt frontmatter tag
Browse files Browse the repository at this point in the history
There's a bug in Jekyll version 3.9.4 (recently released), something to do with the Excerpt tag in the frontmatter (metadata).

According to the workaround, removing the Excerpt tag from the 404.md, about.md, and non-menu-page.md should work. The error in my first build points to a problem with 404.md (see below), but after fixing that the error went to allyship.md. I think the Excerpt tag needs to be removed from all files under the _pages directory.

I removed it from several of the .md files, but it's still present in a few of them and the build is breaking on those.

Bug details: jekyll/jekyll#9544

Workaround: academicpages/academicpages.github.io#1878

Error in the build file first time:
/usr/local/bundle/gems/jekyll-3.9.4/lib/jekyll/excerpt.rb:135:in extract_excerpt': undefined method excerpt_separator' for #<Jekyll::Page @name="404.md"> (NoMethodError)

Error in the build file second time:
/usr/local/bundle/gems/jekyll-3.9.4/lib/jekyll/excerpt.rb:135:in extract_excerpt': undefined method excerpt_separator' for #<Jekyll::Page @name="allyship.md"> (NoMethodError)

Error in the build file third time:
/usr/local/bundle/gems/jekyll-3.9.4/lib/jekyll/excerpt.rb:135:in `extract_excerpt': undefined method `excerpt_separator' for #<Jekyll::Page @name="reads.md"> (NoMethodError)
  • Loading branch information
HiltonTod committed Feb 10, 2024
1 parent 09fd9da commit 7cfad6c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _pages/reads.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
layout: archive
permalink: /reads/
title: "Reads"
excerpt: "Books I've read. Not quite reviews, more like thoughts and notes. See my **[reading list](/reads/books/)**."
fullwidth: true
author_profile: true
---

{{ page.excerpt | markdownify }}

Books I've read. Not quite reviews, more like thoughts and notes. See my **[reading list](/reads/books/)**.

---

<div class="grid__wrapper">
Expand Down

0 comments on commit 7cfad6c

Please sign in to comment.