4awpawz / trio

Fast, simple yet powerful JavaScript-driven static site generation.

Home Page:https://gettriossg.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

formalize archive pages into the project just like blog tag and blog category pages are

jeffschwartz opened this issue · comments

Currently archive pages aren't formalized into the project's blogging structure, meaning currently there is no dedicated source/fragments/blog/archive folder for them (currently tag and category pages each have their own dedicated folders). This results in their destination paths and urls being generated relative to their parent public/blog folder when they should really be generated relative to their parent public/blog/archive folder.

To formalize archive pages into the project, the following changes will need to be made:

  1. When creating a new project, create the source/fragments/blog/archive folder also.
  2. When generating destination paths and urls for archive pages they should be generated relative to their parent public folder, which for archive pages would be public/blog/archive.