jekyll-archive | Jekyll plugin to create a set of archive pages | Theme library
kandi X-RAY | jekyll-archive Summary
kandi X-RAY | jekyll-archive Summary
This plugin creates a set of archive pages for a Jekyll website. Oddly, Jekyll doesn't include a date-based archive for posts out of the box. For example, if you have a permalink structure like blog/2014/01/01/title, URL hacking won't work because going to blog/2014 will return 404 Page Not Found. Jekyll Archive Generator fixes that by generating all the necessary archive pages for each part of your blog URL structure.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of jekyll-archive
jekyll-archive Key Features
jekyll-archive Examples and Code Snippets
archive:
- path: /blog/:year
layout: archive_blog
title: Blog archive — :year
include:
tags: ['PHP']
exclude:
categories: ['news']
tags: ['drafts']
- path: /blog/:year/:month
layout:
gem install jekyll-itafroma-archive
gems: ['jekyll/itafroma/archive']
Community Discussions
Trending Discussions on jekyll-archive
QUESTION
My current site address is changyuyan.github.io, and if I click on the tags on the right, say, https://changyuyan.github.io/tags/software-engineering/, it always give me a 404 page. However, when I preview it locally (http://127.0.0.1:4000/tags/software-engineering/), the redirect seem to work just fine:
I wonder if it has something to do with my _config.yml
. I have tried different url and baseurl strings, but still couldn't resolve it.
(Note: This theme was adopted from Chirpy)
Thanks!
Part of my config.yml
:
ANSWER
Answered 2020-Dec-22 at 02:56Near the top of your _config.yml
, set baseurl
to the name of the project repo according to the instructions:
QUESTION
Update: I got fed up and re-do everything from the ground-up and it fixes itself.
I have a github pages site built with Jekyll and Chirpy theme.
Locally, it runs great.
However when deployed on Github Pages there are a few directories that return the 404 page even though the path is valid and there is an index.html file in it.
Example: https://catmandx.github.io/posts/Wgel-CTF-Writeup/ display normally https://catmandx.github.io/tags/cmc/index.html returns 404 http://127.0.0.1:4000/tags/cmc/index.html display correcly.
I have temporarily make the repo public, it's here: https://github.com/catmandx/catmandx.github.io
I have been banging my head for a few hours now. I have tried committing and pushing again to re-run Actions, manually editing the /tags/cmc/index.html file in the gh-pages branch but nothing works.
This is the _config.yml file, not sure if it helps but here:
...ANSWER
Answered 2020-Dec-19 at 05:10You can solve this issue by executing bash tools/init.sh
You will also have to run this init.sh every time there is a category/tag created.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install jekyll-archive
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page