ADefWebserver / Blazor-Blogs

Simple blogging application written in Microsoft Server Side Blazor
MIT License
189 stars 45 forks source link

How would this Blazor Blog Handle SEO meta tags? #48

Closed herorelative closed 4 years ago

herorelative commented 4 years ago

I was digging through and cannot find any solution.

I mean specifically on client-side Blazor not server-side.

ADefWebserver commented 4 years ago

This project is of course Sever Side Blazor and will not work as Client Side Blazor.

In this page: https://github.com/ADefWebserver/Blazor-Blogs/blob/main/BlazorBlogsLibrary/Pages/ViewBlogPost.razor

We are using Toolbelt.Blazor.HeadElement.MetaElement to set the meta tags for the page.

herorelative commented 4 years ago

Thank you @ADefWebserver

It helps me a lot.