added readmore option & edited readme
This commit is contained in:
@@ -11,9 +11,10 @@
|
||||
</a>
|
||||
</h2>
|
||||
<div>
|
||||
<p>
|
||||
{{ .Summary }}
|
||||
</p>
|
||||
<p>{{ .Summary }}</p>
|
||||
{{ if (and (.Site.Params.showReadMore) (.Truncated)) }}
|
||||
<p><a href="{{ .RelPermalink }}">Read more...</a></p>
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="post-footer">
|
||||
<time>{{ .Date.Format "January 2, 2006" }}</time>
|
||||
|
@@ -14,7 +14,12 @@
|
||||
{{ .Title }}
|
||||
</a>
|
||||
</h2>
|
||||
<div><p>{{ .Summary }}</p></div>
|
||||
<div>
|
||||
<p>{{ .Summary }}</p>
|
||||
{{ if (and (.Site.Params.showReadMore) (.Truncated)) }}
|
||||
<p><a href="{{ .RelPermalink }}">Read more...</a></p>
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="post-footer">
|
||||
<time>{{ .Date.Format "January 2, 2006" }}</time>
|
||||
|
||||
|
Reference in New Issue
Block a user