From 179b3ab06a1027198f88709ba3ab75b0cffd6522 Mon Sep 17 00:00:00 2001 From: Kerby Martino Date: Tue, 29 Apr 2025 08:20:09 +0800 Subject: [PATCH] Refactor change-password page to use Liquid template Migrated the HTML structure to a reusable Liquid template for consistency and maintainability. Updated the page to use the new template and adjusted the permalink for the change-password functionality. --- _includes/change_password.liquid | 37 +++++++++++++++ change-password.html | 80 -------------------------------- pages/change-password.md | 6 +++ 3 files changed, 43 insertions(+), 80 deletions(-) create mode 100644 _includes/change_password.liquid delete mode 100644 change-password.html create mode 100644 pages/change-password.md diff --git a/_includes/change_password.liquid b/_includes/change_password.liquid new file mode 100644 index 0000000..d6aa162 --- /dev/null +++ b/_includes/change_password.liquid @@ -0,0 +1,37 @@ +
+
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + +
New Password:
Confirm New Password:
+ Passwords do not match +
+
+

Please check your email to verify the password change.

+
+
+
+
\ No newline at end of file diff --git a/change-password.html b/change-password.html deleted file mode 100644 index 3fa2519..0000000 --- a/change-password.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - Change Password - Behind the Desk - - - - - -
-
-
-
- - - - - - -
- - - - - - - - - - - - - - - - - - - -
New Password:
Confirm New Password:
- Passwords do not match -
-
-

Please check your email to verify the password change.

-
-
-
-
-
-
- - - - - diff --git a/pages/change-password.md b/pages/change-password.md new file mode 100644 index 0000000..e71c620 --- /dev/null +++ b/pages/change-password.md @@ -0,0 +1,6 @@ +--- +layout: simple +title: Change Password +permalink: /changepw/ +--- +{% include change_password.liquid %} \ No newline at end of file