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:
Diffstat (limited to 'layouts/partials/index/pinnedPost.html')
-rw-r--r--layouts/partials/index/pinnedPost.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/layouts/partials/index/pinnedPost.html b/layouts/partials/index/pinnedPost.html
index b5d8ce3..dfeef70 100644
--- a/layouts/partials/index/pinnedPost.html
+++ b/layouts/partials/index/pinnedPost.html
@@ -1,9 +1,17 @@
+<div class="pinned-post card shadow round-corner">
{{ if .Site.Params.theme.pinnedPosts }}
{{ range ((where .Site.Pages "Params.pinned" true).ByDate.Reverse) | first 1 }}
{{ partial "index/homePageArticle" . }}
{{ end }}
+ <hr class="red-hr"/>
+ <div style="text-align: right; margin-bottom: 1em;">
+ <a class="card-links"
+ href="{{ `pinnedposts` | relURL }}"
+ >Previously Pinned Posts</a
+ ></div>
{{ else }}
{{ range site.RegularPages | first 1 }}
{{ partial "index/homePageArticle" . }}
{{ end }}
{{ end }}
+</div> \ No newline at end of file