Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/urjaacharya/redgood.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrja Acharya <urja.acharya@huskers.unl.edu>2021-03-04 05:02:32 +0300
committerUrja Acharya <urja.acharya@huskers.unl.edu>2021-03-04 05:02:32 +0300
commit23b19f817da907f9c4b3d286b72d8ebd32468194 (patch)
tree4fdbae9ec919bedfbc03019bfa77aa6322725ce6 /layouts/partials/index/recentPost.html
parent7993d0b887b93b161e81744f938607d16bdb709d (diff)
Reorganization and style changes
Diffstat (limited to 'layouts/partials/index/recentPost.html')
-rw-r--r--layouts/partials/index/recentPost.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/layouts/partials/index/recentPost.html b/layouts/partials/index/recentPost.html
new file mode 100644
index 0000000..7578c0f
--- /dev/null
+++ b/layouts/partials/index/recentPost.html
@@ -0,0 +1,9 @@
+<h3>Recent Posts</h3>
+<div class="recent-posts home-page-card">
+ {{ range ((where .Site.Pages "Kind" "page").ByDate.Reverse) | first 6 }}
+ {{ partial "listPage" . }}
+ {{ end }}
+ <div class="home-page-card-links">
+ <a href="{{ `archive` | relURL }}">All Posts</a>
+ </div>
+</div>