Invalidate cache when theme uploaded (#12)

- Add episode to display page (leftover from #9)
- Show episode label based on structure (also #9)
This commit is contained in:
2022-06-27 22:16:53 -04:00
parent 16603bbcaf
commit 7203fa5a38
5 changed files with 12 additions and 7 deletions

View File

@@ -745,6 +745,9 @@ type PostListItem =
/// Tags for the post
tags : string list
/// The podcast episode information for this post
episode : Episode option
/// Metadata for the post
metadata : MetaItem list
}
@@ -763,6 +766,7 @@ type PostListItem =
text = if extra = "" then post.text else post.text.Replace ("href=\"/", $"href=\"{extra}/")
categoryIds = post.categoryIds |> List.map CategoryId.toString
tags = post.tags
episode = post.episode
metadata = post.metadata
}