Closed sc0ttj closed 5 years ago
- `rebuild 2019` => rebuild all monthly index pages in posts/2019/ - `rebuild authors` => rebuild all author pages - `rebuild categories` => rebuild all category pages - `rebuild tags` => rebuild all tag pages
- `rebuild 2019/03` => rebuilds 2019/03/index.html - `rebuild authors/bob` => rebuilds authors/bob.html - `rebuild categories/blog` => rebuilds categories/blog.html - `rebuild tags/markdown` => rebuilds tags/markdown.html
...and so on.
A major rerwite of update_pages.sh, and updates to .site_config and .app/cli-interface.bash
update_pages.sh
.site_config
.app/cli-interface.bash
Move each section of update_pages.sh to its own function, then use those functions in update_page.sh, and also in clit-interface.bash.
update_page.sh
clit-interface.bash
Partial rebuilds were added in this PR (merged): https://github.com/sc0ttj/mdsh/pull/77
Stuff not implemented in that PR left in this ticket.
Done in commit https://github.com/sc0ttj/mdsh/commit/f990e75f9a0b3930d8833c7290eb4d742ac4e037
rebuild a group of index pages
rebuild a specific index page:
...and so on.
Implementation
A major rerwite of
update_pages.sh
, and updates to.site_config
and.app/cli-interface.bash
Possible solution
Move each section of
update_pages.sh
to its own function, then use those functions inupdate_page.sh
, and also inclit-interface.bash
.