fnic-lemmy / lemmy-directory

A repo for the Lemmy directory
https://lemmy.dbzer0.com/c/lemmydirectory
MIT License
1 stars 0 forks source link

Add a second post/file #18

Closed chris-y closed 3 months ago

chris-y commented 3 months ago

A second file needs adding to allow the directory to be split over multiple posts.

M4rtineski commented 3 months ago

Reason: we will hit post char limit soon.

chris-y commented 3 months ago

Done. If you edit Directory2.md it will now push up to Directory post 2

Remember you can edit the titles here (POST_TITLE and POST2_TITLE)

M4rtineski commented 3 months ago

So me editing the title in the secret will apply it to lemmy and changing it manually though account will revert it back with the next push? I thought we had only post bodies synced but good to know as I was planning on changing the titles soon.

chris-y commented 3 months ago

Yes. I assume the API needs to be provided with a title, nighed set this up (I just changed it to a var to make it easier to edit).

chris-y commented 3 months ago

Just to clarify, you need to make a change to the main body too to get the title change to push, as that doesn't trigger an update.