Fixed missing MDL2 character fonts
Fixed blog pages title
This commit is contained in:
@@ -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="" />
|
||||
<input type="submit" value="" />
|
||||
</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"] </a>
|
||||
<a asp-action="Index" asp-route-pageNumber="@(Model.PageNumber + 1)">@Localizer["Next"] </a>
|
||||
}
|
||||
</div>
|
||||
}
|
||||
|
||||
@@ -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) </a><br />
|
||||
<a class="comment" asp-action="Download">// @Localizer["Download resume"] (.pdf) </a><br />
|
||||
<a class="comment" asp-action="Print">// @Localizer["Print resume"] </a>
|
||||
</header>
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
</menu>
|
||||
|
||||
<div>
|
||||
<a asp-area="" asp-controller="Home" asp-action="SwitchLanguage" lang="@SharedLocalizer["ru"]">@SharedLocalizer["РУС"] </a>
|
||||
<a asp-area="" asp-controller="Home" asp-action="SwitchLanguage" lang="@SharedLocalizer["ru"]">@SharedLocalizer["РУС"] </a>
|
||||
<a id="menu-toggle" onclick="ToggleMenu();"></a>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
@@ -68,7 +68,7 @@ body
|
||||
|
||||
.post h2::after
|
||||
{
|
||||
content: " \E00F";
|
||||
content: " \E76C";
|
||||
font-size: initial;
|
||||
margin: 10px 0px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user