SeoToolkit
  • Welcome!
  • Features
  • Installation
    • General
    • Meta Fields
    • Robots txt
    • Script Manager
    • Sitemap
    • Redirects
  • How to use
    • Meta Fields
    • Robots txt
    • Script Manager
    • Sitemap
    • Redirects
  • NotFound
  • 🔬Extensions
    • General
    • Services
      • Sitemap
    • Notifications
  • ⚙️Settings
    • Disabling
    • Appsettings
Powered by GitBook
On this page
  1. Installation

Meta Fields

Installation

1 You first want to download the NuGet package to your project. You can use dotnet add package SeoToolkit.Umbraco.MetaFields to download the NuGet package. Make sure to build your project after that!

2 In your _ViewImports.cshtml, you want to add the following line:

@addTagHelper *, SeoToolkit.Umbraco.MetaFields.Core

3 Wherever you want to render your fields, add the following tag <meta-fields></meta-fields>. This will most likely be inside the master template.

<html>
<head>
    <meta-fields></meta-fields>
</head>
</html>
PreviousGeneralNextRobots txt

Last updated 2 years ago