From 1a69f0fb20a36403d8baa446423e73430ac86e23 Mon Sep 17 00:00:00 2001 From: Kerby Martino Date: Tue, 29 Apr 2025 08:13:25 +0800 Subject: [PATCH] Refactor account settings to use Markdown and Liquid templates Converted `account.html` to `account.md` with Liquid includes for enhanced modularity and maintainability. This improves content separation from layout and facilitates easier updates and customization. --- _includes/account_settings.liquid | 114 ++++++++++++++++++ account.html | 189 ------------------------------ pages/account.md | 20 ++++ 3 files changed, 134 insertions(+), 189 deletions(-) create mode 100644 _includes/account_settings.liquid delete mode 100644 account.html create mode 100644 pages/account.md diff --git a/_includes/account_settings.liquid b/_includes/account_settings.liquid new file mode 100644 index 0000000..2e49188 --- /dev/null +++ b/_includes/account_settings.liquid @@ -0,0 +1,114 @@ +
+
+ + + + + + +
+ + + + + + +
+
+

+ Please provide a valid email address. This ensures we can assist you with password recovery if needed. Rest assured, your email address remains confidential between you and us, invisible to web crawlers and other users. +

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
user: + {{ page.username }} +
created:{{ page.created }}
merit:{{ page.merit }}
about: +
+ + + help + +
+
+ Only admins see your email below. To share publicly, add to the 'about' box. +
email:
showdead:
noprocrast:
maxvisit:
minaway:
delay:
change password
submissions
comments
+ favorite submissions / + comments  + (publicly visible) +
+
+ +
+
+
+
\ No newline at end of file diff --git a/account.html b/account.html deleted file mode 100644 index d237b0b..0000000 --- a/account.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - - - Account Settings - Behind the Desk - - - - - -
-
-
-
- - - - - - -
- - - - - - -
-
-

- Please provide a valid email address. This ensures we can assist you with password recovery if needed. Rest assured, your email address remains confidential between you and us, invisible to web crawlers and other users. -

-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
user: - kerbymart -
created:59 minutes ago
merit:1
about: - -
- Only admins see your email below. To share publicly, add to the 'about' box. -
email:
showdead:
noprocrast:
maxvisit:
minaway:
delay:
change password
submissions
comments
- favorite submissions / - comments  - (publicly visible) -
-
- -
-
-
-
-
-
- - - - - diff --git a/pages/account.md b/pages/account.md new file mode 100644 index 0000000..85d907f --- /dev/null +++ b/pages/account.md @@ -0,0 +1,20 @@ +--- +layout: simple +title: Account Settings +permalink: /account/ +username: kerbymart +created: 59 minutes ago +merit: 1 +about: +email: +showdead: no +noprocrast: no +maxvisit: 20 +minaway: 180 +delay: 0 +change_password_uri: /changepw +submissions_uri: /submitted?id=kerbymart +comments_uri: /threads?id=kerbymart +favorites_uri: /favorites?id=kerbymart +--- +{% include account_settings.liquid %}