Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

v0.8.3 #2806

v0.8.3 #2806
Feb 2, 2025 · 1 comments · 8 replies
Discussion options

This stable version of the template reorganizes the layout of _sass in support of themes. This version includes the default 'light mode' theme along with a new dark mode theme.

What's Changed

New Contributors

Full Changelog: v0.8.2...v0.8.3


This discussion was created from the release v0.8.3.
You must be logged in to vote

Replies: 1 comment 8 replies

Comment options

Hi! Thanks for releasing dark mode! I'm trying to implement it on my end, but I keep getting an error when building:

Logging at level: debug Configuration file: /github/workspace/./_config.yml GitHub Pages: github-pages v232 GitHub Pages: jekyll v3.10.0 Theme: jekyll-theme-primer Theme source: /usr/local/bundle/gems/jekyll-theme-primer-0.6.0 Requiring: jekyll-github-metadata Requiring: jekyll-seo-tag Requiring: jekyll-paginate Requiring: jekyll-sitemap Requiring: jekyll-gist Requiring: jekyll-feed Requiring: jekyll-redirect-from Requiring: jekyll-coffeescript Requiring: jekyll-commonmark-ghpages Requiring: jekyll-github-metadata Requiring: jekyll-relative-links Requiring: jekyll-optional-front-matter Requiring: jekyll-readme-index Requiring: jekyll-default-layout Requiring: jekyll-titles-from-headings GitHub Metadata: Initializing... Source: /github/workspace/. Destination: /github/workspace/./_site Incremental build: disabled. Enable with --incremental Generating... EntryFilter: excluded /LICENSE EntryFilter: excluded /package.json EntryFilter: excluded /CHANGELOG.md EntryFilter: excluded /README.md EntryFilter:

I've 1) updated site_theme to "dark" and 2) creates _sass/theme/_dark.scss and _sass/theme/_default.scss. This error occurs when I'm trying to import "themes/dark" and "themes/default" into assets/css/main.scss. Any support is appreciated in making dark mode work!

You must be logged in to vote
8 replies
Comment options

Hi! Apologies for the delayed response on this! I did end up syncing + resolving merge conflicts, but the sun/moon toggle still does not appear and dark mode does not happen on my version. During the commit, I got the following error while building:

Liquid Exception: Liquid syntax error (/github/workspace/_includes/sidebar.html line 239): 'if' tag was never closed included in /_layouts/single.html

This is strange to me because neither of those files (sidebar.html or single.html) have line 239, and I've made sure all the if tags are closed. Any help is appreciated!

Comment options

rjzupkoii Jul 3, 2025
Maintainer Author

@SourojitGhosh Those errors can be tricky to chase down, but it is accurate in that there is an if tag somewhere that is not closed correctly. Most likely the line number does not correspond to the actual location where the parse ran into the error though.

Comment options

I'm fairly certain that's not it: to be extra sure, I went into the academicpages repo, copied the raw code for both of those files, and replaced my versions with those. So if this error isn't something you/others cloning the original repo haven't had, I'm pretty confident I don't have open ifs.

Comment options

rjzupkoii Jul 3, 2025
Maintainer Author

@SourojitGhosh Line 110 of _includes/author-profile.html looks like it's missing an {% endif %}.

One of the problems with templating systems is that it's very common for syntax errors to be reported for the wrong file - so the compiler is usually correct that somewhere a block was opened, but it may be a couple files removed from that location by the time an error is actually reported. C++ compilers were also fairly notorious for this back end the day as well, although those were always at least correct about the file.

Comment options

Thanks! This worked perfectly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /