From 8a89f92b6f105777d3937a08db9d46e7a01f37b0 Mon Sep 17 00:00:00 2001
From: Pablo <7073164+pablods90@users.noreply.github.com>
Date: Tue, 7 May 2024 22:02:23 +0100
Subject: [PATCH 1/5] Update README.md
---
README.md | 30 +++++++++++++++++++++++++++++-
1 file changed, 29 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index a1dd38b..faf53ea 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,32 @@
-# Hello Friend NG
+# Hello Friend XT
+
+## WIP
+*The [original theme](https://github.com/panr/hugo-theme-hello-friend) has been archived. I am working on tweaking and updating this theme. If I manage to get it working, I will revamp the readme so everyone can re-use it.*
+- [How to properly import themes as go modules](https://scripter.co/hugo-modules-importing-a-theme/)
+- Single branches can be created for different websites, in case you need to re-use this theme with small changes
+- I need to bring things from the main project readme, such as:
+### Install theme as Hugo Module
+
+```bash
+# If this is the first time you're using Hugo Modules
+# in your project. You have to initiate your own module before
+# you fetch the theme module.
+# '[your-website-git-url]' is just a placeholder for your module name.
+#
+hugo mod init [your-website-git-url]
+hugo mod get github.com/pablods90/hugo-theme-hello-friend-xt
+```
+
+and in your config file add:
+
+```toml
+[module]
+ # this is needed when you fetch the theme as a submodule to your repo.
+ # replacements = "github.com/pablods90/hugo-theme-hello-friend -> themes/hello-friend"
+[[module.imports]]
+ path = 'github.com/pablods90/hugo-theme-hello-friend'
+```
+***

From 897e18f40f041d533c8b89d47cf89119735ece4d Mon Sep 17 00:00:00 2001
From: Pablo <7073164+pablods90@users.noreply.github.com>
Date: Tue, 7 May 2024 23:50:34 +0100
Subject: [PATCH 2/5] Adding X icon.
---
docs/svgs.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/docs/svgs.md b/docs/svgs.md
index 514f8f6..e60238b 100644
--- a/docs/svgs.md
+++ b/docs/svgs.md
@@ -82,6 +82,7 @@
- [twitter](https://simpleicons.org/?q=twitter)
- [unsplash](https://simpleicons.org/?q=unsplash)
- [whatsapp](https://simpleicons.org/?q=whatsapp)
+- [X](https://simpleicons.org/?q=X)
- [xampp](https://simpleicons.org/?q=xampp)
- [xda](https://simpleicons.org/?q=xda)
- [xing](https://simpleicons.org/?q=xing)
From 8563e5f85d805c6acbc4683238383dd5c594ae63 Mon Sep 17 00:00:00 2001
From: Pablo <7073164+pablods90@users.noreply.github.com>
Date: Tue, 7 May 2024 23:57:10 +0100
Subject: [PATCH 3/5] Adding X icon.
---
layouts/partials/svg.html | 2 ++
1 file changed, 2 insertions(+)
diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html
index f1a3c04..203183b 100644
--- a/layouts/partials/svg.html
+++ b/layouts/partials/svg.html
@@ -170,6 +170,8 @@
{{- else if (eq .name "whatsapp") }}
+{{- else if (eq .name "X") }}
+
{{- else if (eq .name "xampp") -}}
{{- else if (eq .name "xda") -}}
From 12e1bd592ab747745d208bf1fd0a7efd63a63af4 Mon Sep 17 00:00:00 2001
From: Pablo <7073164+pablods90@users.noreply.github.com>
Date: Wed, 8 May 2024 00:05:32 +0100
Subject: [PATCH 4/5] Adjusting X icon.
---
layouts/partials/svg.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html
index 203183b..1ee0ca4 100644
--- a/layouts/partials/svg.html
+++ b/layouts/partials/svg.html
@@ -171,7 +171,7 @@
{{- else if (eq .name "whatsapp") }}
{{- else if (eq .name "X") }}
-
+
{{- else if (eq .name "xampp") -}}
{{- else if (eq .name "xda") -}}
From 1495192f2ad58d43c56c77f0ce12e8e1cfb122f2 Mon Sep 17 00:00:00 2001
From: Pablo <7073164+pablods90@users.noreply.github.com>
Date: Wed, 8 May 2024 23:14:36 +0100
Subject: [PATCH 5/5] Fixing missing theme toggle (wrong positioning in toml
file).
---
README.md | 30 +-----------------------------
exampleSite/config.toml | 5 +++--
2 files changed, 4 insertions(+), 31 deletions(-)
diff --git a/README.md b/README.md
index faf53ea..a1dd38b 100644
--- a/README.md
+++ b/README.md
@@ -1,32 +1,4 @@
-# Hello Friend XT
-
-## WIP
-*The [original theme](https://github.com/panr/hugo-theme-hello-friend) has been archived. I am working on tweaking and updating this theme. If I manage to get it working, I will revamp the readme so everyone can re-use it.*
-- [How to properly import themes as go modules](https://scripter.co/hugo-modules-importing-a-theme/)
-- Single branches can be created for different websites, in case you need to re-use this theme with small changes
-- I need to bring things from the main project readme, such as:
-### Install theme as Hugo Module
-
-```bash
-# If this is the first time you're using Hugo Modules
-# in your project. You have to initiate your own module before
-# you fetch the theme module.
-# '[your-website-git-url]' is just a placeholder for your module name.
-#
-hugo mod init [your-website-git-url]
-hugo mod get github.com/pablods90/hugo-theme-hello-friend-xt
-```
-
-and in your config file add:
-
-```toml
-[module]
- # this is needed when you fetch the theme as a submodule to your repo.
- # replacements = "github.com/pablods90/hugo-theme-hello-friend -> themes/hello-friend"
-[[module.imports]]
- path = 'github.com/pablods90/hugo-theme-hello-friend'
-```
-***
+# Hello Friend NG

diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 28e2d82..5ba17c1 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -45,8 +45,6 @@ disableHugoGeneratorInject = false
series = "series"
[params]
- [params.author]
- name = "Jane Doe"
dateform = "Jan 2, 2006"
dateformShort = "Jan 2"
@@ -110,6 +108,9 @@ disableHugoGeneratorInject = false
# plausibleDataDomain = 'test.com'
# plausibleScriptSource = 'https://plausible.io/js/script.js'
+ [params.author]
+ name = "Jane Doe"
+
# Custom footer
# If you want, you can easily override the default footer with your own content.
#