From d2d3e88c0a24ddd10c9e7bd6f1f6b39fcd8ab6fb Mon Sep 17 00:00:00 2001
From: Urja Acharya
Date: Tue, 9 Mar 2021 18:33:25 -0800
Subject: Updates
---
archetypes/default.md | 6 +++-
layouts/partials/footer.html | 5 ++++
layouts/partials/index/homePageArticle.html | 14 ++-------
layouts/partials/index/pinnedPost.html | 8 ++++++
layouts/partials/index/recentPost.html | 16 +++++------
layouts/partials/prevNext.html | 3 +-
layouts/partials/share.html | 10 ++++++-
static/css/main.css | 44 +++++++++++++----------------
8 files changed, 56 insertions(+), 50 deletions(-)
diff --git a/archetypes/default.md b/archetypes/default.md
index 68ba2a3..5339b64 100644
--- a/archetypes/default.md
+++ b/archetypes/default.md
@@ -1,6 +1,10 @@
---
title: "{{ replace .Name "-" " " | title }}"
+author: {{ .Site.Params.author }}
date: {{ .Date }}
+description: ""
+tags: [""]
+categories: [""]
draft: true
pinned: false
----
+---
\ No newline at end of file
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index f204ede..7406a3d 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -22,4 +22,9 @@
{{- print "urja acharya" -}}
+
-
+
{{ dateFormat .Site.Params.theme.dateFormat .Date }} · {{ .Params.author }}
-
+
{{ .Content }}
- {{ if .Site.Params.theme.pinnedPosts }}
-
-
Previously Pinned Posts
- {{ end }}
-
\ No newline at end of file
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 @@
+
{{ if .Site.Params.theme.pinnedPosts }}
{{ range ((where .Site.Pages "Params.pinned" true).ByDate.Reverse) | first 1 }}
{{ partial "index/homePageArticle" . }}
{{ end }}
+
+
{{ else }}
{{ range site.RegularPages | first 1 }}
{{ partial "index/homePageArticle" . }}
{{ end }}
{{ end }}
+
\ No newline at end of file
diff --git a/layouts/partials/index/recentPost.html b/layouts/partials/index/recentPost.html
index 5ad744c..7517e0a 100644
--- a/layouts/partials/index/recentPost.html
+++ b/layouts/partials/index/recentPost.html
@@ -1,9 +1,7 @@
-
-