SEO is simplified in Blazor .Net Core 8. Simply put whatever HTML you may want to use in HeadContent Tag. Dynamic parameters can be added as shown below.
@page "/"@title Hello, world!
Welcome to your new app. @code { private string description = "Description set by component"; private string title = "Title set by component"; private string keywords = "keyword1, keyword2, keyword3"; private string author = "author1"; }
----
Output
-------
No comments:
Post a Comment