Photos collections shortcode breaks in private notes

Hi there!

I wanted to create a ‘private album’ of photos I could share with some friends using the Micro blog private notes feature. It seems that private notes cannot expand the shortcodes as expected causing the following error:

Error: error building site: assemble: "content/notes/$NOTE_ID": failed to extract shortcode: template for shortcode "collection" not found

Steps to reproduce:
1 - Create a photo collection
2 - Copy shortcode {{< collection "ExamplePrivateAlbum" >}}
3 - Paste shortcode in a private note
4 - Save, check logs to see above error

I can confirm that it’s the same for me. Is this supposed to work, @manton?

I hadn’t thought about this, but it’s a great idea. I’ll update Micro.blog later today to support it. Thanks!

This change is live now.

2 Likes