silverbulletmd / silverbullet-pub

Publish your Silver Bullet space to the Internet
https://pub.silverbullet.md
7 stars 3 forks source link

Plug doesn't read settings? #13

Open h3ndrik opened 1 month ago

h3ndrik commented 1 month ago

I've copy-pasted the publish part in my SETTINGS file but this plug doesn't seem to read any of them:

This page contains some configuration overrides for SilverBullet. [...]

\`\`\`space-config
indexPage: index
libraries:
- import: "[[!silverbullet.md/Library/Core/*]]"

publish:
  indexPage: test
  title: "h3ndriks notes"
  template: "template/page"
  destPrefix: "_public/"
  removeHashtags: true
  removeUnpublishedLinks: false
  publishAll: true
  tags:
  - pub
\`\`\`

No matter what I change or configure, the pub plug seems to stick to its default settings.

SilverBullet version 0.9.2

h3ndrik commented 1 month ago

Oh, I found the issue. space-config has to be replaced with yaml in the SETTINGS. I think this plug has to be updated. The current silverbullet version 0.9.4 reverts the 'space-config' to mitigate for this.

zefhemel commented 1 month ago

Correct, this plug still needs to be updated to support space config.