1
0

Fixed missing MDL2 character fonts

Fixed blog pages title
This commit is contained in:
Michael Gordeev
2020-11-18 00:50:43 +03:00
parent 9b8c24948e
commit df03284443
5 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
@model BlogListViewModel
@{
ViewData["Title"] = "Fox, Coffee and Science - " + SharedLocalizer["Blog"];
ViewData["Title"] = "Fox, Coffee and Science - " + SharedLocalizer["Blog"].Name;
}
@section OpenGraph
@@ -33,7 +33,7 @@
<form method="get" action="https://xfox111.blogspot.com/search" target="_blank" rel="noopener noreferrer">
<input type="text" name="q" spellcheck="false" placeholder="@Localizer["Search"]" />
<input type="submit" value="&#xE094;" />
<input type="submit" value="&#xE71E;" />
</form>
<article>
@@ -70,7 +70,7 @@
<span>@(Model.PageNumber + 1)</span>
@if (!string.IsNullOrWhiteSpace(Model.Posts.NextPageToken))
{
<a asp-action="Index" asp-route-pageNumber="@(Model.PageNumber + 1)">@Localizer["Next"] &#xE00F;</a>
<a asp-action="Index" asp-route-pageNumber="@(Model.PageNumber + 1)">@Localizer["Next"] &#xE76C;</a>
}
</div>
}
+1 -1
View File
@@ -1,7 +1,7 @@
@model BlogPostViewModel
@using System.Text.RegularExpressions
@{
ViewData["Title"] = Model.Post.Title + " - Fox, Coffee and Science - " + SharedLocalizer["Blog"];
ViewData["Title"] = Model.Post.Title + " - Fox, Coffee and Science - " + SharedLocalizer["Blog"].Name;
string description = new System.Text.RegularExpressions.Regex(@"(?<=\<p\>\s{1,})(.|\s)*?\s*(?=\<\/p\>)").Match(Model.Post.Content).Value
.Replace("\n", "");
description = Regex.Replace(description, "<.*?>", string.Empty);
@@ -23,7 +23,7 @@
<h1>@Localizer["My resume"]</h1>
<p>@Localizer["Last update"]: @Model.Resume.LastUpdate</p>
<a class="comment" asp-action="Download">// @Localizer["Download resume"] (.pdf) &#xE118;</a><br />
<a class="comment" asp-action="Download">// @Localizer["Download resume"] (.pdf) &#xE896;</a><br />
<a class="comment" asp-action="Print">// @Localizer["Print resume"] &#xE749;</a>
</header>
@@ -63,7 +63,7 @@
</menu>
<div>
<a asp-area="" asp-controller="Home" asp-action="SwitchLanguage" lang="@SharedLocalizer["ru"]">@SharedLocalizer["РУС"] &#xE12B;</a>
<a asp-area="" asp-controller="Home" asp-action="SwitchLanguage" lang="@SharedLocalizer["ru"]">@SharedLocalizer["РУС"] &#xE774;</a>
<a id="menu-toggle" onclick="ToggleMenu();">&#xE700;</a>
</div>
</nav>
+1 -1
View File
@@ -68,7 +68,7 @@ body
.post h2::after
{
content: " \E00F";
content: " \E76C";
font-size: initial;
margin: 10px 0px;
}