Skip to content

Commit 746e753

Browse files
committed
bump to 4.0.5
1 parent 9537ad1 commit 746e753

7 files changed

Lines changed: 134 additions & 32 deletions

File tree

YAF.SampleApp/Areas/Chat/Pages/Shared/_Layout.cshtml

Lines changed: 44 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@using YAF.Core.Context
22
@using YAF.Core.Extensions
3+
@using YAF.Web.Extensions
34

45
@inject BoardContext Current
56

@@ -8,15 +9,51 @@
89
<head>
910
<meta charset="utf-8" />
1011
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
11-
<title>@ViewData["Title"] - YAF.SampleApp</title>
12+
<title>@Html.Raw(Current.CurrentForumPage.GeneratePageTitle())</title>
1213
<link rel="stylesheet" href="@Html.Raw(Current.Get<ITheme>().BuildThemePath("bootstrap-forum.min.css"))"
1314
type="text/css" asp-append-version="true" />
14-
<link href="~/favicons/apple-touch-icon.png" rel="apple-touch-icon" sizes="180x180" />
15-
<link href="~/favicons/favicon-32x32.png" rel="icon" sizes="32x32" />
16-
<link href="~/favicons/favicon-16x16.png" rel="icon" sizes="16x16" />
17-
<link href="~/favicons/site.webmanifest" rel="manifest" />
18-
<link href="~/favicons/safari-pinned-tab.svg" rel="mask-icon" color="#5bbad5" />
19-
<link href="~/favicons/favicon.ico" rel="shortcut icon" />
15+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2048-2732.webp" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
16+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2732-2048.webp" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)">
17+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1668-2388.webp" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
18+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2388-1668.webp" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)">
19+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1536-2048.webp" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
20+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2048-1536.webp" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)">
21+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1640-2360.webp" media="(device-width: 820px) and (device-height: 1180px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
22+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2360-1640.webp" media="(device-width: 820px) and (device-height: 1180px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)">
23+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1668-2224.webp" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
24+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2224-1668.webp" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)">
25+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1620-2160.webp" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
26+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2160-1620.webp" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)">
27+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1488-2266.webp" media="(device-width: 744px) and (device-height: 1133px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
28+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2266-1488.webp" media="(device-width: 744px) and (device-height: 1133px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)">
29+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1320-2868.webp" media="(device-width: 440px) and (device-height: 956px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
30+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2868-1320.webp" media="(device-width: 440px) and (device-height: 956px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)">
31+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1206-2622.webp" media="(device-width: 402px) and (device-height: 874px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
32+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2622-1206.webp" media="(device-width: 402px) and (device-height: 874px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)">
33+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1260-2736.webp" media="(device-width: 420px) and (device-height: 912px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
34+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2736-1260.webp" media="(device-width: 420px) and (device-height: 912px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)">
35+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1290-2796.webp" media="(device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
36+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2796-1290.webp" media="(device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)">
37+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1179-2556.webp" media="(device-width: 393px) and (device-height: 852px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
38+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2556-1179.webp" media="(device-width: 393px) and (device-height: 852px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)">
39+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1170-2532.webp" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
40+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2532-1170.webp" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)">
41+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1284-2778.webp" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
42+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2778-1284.webp" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)">
43+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1125-2436.webp" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
44+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2436-1125.webp" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)">
45+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1242-2688.webp" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
46+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2688-1242.webp" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)">
47+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-828-1792.webp" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
48+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1792-828.webp" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)">
49+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1242-2208.webp" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
50+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2208-1242.webp" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)">
51+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-750-1334.webp" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
52+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1334-750.webp" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)">
53+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-640-1136.webp" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
54+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1136-640.webp" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)">
55+
56+
<link href="~/assets/favicon.ico" rel="shortcut icon" />
2057
<script src="~/js/themeSelector.min.js"></script>
2158
</head>
2259
<body>

YAF.SampleApp/Areas/Forums/Pages/Shared/_Layout.cshtml

Lines changed: 42 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,48 @@
3131
href="~/css/@Html.Raw($"{ViewBag.ForumCss}.css?v={ViewBag.CdvVersion}")" />
3232
@await RenderSectionAsync("StyleSheets", required: false)
3333
<script src="~/js/themeSelector.min.js"></script>
34-
<link href="~/favicons/apple-touch-icon.png" rel="apple-touch-icon" sizes="180x180" />
35-
<link href="~/favicons/favicon-32x32.png" rel="icon" sizes="32x32" />
36-
<link href="~/favicons/favicon-16x16.png" rel="icon" sizes="16x16" />
37-
<link href="~/favicons/site.webmanifest" rel="manifest" />
38-
<link href="~/favicons/safari-pinned-tab.svg" rel="mask-icon" color="#5bbad5" />
39-
<link href="~/favicons/favicon.ico" rel="shortcut icon" />
40-
<meta name="msapplication-TileColor" content="#da532c" />
41-
<meta name="msapplication-config" content="/favicons/browserconfig.xml" />
34+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2048-2732.webp" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
35+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2732-2048.webp" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)">
36+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1668-2388.webp" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
37+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2388-1668.webp" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)">
38+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1536-2048.webp" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
39+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2048-1536.webp" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)">
40+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1640-2360.webp" media="(device-width: 820px) and (device-height: 1180px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
41+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2360-1640.webp" media="(device-width: 820px) and (device-height: 1180px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)">
42+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1668-2224.webp" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
43+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2224-1668.webp" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)">
44+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1620-2160.webp" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
45+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2160-1620.webp" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)">
46+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1488-2266.webp" media="(device-width: 744px) and (device-height: 1133px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
47+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2266-1488.webp" media="(device-width: 744px) and (device-height: 1133px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)">
48+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1320-2868.webp" media="(device-width: 440px) and (device-height: 956px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
49+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2868-1320.webp" media="(device-width: 440px) and (device-height: 956px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)">
50+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1206-2622.webp" media="(device-width: 402px) and (device-height: 874px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
51+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2622-1206.webp" media="(device-width: 402px) and (device-height: 874px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)">
52+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1260-2736.webp" media="(device-width: 420px) and (device-height: 912px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
53+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2736-1260.webp" media="(device-width: 420px) and (device-height: 912px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)">
54+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1290-2796.webp" media="(device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
55+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2796-1290.webp" media="(device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)">
56+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1179-2556.webp" media="(device-width: 393px) and (device-height: 852px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
57+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2556-1179.webp" media="(device-width: 393px) and (device-height: 852px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)">
58+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1170-2532.webp" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
59+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2532-1170.webp" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)">
60+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1284-2778.webp" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
61+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2778-1284.webp" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)">
62+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1125-2436.webp" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
63+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2436-1125.webp" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)">
64+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1242-2688.webp" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
65+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2688-1242.webp" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)">
66+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-828-1792.webp" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
67+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1792-828.webp" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)">
68+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1242-2208.webp" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
69+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-2208-1242.webp" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)">
70+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-750-1334.webp" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
71+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1334-750.webp" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)">
72+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-640-1136.webp" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
73+
<link rel="apple-touch-startup-image" href="~/assets/apple-splash-1136-640.webp" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)">
74+
75+
<link href="~/assets/favicon.ico" rel="shortcut icon" />
4276
@Html.RssFeedLink(RssFeeds.LatestPosts)
4377
@Html.CanonicalMetaTag()
4478
</head>
@@ -259,6 +293,5 @@
259293
@Html.Raw(JsAndCssHelper.CompressJavaScript(JavaScriptBlocks.HoverCardJs()))
260294
}
261295
</script>
262-
<scripts></scripts>
263296
</body>
264297
</html>

0 commit comments

Comments
 (0)