Compare commits
No commits in common. "e431d65659148919ae8c60d1c1873abd039c40be" and "e7cada3764d9700e9d29134bc07571cc29d1572f" have entirely different histories.
e431d65659
...
e7cada3764
@ -96,6 +96,7 @@ nav {
|
||||
}
|
||||
|
||||
.post-subscript {
|
||||
color: #8f8f8f;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@ -214,12 +215,7 @@ ul.post-list {
|
||||
display: block;
|
||||
}
|
||||
|
||||
p.post-status {
|
||||
margin-bottom: 0.2rem;
|
||||
margin-top: 0.2rem;
|
||||
}
|
||||
|
||||
p.post-wordcount, p.post-status {
|
||||
p.post-wordcount {
|
||||
text-align: center;
|
||||
margin-bottom: 0.6rem;
|
||||
}
|
||||
@ -322,26 +318,3 @@ figure {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.series-status {
|
||||
display: inline-block;
|
||||
padding: 0.5rem;
|
||||
|
||||
@include bordered-block;
|
||||
border-color: rgba(black, 0.3);
|
||||
|
||||
&.suspended {
|
||||
background-color: lighten(yellow, 40%);
|
||||
color: darken(yellow, 40%);
|
||||
}
|
||||
|
||||
&.complete {
|
||||
background-color: lighten(green, 60%);
|
||||
color: darken(green, 10%);
|
||||
}
|
||||
|
||||
&.ongoing {
|
||||
background-color: lighten(lightblue, 10%);
|
||||
color: darken(lightblue, 60%);
|
||||
}
|
||||
}
|
||||
|
18
i18n/en.toml
18
i18n/en.toml
@ -56,21 +56,3 @@
|
||||
|
||||
[searchRequiresJS]
|
||||
other = "Search (requires JavaScript)"
|
||||
|
||||
[series]
|
||||
other = "Series"
|
||||
|
||||
[postsFromTo]
|
||||
other = "First post in {{ .from }}, last post in {{ .to }}"
|
||||
|
||||
[seriesStatus]
|
||||
other = "Series status:"
|
||||
|
||||
[suspendedSeries]
|
||||
other = "Suspended"
|
||||
|
||||
[completeSeries]
|
||||
other = "Complete"
|
||||
|
||||
[ongoingSeries]
|
||||
other = "Ongoing"
|
||||
|
@ -8,7 +8,6 @@
|
||||
<a href="https://github.com/DanilaFe">GitHub</a>
|
||||
<a href="{{ .Site.BaseURL }}/Resume-Danila-Fedorin.pdf">{{ i18n "resume" }}</a>
|
||||
<a href="{{ .Site.BaseURL }}/tags">{{ i18n "tags" }}</a>
|
||||
<a href="{{ .Site.BaseURL }}/series">{{ i18n "series" }}</a>
|
||||
<a href="{{ .Site.BaseURL }}/favorites">{{ i18n "favorites" }}</a>
|
||||
<a href="{{ .Site.BaseURL }}/search">{{ i18n "search" }}</a>
|
||||
<a href="{{ relref . "blog" }}">{{ i18n "allPosts" }}</a>
|
||||
|
@ -1,12 +1,5 @@
|
||||
<li>
|
||||
<a href="{{ .Permalink }}" class="post-title">{{ if .Params.favorite }}{{ partial "icon.html" "star" }}{{ end }} {{ .Title }}</a>
|
||||
{{ if (not (eq .WordCount 0)) }}
|
||||
<p class="post-wordcount">{{ i18n "nWords" .WordCount }}, {{ i18n "nMinutesToRead" .ReadingTime }}.</p>
|
||||
{{ end }}
|
||||
{{ if .Params.status }}
|
||||
<p class="post-status">
|
||||
{{ partial "seriesstatus.html" .Params.status }}
|
||||
</p>
|
||||
{{ end }}
|
||||
<p class="post-preview">{{ .Summary }} {{ if .Truncated }}. . .{{ end }}</p>
|
||||
</li>
|
||||
|
@ -1 +0,0 @@
|
||||
<span class="series-status {{ . }}">{{ i18n "seriesStatus" }} {{ i18n (printf "%sSeries" .) }}</span>
|
@ -1,17 +0,0 @@
|
||||
{{ define "main" }}
|
||||
<h2>{{ .Title }}</h2>
|
||||
{{ $pages := .Pages.ByDate }}
|
||||
{{ $startYear := (index (last 1 .Pages) 0).Date.Format "2006" }}
|
||||
{{ $endYear := (index (first 1 .Pages) 0).Date.Format "2006" }}
|
||||
<div class="post-subscript">
|
||||
<p>{{ partial "seriesstatus.html" .Params.status }}</p>
|
||||
<p>{{ i18n "postsFromTo" (dict "from" $startYear "to" $endYear) }}</p>
|
||||
</div>
|
||||
<p>{{ .Summary }}</p>
|
||||
|
||||
<ul class="post-list">
|
||||
{{ range $pages }}
|
||||
{{ partial "post.html" . }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
@ -1,10 +0,0 @@
|
||||
{{ define "main" }}
|
||||
<h2>{{ .Title }}</h2>
|
||||
{{ .Content }}
|
||||
|
||||
<ul class="post-list">
|
||||
{{ range sort .Pages "Title" }}
|
||||
{{ partial "post.html" . }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
Loading…
Reference in New Issue
Block a user