fixed meta trailing slashes issue (partly)
This commit is contained in:
parent
415c1605b7
commit
96d589df54
|
@ -7,12 +7,12 @@
|
|||
<html lang="@CultureInfo.CurrentUICulture.ToString()" data-theme="@(UserTheme ?? Customizations.Value.DefaultTheme)">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<base href="/" />
|
||||
<link rel="stylesheet" href="app.css" />
|
||||
<link rel="stylesheet" href="/css/main.min.css" />
|
||||
<link rel="stylesheet" href="Wave.styles.css" />
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<base href="/">
|
||||
<link rel="stylesheet" href="app.css">
|
||||
<link rel="stylesheet" href="/css/main.min.css">
|
||||
<link rel="stylesheet" href="Wave.styles.css">
|
||||
|
||||
<!-- #region favicon + manifest -->
|
||||
<link rel="apple-touch-icon" sizes="57x57" href="/apple-icon-57x57.png">
|
||||
|
|
|
@ -19,17 +19,17 @@
|
|||
<meta name="description" content="@string.Format(Localizer["Meta_Description"], Customizations.Value.AppName, Article.Body[..Math.Min(80, Article.Body.Length)] + "... ")">
|
||||
|
||||
<!-- Open Graph -->
|
||||
<meta property="og:title" content="@Article.Title" />
|
||||
<meta property="og:description" content="@string.Format(Localizer["Meta_Description"], Customizations.Value.AppName, Article.Body[..Math.Min(80, Article.Body.Length)] + "... ")" />
|
||||
<meta property="og:url" content="@Navigation.ToAbsoluteUri("/article/" + Article.Id)" />
|
||||
<meta property="og:image" content="@Navigation.ToAbsoluteUri("/api/user/pfp/" + Article.Author.Id)" />
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:article:author" content="@Article.Author.Name" />
|
||||
<meta property="og:article:published_time" content="@Article.PublishDate.ToString("u")" />
|
||||
<meta property="og:title" content="@Article.Title">
|
||||
<meta property="og:description" content="@string.Format(Localizer["Meta_Description"], Customizations.Value.AppName, Article.Body[..Math.Min(80, Article.Body.Length)] + "... ")">
|
||||
<meta property="og:url" content="@Navigation.ToAbsoluteUri("/article/" + Article.Id)">
|
||||
<meta property="og:image" content="@Navigation.ToAbsoluteUri("/api/user/pfp/" + Article.Author.Id)">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:article:author" content="@Article.Author.Name">
|
||||
<meta property="og:article:published_time" content="@Article.PublishDate.ToString("u")">
|
||||
@if (Article.LastModified.HasValue) {
|
||||
<meta property="og:article:modified_time" content="@Article.LastModified.Value.ToString("u")" />
|
||||
<meta property="og:article:modified_time" content="@Article.LastModified.Value.ToString("u")">
|
||||
}
|
||||
<meta property="og:site_name" content="@Customizations.Value.AppName" />
|
||||
<meta property="og:site_name" content="@Customizations.Value.AppName">
|
||||
</HeadContent>
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue