-
Notifications
You must be signed in to change notification settings - Fork 11.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blogs sorted by a certain year are having issues #2665
Comments
Does this also happens when running locally? I took a look at your posts and everything seems fine. The only "unusual" thing I saw was that none of your posts have either description, tags, or categories. Just to take these out of the equation, can you fill these fields and test again? |
I removed all the local posts and it is the same. Maybe it is due to external posts in the _config.yml? I don’t have a local environment to test. |
The Now, about the 2023 blog posts is probably something related to external blog posts, but I am not sure what. This requires further investigation. |
Just found out what is your issue, and yes: it is because of external posts. More specifically, your posts have foreign characters, and as the regex to replace chars in the external posts plugin replace those, the title ends up empty and it gives this error. I will upload a patch for it soon. |
I just commited a fix for this issue. Check if cd3f4d6 solves this issue for you. You can either get the latest updates from our repo, or just apply these changes in your own code and test if it works. |
Yes, it is fixed. Thanks! |
Have you checked that your issue isn't already filed?
Bug description
when blogs sorted by years, i.e., 2020, 2022, 2023, and 2024, the year of 2023 shows a blank page, but all other years look fine
How to reproduce the bug
The problematic blog year is here: blogs in 2023. Other year looks fine: blogs in 2024
Error messages and logs
see full logs here: https://github.com/fanyangCS/fanyangcs.github.io/actions/runs/10590121696/job/29345374852
the config yml file here: https://github.com/fanyangCS/fanyangcs.github.io/blob/master/_config.yml
Below are suspected logs:
AutoPages: Disabled/Not configured in site.config.
Pagination: Complete, processed 1 pagination page(s)
W, [2024-08-28 04:21:18 #1903] WARN -- : Lexer: unexpected token
\' at 21708; brace level 1; mode :bibtex. W, [2024-08-28 04:21:22 #1903] WARN -- : Lexer: unexpected token
' at 21708; brace level 1; mode :bibtex.[NbConvertApp] Converting notebook /tmp/jekyll-jupyter-notebook20240828-1903-ssrj0u.ipynb to html
Warning: Empty
slug
generated for '--'.Conflict: The following destination is shared by multiple files.
The written file may end up with unexpected contents.
/home/runner/work/fanyangcs.github.io/fanyangcs.github.io/_site/blog/2023/index.html
- blog/2023/index.html
- /home/runner/work/fanyangcs.github.io/fanyangcs.github.io/_posts/--.md
Auto-regeneration: disabled. Use --watch to enable.
What operating system are you using?
Not applicable.
I am using GitHub Pages to compile, build, and deploy directly.
Where are you seeing the problem on?
Deployed site
More info
No response
The text was updated successfully, but these errors were encountered: