Add favorite posts. Close #19
This commit is contained in:
parent
518f134ac2
commit
82727c8e8a
13 changed files with 55 additions and 88 deletions
|
@ -2,12 +2,12 @@
|
|||
|
||||
<article class="post">
|
||||
<header>
|
||||
<h1>{{ .Title }}</h1>
|
||||
<h1 class="post-title{{ if .Params.favorite }} favorite{{end}}">{{ trim .Title " " }}</h1>
|
||||
</header>
|
||||
<div class="content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
{{ partial "articleInfoFull.html" . }}
|
||||
{{ partial "postInfoFull.html" . }}
|
||||
</article>
|
||||
{{ if .Site.DisqusShortname }}
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue