Fixed missing MDL2 character fonts
Fixed blog pages title
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
@model BlogListViewModel
|
@model BlogListViewModel
|
||||||
@{
|
@{
|
||||||
ViewData["Title"] = "Fox, Coffee and Science - " + SharedLocalizer["Blog"];
|
ViewData["Title"] = "Fox, Coffee and Science - " + SharedLocalizer["Blog"].Name;
|
||||||
}
|
}
|
||||||
|
|
||||||
@section OpenGraph
|
@section OpenGraph
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
<form method="get" action="https://xfox111.blogspot.com/search" target="_blank" rel="noopener noreferrer">
|
<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="text" name="q" spellcheck="false" placeholder="@Localizer["Search"]" />
|
||||||
<input type="submit" value="" />
|
<input type="submit" value="" />
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<article>
|
<article>
|
||||||
@@ -70,7 +70,7 @@
|
|||||||
<span>@(Model.PageNumber + 1)</span>
|
<span>@(Model.PageNumber + 1)</span>
|
||||||
@if (!string.IsNullOrWhiteSpace(Model.Posts.NextPageToken))
|
@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>
|
</div>
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
@model BlogPostViewModel
|
@model BlogPostViewModel
|
||||||
@using System.Text.RegularExpressions
|
@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
|
string description = new System.Text.RegularExpressions.Regex(@"(?<=\<p\>\s{1,})(.|\s)*?\s*(?=\<\/p\>)").Match(Model.Post.Content).Value
|
||||||
.Replace("\n", "");
|
.Replace("\n", "");
|
||||||
description = Regex.Replace(description, "<.*?>", string.Empty);
|
description = Regex.Replace(description, "<.*?>", string.Empty);
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
<h1>@Localizer["My resume"]</h1>
|
<h1>@Localizer["My resume"]</h1>
|
||||||
<p>@Localizer["Last update"]: @Model.Resume.LastUpdate</p>
|
<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>
|
<a class="comment" asp-action="Print">// @Localizer["Print resume"] </a>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|||||||
@@ -63,7 +63,7 @@
|
|||||||
</menu>
|
</menu>
|
||||||
|
|
||||||
<div>
|
<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>
|
<a id="menu-toggle" onclick="ToggleMenu();"></a>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ body
|
|||||||
|
|
||||||
.post h2::after
|
.post h2::after
|
||||||
{
|
{
|
||||||
content: " \E00F";
|
content: " \E76C";
|
||||||
font-size: initial;
|
font-size: initial;
|
||||||
margin: 10px 0px;
|
margin: 10px 0px;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user