From 865d1668cd9fec11a00403d8d0e1fb24f77660fa Mon Sep 17 00:00:00 2001 From: Xavi Date: Sat, 18 Feb 2023 23:38:15 -0800 Subject: [PATCH] Added tags and Categories --- .../content/web_development/bottom_of_the_stack.md | 2 ++ xavishobbies/content/web_development/online.md | 2 ++ .../themes/xavis/layouts/_default/list.html | 13 ++++++++++--- .../themes/xavis/layouts/_default/single.html | 1 - 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/xavishobbies/content/web_development/bottom_of_the_stack.md b/xavishobbies/content/web_development/bottom_of_the_stack.md index 86fbe59..7209114 100644 --- a/xavishobbies/content/web_development/bottom_of_the_stack.md +++ b/xavishobbies/content/web_development/bottom_of_the_stack.md @@ -2,6 +2,8 @@ title: "Bottom_of_the_Stack" date: 2023-02-18T11:39:24-08:00 description: Web Development - html/css +categories: ["Top_of_the_Stack"] +tags: ["Web Development","HTML/CSS"] --- I\'ll start things off with the *design goals* of this very website and diff --git a/xavishobbies/content/web_development/online.md b/xavishobbies/content/web_development/online.md index 37177aa..c3bce88 100644 --- a/xavishobbies/content/web_development/online.md +++ b/xavishobbies/content/web_development/online.md @@ -1,6 +1,8 @@ +--- title: "Online!" date: 2023-02-18T12:58:09-08:00 description: Web Development - Administration +categories: ["Top_of_the_Stack"] tags: ["Web Development","Administration"] --- diff --git a/xavishobbies/themes/xavis/layouts/_default/list.html b/xavishobbies/themes/xavis/layouts/_default/list.html index 6b355da..1c494f1 100644 --- a/xavishobbies/themes/xavis/layouts/_default/list.html +++ b/xavishobbies/themes/xavis/layouts/_default/list.html @@ -2,8 +2,16 @@

{{ .Title }}

{{ .Content }} - - {{ range.Pages }} + + {{ range where .Site.Pages "Params.categories" "intersect" (slice "Guides") }} + + {{ .Content }} + + {{ end }} + + +

Tots Posts

+ {{ range where .Site.Pages "Params.categories" "intersect" (slice "Top_of_the_Stack") }}

{{ .Title }}

@@ -14,4 +22,3 @@
{{ end }} {{ end }} - diff --git a/xavishobbies/themes/xavis/layouts/_default/single.html b/xavishobbies/themes/xavis/layouts/_default/single.html index 5b95c5f..c638d85 100644 --- a/xavishobbies/themes/xavis/layouts/_default/single.html +++ b/xavishobbies/themes/xavis/layouts/_default/single.html @@ -7,6 +7,5 @@

{{ .Content }}

-

hi

{{ end }}