annot.at is a service for syncing static websites, such as blogs, to atproto and standard.site annot.at
elixir atproto standardsite
3

Configure Feed

Select the types of activity you want to include in your feed.

Set default categories value

Johanna Larsson (Jul 1, 2026, 8:06 PM +0100) 0aae6e3e e09938b8

+3 -3
+3 -3
lib/annot_at/feeds/entry.ex
··· 15 15 :content, 16 16 :rkey, 17 17 :image, 18 - :categories, 19 - cover_status: :none 18 + cover_status: :none, 19 + categories: [] 20 20 ] 21 21 22 22 @type cover_status :: :ok | :too_large | :not_image | :unknown | :none ··· 35 35 } 36 36 37 37 def hash(%__MODULE__{} = entry) do 38 - tags = Enum.sort(entry.tags) 38 + tags = Enum.sort(entry.categories) 39 39 # Join collapses the potential nils that :crypto.hash doesn't accept. 40 40 iodata = Enum.join([entry.title, entry.summary, entry.content, tags]) 41 41 hash = :crypto.hash(:sha256, iodata)