Skip to content

Commit

Permalink
feat(meta): Add link.bluesky
Browse files Browse the repository at this point in the history
  • Loading branch information
gadenbuie committed Nov 8, 2024
1 parent 6cec176 commit 367630e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/brand/meta.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ meta:
home: https://www.acmecorp.com
docs: https://docs.acmecorp.com
github: https://github.com/acmecorp
bluesky: https://bsky.app/profile/acmecorp.bsky.social
twitter: https://twitter.com/acmecorp
linkedin: https://www.linkedin.com/company/acmecorp
facebook: https://www.facebook.com/acmecorp
Expand Down Expand Up @@ -92,7 +93,7 @@ The `link` field can also be specified in two ways:
link:
home: https://www.acmecorp.com
github: https://github.com/acmecorp
twitter: https://twitter.com/acmecorp
bluesky: https://bsky.app/profile/acmecorp.bsky.social
linkedin: https://www.linkedin.com/company/acmecorp
```
Expand Down
1 change: 1 addition & 0 deletions docs/pkg/py/meta.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ but only the attributes listed below are validated.

| Name | Description |
| --- | --- |
| [bluesky](#brand_yml.meta.BrandMetaLink.bluesky) | Bluesky link for the brand or company. |
| [facebook](#brand_yml.meta.BrandMetaLink.facebook) | Facebook link for the brand or company. |
| [github](#brand_yml.meta.BrandMetaLink.github) | GitHub link for the brand or company. |
| [home](#brand_yml.meta.BrandMetaLink.home) | Home website link for the brand or company. |
Expand Down
5 changes: 5 additions & 0 deletions pkg-py/src/brand_yml/meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,11 @@ class BrandMetaLink(BrandBase):
examples=["https://linkedin.com/company/very-big-corp"],
)
"""LinkedIn link for the brand or company."""
bluesky: HttpUrl | None = Field(
None,
examples=["https://bsky.app/profile/VeryBigCorp.bsky.social"],
)
"""Bluesky link for the brand or company."""
twitter: HttpUrl | None = Field(
None,
examples=["https://twitter.com/VeryBigCorp"],
Expand Down

0 comments on commit 367630e

Please sign in to comment.