From 6b15be5d28f77bc4164e657c346cd14814bfad00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Ferrero?= Date: Fri, 10 Nov 2023 16:48:23 +0100 Subject: [PATCH] feat: Ongoing likes and reposts --- _layouts/like.html | 22 ++++++++++++++++++++++ _layouts/repost.html | 21 +++++++++++++++++++++ _posts/2023-11-10-testing-like.md | 4 ++++ _posts/2023-11-10-testing-repost.md | 4 ++++ 4 files changed, 51 insertions(+) create mode 100644 _layouts/like.html create mode 100644 _layouts/repost.html create mode 100644 _posts/2023-11-10-testing-like.md create mode 100644 _posts/2023-11-10-testing-repost.md diff --git a/_layouts/like.html b/_layouts/like.html new file mode 100644 index 0000000..5fa6857 --- /dev/null +++ b/_layouts/like.html @@ -0,0 +1,22 @@ +--- +layout: default +--- + + +
+

{{site.author}} · {{ page.date | date: "%B %e, %Y" }}

+ + +
+
+
+        Liked this post:
+
+                  {{ page.liked }}
+      
+ +
+
+
diff --git a/_layouts/repost.html b/_layouts/repost.html new file mode 100644 index 0000000..6da4369 --- /dev/null +++ b/_layouts/repost.html @@ -0,0 +1,21 @@ +--- +layout: default +--- + + +
+

{{site.author}} · {{ page.date | date: "%B %e, %Y" }}

+ + +
+
+
+        Reposted:
+
+                  {{ page.reposted }}
+      
+
+
+
diff --git a/_posts/2023-11-10-testing-like.md b/_posts/2023-11-10-testing-like.md new file mode 100644 index 0000000..f073fa5 --- /dev/null +++ b/_posts/2023-11-10-testing-like.md @@ -0,0 +1,4 @@ +--- +layout: like +liked: https://www.aferrero.boo/why-did-i-do-this/ +--- diff --git a/_posts/2023-11-10-testing-repost.md b/_posts/2023-11-10-testing-repost.md new file mode 100644 index 0000000..3177239 --- /dev/null +++ b/_posts/2023-11-10-testing-repost.md @@ -0,0 +1,4 @@ +--- +layout: repost +reposted: https://www.aferrero.boo/why-did-i-do-this/ +---