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/homePageArticle.html')
-rw-r--r--layouts/partials/index/homePageArticle.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layouts/partials/index/homePageArticle.html b/layouts/partials/index/homePageArticle.html
new file mode 100644
index 0000000..65d4e84
--- /dev/null
+++ b/layouts/partials/index/homePageArticle.html
@@ -0,0 +1,17 @@
+<div class="pinned-post card shadow round-corner">
+ <div class="card-links"></div>
+ <h1 style="margin: 0"><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
+ <p class="document-date">
+ {{ dateFormat .Site.Params.theme.dateFormat .Date }} &middot; {{ .Params.author }}
+ </p>
+ <hr />
+ {{ .Content }}
+ {{ if .Site.Params.theme.pinnedPosts }}
+ <hr />
+ <a
+ href="{{ `pinnedposts` | relURL }}"
+ style="display: block; text-align: right"
+ >Previously Pinned Posts</a
+ >
+ {{ end }}
+ </div> \ No newline at end of file