From af54cdb9228ccab6dcc1767e05b88a5bf5809783 Mon Sep 17 00:00:00 2001 From: testuser Date: Sun, 15 Jun 2025 18:11:33 +0530 Subject: modified many files --- layouts/partials/about.html | 13 +++++++++++++ layouts/partials/head.html | 9 +++++++++ layouts/partials/instructions.html | 22 ++++++++++++++++++++++ layouts/partials/link-card.html | 17 +++++++++++++++++ layouts/partials/messaging-etiquette.html | 14 ++++++++++++++ layouts/partials/profile.html | 22 ++++++++++++++++++++++ layouts/partials/spotify-playlist.html | 11 +++++++++++ 7 files changed, 108 insertions(+) create mode 100644 layouts/partials/about.html create mode 100644 layouts/partials/head.html create mode 100644 layouts/partials/instructions.html create mode 100644 layouts/partials/link-card.html create mode 100644 layouts/partials/messaging-etiquette.html create mode 100644 layouts/partials/profile.html create mode 100644 layouts/partials/spotify-playlist.html (limited to 'layouts/partials') diff --git a/layouts/partials/about.html b/layouts/partials/about.html new file mode 100644 index 0000000..8d739f1 --- /dev/null +++ b/layouts/partials/about.html @@ -0,0 +1,13 @@ +{{ with .Params.about }} +
+

{{ .title }}

+
+ {{ range .sections }} +
+

{{ .heading }}

+

{{ .content }}

+
+ {{ end }} +
+
+{{ end }} \ No newline at end of file diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..f100897 --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,9 @@ + + + + {{ .Site.Title }} + + + + + diff --git a/layouts/partials/instructions.html b/layouts/partials/instructions.html new file mode 100644 index 0000000..6c13acc --- /dev/null +++ b/layouts/partials/instructions.html @@ -0,0 +1,22 @@ +
+

How to Customize This Page

+
+
+

Adding New Links

+

Copy one of the link cards and update the href, icon, title, and description.

+
+
+

Changing Icons

+

Replace the Font Awesome class (e.g., 'fa-twitter') with any icon from Font Awesome.

+
+
+

Updating Profile

+

Edit the profile section at the top with your name, bio, and profile image URL.

+
+
+

Theme Colors

+

Modify the Tailwind color classes (e.g., 'bg-blue-400') to match your brand.

+
+
+
diff --git a/layouts/partials/link-card.html b/layouts/partials/link-card.html new file mode 100644 index 0000000..8440fa8 --- /dev/null +++ b/layouts/partials/link-card.html @@ -0,0 +1,17 @@ +
+ + {{ range .Params.links }} + + +
+ +
+
+

{{ .title }}

+

{{ .description }}

+
+
+ + {{ end }} + +
\ No newline at end of file diff --git a/layouts/partials/messaging-etiquette.html b/layouts/partials/messaging-etiquette.html new file mode 100644 index 0000000..7e7be95 --- /dev/null +++ b/layouts/partials/messaging-etiquette.html @@ -0,0 +1,14 @@ +
+

{{ .Params.messaging.title }}

+
+ {{ range .Params.messaging.items }} +
+
+ +
+

{{ .text }}

+
+ {{ end }} +
+
diff --git a/layouts/partials/profile.html b/layouts/partials/profile.html new file mode 100644 index 0000000..d018103 --- /dev/null +++ b/layouts/partials/profile.html @@ -0,0 +1,22 @@ +{{/* layouts/partials/profile.html */}} +
+ {{ with .Params.profileImage }} + {{/* strip leading “/” if present, otherwise leave as-is */}} + {{ $img := replaceRE "^/" "" . }} + {{ $.Params.name }} + {{ end }} +

+ {{ .Params.name }} +

+

{{ .Params.description }}

+ + +
\ No newline at end of file diff --git a/layouts/partials/spotify-playlist.html b/layouts/partials/spotify-playlist.html new file mode 100644 index 0000000..fea9c52 --- /dev/null +++ b/layouts/partials/spotify-playlist.html @@ -0,0 +1,11 @@ +{{/* layouts/partials/spotify-playlist.html */}} +{{ with .Params.spotifyPlaylist.iframe }} +
+
+ +

My Spotify Playlist

+
+ {{ . | safeHTML }} +
+{{ end }} \ No newline at end of file -- cgit v1.2.3