Eulanda / EulandaConnect

A PowerShell library that provides functionality for integrating and connecting with Eulanda, both within and outside of ERP contexts.
https://www.eulanda.eu
MIT License
1 stars 0 forks source link

Re-create the CMS in the image process and change the sync logic #3

Closed cnEUL closed 1 year ago

cnEUL commented 1 year ago

Currently, only pages in GitHub that are not homepages are managed for the creation of online documentation in the HUGO CMS. These are _index.md files in the CMS. When writing, this is taken into account by skipping them specifically. Also, the date of the last change is not generated by writing a FrontMatter, but by a setting in the HUGO configuration.

This makes the adjustment unnecessarily complicated. For this reason the behavior is to be changed.

The switch -deleteNonReplacedFiles in Sync-MarkdownFiles could be omitted, in which the target directory is completely deleted before. The prerequisite would be that the homepage file is located in GitHub. There, however, it is normally called Readme.md.

To do would be:

cnEUL commented 1 year ago

Closed with commit #58f8221