reverty blog

This commit is contained in:
Alicia 2019-02-24 16:53:49 +00:00
parent b892588404
commit 7abbb83760
1 changed files with 0 additions and 19 deletions

View File

@ -36,25 +36,6 @@ KyutGrill=homepage2.jpg
{{ .T "Welcome back to Yozora. We currently have <b>%s online users and %s total registered users.</b> Nice day to farm PP, isn't it?" (rediget "ripple:online_users") (rediget "ripple:registered_users") | html }}
</p>
</div>
{ with (.Get "blog/posts?l=5") }}
<div class="ui raised segment">
<h1 class="ui center aligned header">
{{ $.T "Latest news from our <a href='https://medium.com/@yozora'>blog</a>" | html }}
</h1>
</div>
<div class="ui segments">
{{ range $i, $v := .posts }}
<div class="ui segment">
<h1 class="ui header no top margin">
<a href="https://medium.com/@yozora/{{ $v.unique_slug }}" class="inherit">{{ html $v.title }}</a>
<div class="sub header"><a href="https://medium.com/@yozora">Yozora</a>, {{ time $v.created_at }}</div>
</h1>
<p>
{{ $v.snippet }}
</p>
</div>
{{ end }}
</div>
{{ end }}
</div>
{{ end }}