Skip to content

Commit

Permalink
Merge pull request #36 from agriffard/main
Browse files Browse the repository at this point in the history
  • Loading branch information
mjebrahimi authored Oct 30, 2023
2 parents a94bb63 + 0a3cd0a commit 731a310
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/jsonld2.html
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ <h3>Usage Code</h3>
Html.SetSeoInfo(seoInfo =>
{
seoInfo.JsonLd.AddOrganization(organization);
seoInfo.JsonLd.AddWebiste(website);
seoInfo.JsonLd.AddWebsite(website);
seoInfo.JsonLd.AddBreadcrumb(breadcrumb);
seoInfo.JsonLd.AddImage(image);
seoInfo.JsonLd.AddPerson(author);
Expand Down
2 changes: 1 addition & 1 deletion src/SeoTags.Sample/Views/Home/JsonLd2.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
Html.SetSeoInfo(seoInfo =>
{
seoInfo.JsonLd.AddOrganization(organization)
.AddWebiste(website)
.AddWebsite(website)
.AddBreadcrumb(breadcrumb)
.AddImage(image)
.AddPerson(author)
Expand Down
4 changes: 2 additions & 2 deletions src/SeoTags/JsonLd/JsonLd.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ public JsonLd AddOrganization(OrganizationInfo organizationInfo)
}

/// <summary>
/// Adds the webiste.
/// Adds the website.
/// </summary>
/// <param name="webSiteInfo">The web site information.</param>
public JsonLd AddWebiste(WebSiteInfo webSiteInfo)
public JsonLd AddWebsite(WebSiteInfo webSiteInfo)
{
Add(webSiteInfo);
return this;
Expand Down

0 comments on commit 731a310

Please sign in to comment.