-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
assets directory not added and removed by Flowershow #661
Comments
@ktneely thanks for reporting. Are you using the Obsidian plugin? |
Yes, I am using the Obsidian plugin method. I reviewed a related issue that mentioned symlinking the assets folder, but that doesn't seem to be relevant here, since I'm not referencing the assets as being under the |
@ktneely the |
I don't have an explicit
Should there be a symlink like |
I'm trying to add an assets directory under content for hosting author images and other material. The challenge is that I cannot get assets to "stick".
Scenario 1: assets in Obsidian
My first attempt was to create an
assets/
directory at the top level of the Obsidian vault as a peer ofblog/
,people/
, etc. Inside the folder was a single image, author.png` to be used in conjunction with a defined person. When updating flowershow with the "publish all notes" function in the plugin, my documents from all the other directories get uploaded, however, it skips the assets folder entirely.Scenario 2: Adding via git
Since the plugin was not adding the directory and file, I cloned the repo, added the directory and file under
content/
, and committed. The Vercel build process kicked off and succeeds. However, the image is not used within the blog posts as a part of the author. Furthermore, when I update content and re-publish via Obsidian, it removes the folder and its underlying asset.Obsidian/Flowershow will remove
assets/
whether it is present in the vault or not.To Reproduce
The following steps should reproduce the issue:
assets/
folder in Obsidiancontent/
and the assets folder will not be thereNote: I can get the
assets/
folder to "stick" if I add a dummy Markdown file under it, however, the images are not pushed.You can also immediately see that the asset file(s) will be deleted with the flowershow plugin widget. There should be a way to add the assets to the plugin's tracking mechanism.
The text was updated successfully, but these errors were encountered: