pret
This commit is contained in:
parent
d860e3d987
commit
c8008a4f20
208 changed files with 8919 additions and 146 deletions
|
@ -3,7 +3,7 @@
|
|||
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.30.1/locale/{{ .Lang }}.min.js" integrity="sha512-RAt2+PIRwJiyjWpzvvhKAG2LEdPpQhTgWfbEkFDCo8wC4rFYh5GQzJBVIFDswwaEDEYX16GEE/4fpeDNr7OIZw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
||||
<div class="articles-list transition-parent">
|
||||
{{ $allposts := (where site.RegularPages "Section" "=" "blog")}}
|
||||
{{ $allposts = $allposts.ByDate }}
|
||||
{{ $allposts = $allposts.ByDate.Reverse }}
|
||||
{{ $context := (page.GetPage "/blog")}}
|
||||
{{ if (eq (len $allposts) 0) }}
|
||||
<div
|
||||
|
@ -36,7 +36,7 @@
|
|||
<span id=from-now data-date="{{ $article.Date.Format "20060102" }}"></span>
|
||||
</div>
|
||||
<p class="article-description">
|
||||
{{ $article.Description }}
|
||||
{{ $article.Description | safeHTML }}
|
||||
</p>
|
||||
</div>
|
||||
</article>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue