@model Site.Models.RedeSocialModel

@if (Model.NotIsNull())
{
    if (Model.URLSite.NotIsNullOrWhiteSpace())
    {
        <link rel="canonical" href="@Model.URLSite">
        <meta name="url" content="@Model.URLSite">
        <meta property="og:url" content="@Model.URLSite" />
    }

    if (Model.Titulo.NotIsNullOrWhiteSpace())
    {
        <meta name="title" content="@Html.Raw(Model.Titulo)">
        <meta property="og:title" content="@Html.Raw(Model.Titulo)" />
        <meta property="twitter:title" content="@Html.Raw(Model.Titulo)" />
    }

    if (Model.Descricao.NotIsNullOrWhiteSpace())
    {
        <meta name="description" content="@Html.Raw(Model.Descricao)">
        <meta property="og:description" content="@Html.Raw(Model.Descricao)" />
        <meta property="twitter:card" content="@Html.Raw(Model.Descricao)" />
    }

    if (Model.URLImage.NotIsNullOrWhiteSpace())
    {
        <meta property="og:image" content="@Model.URLImage" />
    }

    if (Model.Keywords.NotIsNullOrWhiteSpace())
    {
        <meta name="keywords" content="@Html.Raw(Model.Keywords)" />
    }
}