Make theme compatible with hugoBasicExamples

Signed-off-by: hossainemruz <emruz@appscode.com>
This commit is contained in:
hossainemruz 2020-06-02 03:59:39 +06:00
parent e7b2fba1b0
commit dbd270eaee
60 changed files with 150 additions and 394 deletions

View file

@ -1,8 +1,8 @@
<div class="container-fluid recent-posts bg-white anchor pb-5">
<div class="container-fluid recent-posts bg-white anchor pb-5" id="recent-posts">
<h1 class="text-center">Recent Posts</h1>
<div class="container">
<div class="row" id="recent-posts">
{{ range first 3 .Site.RegularPages }}
<div class="row" id="recent-post-cards">
{{ range first 3 (where .Site.RegularPages "Type" "!=" "section" )}}
{{ partial "cards/recent-post.html" . }}
{{ end }}
</div>