Project updates from Template #1
@@ -12,7 +12,7 @@ public struct SocialCard: Sendable {
|
|||||||
|
|
||||||
/// The locale of the card's text, or `nil` to omit its tag.
|
/// The locale of the card's text, or `nil` to omit its tag.
|
||||||
///
|
///
|
||||||
/// Open Graph specifies the `language_TERRITORY` form (e.g. `en_US`); scrapers also accept a bare language code (e.g. `en`).
|
/// Open Graph specifies the `language_TERRITORY` form (e.g. `en_NL`); scrapers also accept a bare language code (e.g. `en`).
|
||||||
public let locale: String?
|
public let locale: String?
|
||||||
|
|
||||||
/// The name of the site the card belongs to, or `nil` to omit its tag.
|
/// The name of the site the card belongs to, or `nil` to omit its tag.
|
||||||
@@ -41,7 +41,7 @@ public struct SocialCard: Sendable {
|
|||||||
/// - summary: the card's summary, or `nil` (the default) to omit its tag.
|
/// - summary: the card's summary, or `nil` (the default) to omit its tag.
|
||||||
/// - url: the absolute URL the card's page is served at, or `nil` (the default) to omit its tag.
|
/// - url: the absolute URL the card's page is served at, or `nil` (the default) to omit its tag.
|
||||||
/// - siteName: the name of the site the card belongs to, or `nil` (the default) to omit its tag.
|
/// - siteName: the name of the site the card belongs to, or `nil` (the default) to omit its tag.
|
||||||
/// - locale: the locale of the card's text, ideally in Open Graph's `language_TERRITORY` form (e.g. `en_US`), or `nil` (the default)
|
/// - locale: the locale of the card's text, ideally in Open Graph's `language_TERRITORY` form (e.g. `en_NL`), or `nil` (the default)
|
||||||
/// to omit its tag.
|
/// to omit its tag.
|
||||||
/// - image: the card's share image, or `nil` (the default) to omit its tags.
|
/// - image: the card's share image, or `nil` (the default) to omit its tags.
|
||||||
/// - type: the Open Graph type of the object the card describes. Defaults to `website`.
|
/// - type: the Open Graph type of the object the card describes. Defaults to `website`.
|
||||||
|
|||||||
Reference in New Issue
Block a user