Skip to content

Commit f61ecc8

Browse files
committed
Community web link
1 parent 755a3a7 commit f61ecc8

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

backend/api/cms/page/blocks/communities_section.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ class Community:
1616
instagram_url: str | None
1717
linkedin_url: str | None
1818
twitter_url: str | None
19+
website_url: str | None
1920

2021
@classmethod
2122
def from_block(cls, block) -> Self:
@@ -40,6 +41,7 @@ def from_block(cls, block) -> Self:
4041
instagram_url=block["instagram_url"],
4142
linkedin_url=block["linkedin_url"],
4243
twitter_url=block["twitter_url"],
44+
website_url=block["website_url"],
4345
)
4446

4547

backend/cms/components/page/blocks/communities_section.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class Community(blocks.StructBlock):
1414
instagram_url = blocks.URLBlock(required=False)
1515
linkedin_url = blocks.URLBlock(required=False)
1616
twitter_url = blocks.URLBlock(required=False)
17+
website_url = blocks.URLBlock(required=False)
1718

1819

1920
class CommunitiesSection(blocks.StructBlock):

0 commit comments

Comments
 (0)