pages-gem icon indicating copy to clipboard operation
pages-gem copied to clipboard

Jekyll Archives work only in localhost.

Open alonshrestha opened this issue 4 years ago • 2 comments

Hello, Can someone help me? I am using 'Affilated' themes. While testing the theme the "archive" function works fine on localhost but not in Github host. It says "404 file not found".

alonshrestha avatar Aug 19 '19 12:08 alonshrestha

I have the same issue! In fact, as can be seen, jekyll-archives gem is not included here. We can only wait until it is included. However, there is a workaround. Just run jekyll build and copy the whole "archives" directory to the root of your jekyll project. You can write a script yourself to implement this:

jekyll build
cp -r _site/archives .
git add archives

UlyssesZh avatar Apr 13 '20 12:04 UlyssesZh

Thank you. This issue has persisted for some time, and I am no longer utilizing that theme. I am closing this issue.

alonshrestha avatar Feb 18 '24 12:02 alonshrestha