diff --git a/content/about/_index.md b/content/about/_index.md index 265000e..d743686 100644 --- a/content/about/_index.md +++ b/content/about/_index.md @@ -2,4 +2,5 @@ title: "About" description: "Contact info, portfolio, etc" draft: false +hide: true --- diff --git a/layouts/partials/postlist.html b/layouts/partials/postlist.html index 4a0b7e8..714ea05 100644 --- a/layouts/partials/postlist.html +++ b/layouts/partials/postlist.html @@ -1,11 +1,13 @@ {{ range .Pages }} -
-
-

{{ .Title | markdownify }}

-
+ {{ if not (isset .Params "hide") }} +
+
+

{{ .Title | markdownify }}

+
-
- {{ .Description }} -
-
+
+ {{ .Description }} +
+
+ {{ end }} {{ end }} diff --git a/layouts/partials/sectionlist.html b/layouts/partials/sectionlist.html index d5858ce..090e6d5 100644 --- a/layouts/partials/sectionlist.html +++ b/layouts/partials/sectionlist.html @@ -1,11 +1,13 @@ {{ range .Sections }} -
-
-

{{ .Title | markdownify }}

-
+ {{ if not (isset .Params "hide") }} +
+
+

{{ .Title | markdownify }}

+
-
- {{ .Description }} -
-
+
+ {{ .Description }} +
+
+ {{ end }} {{ end }}