From 0fe7cfa463ee2abb74fa7dcc59ea99089f88b21f Mon Sep 17 00:00:00 2001 From: michivonah Date: Sat, 5 Apr 2025 17:51:53 +0200 Subject: [PATCH] change projects section philosophy + fix bug with load more btn --- content/de/projects.md | 6 ++++++ content/en/projects.md | 6 ++++++ layouts/partials/projects.html | 10 ++++++++-- static/main.js | 18 +++++++++++++++--- static/style.css | 14 ++++++++++++-- 5 files changed, 47 insertions(+), 7 deletions(-) create mode 100644 content/de/projects.md create mode 100644 content/en/projects.md diff --git a/content/de/projects.md b/content/de/projects.md new file mode 100644 index 0000000..0dd777d --- /dev/null +++ b/content/de/projects.md @@ -0,0 +1,6 @@ +--- +title: "Projekte" +slug: "projects" +--- + +Hier siehst du einige meiner Projekte (Blogposts, GitHub Repos, Tools & YouTube Videos). \ No newline at end of file diff --git a/content/en/projects.md b/content/en/projects.md new file mode 100644 index 0000000..b99edea --- /dev/null +++ b/content/en/projects.md @@ -0,0 +1,6 @@ +--- +title: "Projects" +slug: "projects" +--- + +Here you can find some of my projects (blog posts, GitHub repos, tools & YouTube videos). \ No newline at end of file diff --git a/layouts/partials/projects.html b/layouts/partials/projects.html index 29e08c1..035f767 100644 --- a/layouts/partials/projects.html +++ b/layouts/partials/projects.html @@ -1,6 +1,12 @@
-

{{ T "projects" }}

-
+ {{ with .Site.GetPage "projects" }} +
+

{{ .Title }}

+

{{ .Content }}

+
+ {{ end }} + +