-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
70 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,34 @@ | ||
<article class="post--item post--item__status" itemtype="http://schema.org/Article" itemscope="itemscope"> | ||
<div class="content"> | ||
<header> | ||
{{ $logo := resources.Get "images/avatar.jpeg" }} | ||
<img src="{{ $logo.RelPermalink }}" class="avatar" width="48" height="48" /> | ||
<a datetime='{{.Date.Format "2006-01-02 15:04:01" }}' class="humane--time" href="{{ .Permalink }}" | ||
itemprop="datePublished">{{ | ||
.Date | | ||
time.Format ":date_long" | ||
}}</a> | ||
</header> | ||
<div class="description" itemprop="about"> | ||
<p>{{ .Summary | plainify | truncate 60 }}</p> | ||
<article class="block--item block--item__status" itemtype="http://schema.org/Article" itemscope="itemscope" | ||
data-id="{{ .File.UniqueID}}"> | ||
<div class="status--icon"> | ||
<svg viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg"> | ||
<path | ||
d="M9.563 8.469l-0.813-1.25c-5.625 3.781-8.75 8.375-8.75 12.156 0 3.656 2.688 5.375 4.969 5.375 2.875 0 4.906-2.438 4.906-5 0-2.156-1.375-4-3.219-4.688-0.531-0.188-1.031-0.344-1.031-1.25 0-1.156 0.844-2.875 3.938-5.344zM21.969 8.469l-0.813-1.25c-5.563 3.781-8.75 8.375-8.75 12.156 0 3.656 2.75 5.375 5.031 5.375 2.906 0 4.969-2.438 4.969-5 0-2.156-1.406-4-3.313-4.688-0.531-0.188-1-0.344-1-1.25 0-1.156 0.875-2.875 3.875-5.344z"> | ||
</path> | ||
</svg> | ||
</div> | ||
<div class="block--addon"> | ||
<div class="meta"> | ||
<div class="block--snippet" itemprop="about"> | ||
{{ .Summary | plainify | truncate 120 }} | ||
</div> | ||
<div class="block--meta"> | ||
<time datetime='{{.Date.Format "2006-01-02 15:04:01" }}' class="humane--time">{{ .Date | ||
| time.Format | ||
":date_long" | ||
}}</time> | ||
<span class="sep"></span> | ||
{{ range (.GetTerms "categories") }} | ||
<a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a> | ||
{{ end }} | ||
<a datetime='{{.Date.Format "2006-01-02 15:04:01" }}' class="status--link" href="{{ .Permalink }}" | ||
itemprop="datePublished"><svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" | ||
viewBox="0 0 12 12" data-settings-arrow="true"> | ||
<path fill="#757575" | ||
d="M.646 10.646a.5.5 0 0 0 .708.708zM11 1h.5a.5.5 0 0 0-.5-.5zm-.5 7a.5.5 0 0 0 1 0zM4 .5a.5.5 0 0 0 0 1zM1.354 11.354l10-10-.708-.708-10 10zM10.5 1v7h1V1zM4 1.5h7v-1H4z"> | ||
</path> | ||
</svg></a> | ||
</div> | ||
</div> | ||
</div> | ||
</article> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters