Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions lib/jekyll-theme-cs50.rb
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,9 @@ def relative_path(from, to)
# For each page
site.pages.each do |page|

# Skip relative path logic for 404.md or 404.html
next if page.name == "404.md" || page.name == "404.html"

# If HTML
if page.output_ext == ".html"

Expand Down