Skip to content

Commit

Permalink
Added FeaturedPage and FeaturedExternalLink to EtC pages
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbiggs committed Oct 17, 2024
1 parent 291fa04 commit 09c9f9f
Show file tree
Hide file tree
Showing 2 changed files with 684 additions and 0 deletions.
4 changes: 4 additions & 0 deletions etna/articles/blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

from etna.core.blocks import (
ContentImageBlock,
FeaturedExternalLinkBlock,
FeaturedPageBlock,
FeaturedRecordArticleBlock,
ParagraphBlock,
PromotedItemBlock,
Expand All @@ -16,6 +18,8 @@


class SectionContentBlock(blocks.StreamBlock):
featured_external_link = FeaturedExternalLinkBlock()
featured_page = FeaturedPageBlock()
featured_record_article = FeaturedRecordArticleBlock()
image = ContentImageBlock()
media = MediaBlock()
Expand Down
Loading

0 comments on commit 09c9f9f

Please sign in to comment.