Browse Source
Merge pull request #88 from divinerites/patch-2
Correct a problem when using less than 3 blog article
tags/v1.0.0
Evan
4 years ago
No account linked to committer's email address
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
{{"<!-- /section title -->" | safeHTML}} |
|
|
{{"<!-- /section title -->" | safeHTML}} |
|
|
|
|
|
|
|
|
{{ range first 3 .Site.RegularPages }} |
|
|
|
|
|
|
|
|
{{ range first 3 (where .Site.RegularPages "Section" "==" "blog")}} |
|
|
{{ .Render "article"}} |
|
|
{{ .Render "article"}} |
|
|
{{ end }} |
|
|
{{ end }} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</section> |
|
|
</section> |
|
|
{{"<!-- /blog -->" | safeHTML}} |
|
|
{{"<!-- /blog -->" | safeHTML}} |
|
|
{{ end }} |
|
|
|
|
|
|
|
|
{{ end }} |