hexo-generator-archive icon indicating copy to clipboard operation
hexo-generator-archive copied to clipboard

Specify archive slug in config

Open Buzut opened this issue 4 years ago • 3 comments

By default, the archive listing page url is /archives/, it could be nice to be able to customise that in the config file.

Buzut avatar Aug 25 '20 10:08 Buzut

https://hexo.io/docs/configuration#Directory

Try changing archive_dir in your _config.yml?

SukkaW avatar Aug 25 '20 11:08 SukkaW

Ahhhh! Hadn't seen this. I was looking at the readme of this repo and nowhere was this mentionned.

Buzut avatar Aug 25 '20 12:08 Buzut

https://github.com/hexojs/hexo-generator-archive/blob/87a47727728692af3040ee1740ce977922fe9386/lib/generator.js#L10

uiolee avatar Apr 07 '24 13:04 uiolee