From 54ae6026ebac473a19d2775a22fd0246ae4eb07d Mon Sep 17 00:00:00 2001 From: Helmut Merz Date: Tue, 23 Jul 2024 19:21:39 +0200 Subject: [PATCH] sites/hx: new structure with pages, auth, app sections; work in progress: demo cs-hx app --- layouts/shortcodes/hx/xplore.html | 4 ++-- sites/hx/config.yaml | 2 +- sites/hx/content/_index.md | 8 ++++---- sites/hx/content/app/xplore.md | 17 +++++++++++++++++ sites/hx/content/{app => auth}/login.md | 5 +++++ 5 files changed, 29 insertions(+), 7 deletions(-) create mode 100644 sites/hx/content/app/xplore.md rename sites/hx/content/{app => auth}/login.md (86%) diff --git a/layouts/shortcodes/hx/xplore.html b/layouts/shortcodes/hx/xplore.html index 4f22b0d..c91c087 100644 --- a/layouts/shortcodes/hx/xplore.html +++ b/layouts/shortcodes/hx/xplore.html @@ -1,9 +1,9 @@ - -
+
diff --git a/sites/hx/config.yaml b/sites/hx/config.yaml index e6e10c0..938a742 100644 --- a/sites/hx/config.yaml +++ b/sites/hx/config.yaml @@ -11,7 +11,7 @@ pygmentsUseClasses: true params: - homeSection: app + homeSection: pages #defaultImage: 9609-motor2.jpg logo: cc-logo.png diff --git a/sites/hx/content/_index.md b/sites/hx/content/_index.md index 1676014..c3912f5 100644 --- a/sites/hx/content/_index.md +++ b/sites/hx/content/_index.md @@ -4,12 +4,12 @@ img: pageid: index domains: [] topics: [] -date: 2023-11-16 +date: 2024-07-04 author: helmutm draft: false -weight: 110 +weight: 100 --- -cyberscopes example site - use HTMX in Hugo-generated sites. +cyberscopes example / exploration site - use HTMX in Hugo-generated sites. -{{< hx/xplore >}} +{{< ilink pid="explore" />}} diff --git a/sites/hx/content/app/xplore.md b/sites/hx/content/app/xplore.md new file mode 100644 index 0000000..a54f97f --- /dev/null +++ b/sites/hx/content/app/xplore.md @@ -0,0 +1,17 @@ +--- +title: Explore HTMX +summary: Demonstrate and explore HTMX features on Hugo-generated pages. +img: +pageid: explore +domains: [] +topics: [] +date: 2024-07-23 +author: helmutm +draft: false +weight: 110 +--- + +cyberscopes explorations... + +{{< hx/xplore >}} + diff --git a/sites/hx/content/app/login.md b/sites/hx/content/auth/login.md similarity index 86% rename from sites/hx/content/app/login.md rename to sites/hx/content/auth/login.md index 2009e43..b99f96e 100644 --- a/sites/hx/content/app/login.md +++ b/sites/hx/content/auth/login.md @@ -9,8 +9,13 @@ date: 2024-07-22 author: helmutm draft: false weight: 900 +noSideBar: true api: domain: auth +menu: + main: + weight: 900 + identifier: login --- Please enter login data: