Use feather for starts.

This commit is contained in:
Danila Fedorin 2020-12-30 16:42:19 -08:00
parent 17e0fbc6fb
commit 2f9e6278ba
4 changed files with 15 additions and 1 deletions

View File

@ -249,3 +249,13 @@ figure {
background-color: #ffee99; background-color: #ffee99;
border-color: #f5c827; border-color: #f5c827;
} }
.feather {
width: 1rem;
height: 1rem;
stroke: currentColor;
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
fill: currentColor;
}

View File

@ -0,0 +1,3 @@
<svg class="feather">
<use xlink:href="/feather-sprite.svg#{{ . }}"/>
</svg>

After

Width:  |  Height:  |  Size: 81 B

View File

@ -1,5 +1,5 @@
<li> <li>
<a href="{{ .Permalink }}" class="post-title">{{ if .Params.favorite }}🟊{{ end }} {{ .Title }}</a> <a href="{{ .Permalink }}" class="post-title">{{ if .Params.favorite }}{{ partial "icon.html" "star" }}{{ end }} {{ .Title }}</a>
<p class="post-wordcount">{{ .WordCount }} words, about {{ .ReadingTime }} minutes to read.</p> <p class="post-wordcount">{{ .WordCount }} words, about {{ .ReadingTime }} minutes to read.</p>
<p class="post-preview">{{ .Summary }} . . .</p> <p class="post-preview">{{ .Summary }} . . .</p>
</li> </li>

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 53 KiB