sites/hx: new structure with pages, auth, app sections; work in progress: demo cs-hx app
This commit is contained in:
parent
3cd7ec3706
commit
54ae6026eb
5 changed files with 29 additions and 7 deletions
|
@ -1,9 +1,9 @@
|
|||
<button hx-get="app/demo/"
|
||||
<button hx-get="/app/demo/"
|
||||
hx-select="[itemprop=articleBody] p">
|
||||
Hello World!
|
||||
</button>
|
||||
|
||||
<form hx-post="hx/test/data" hx-target="#output">
|
||||
<form hx-post="/hx/test/data" hx-target="#output">
|
||||
<input name="info">
|
||||
<button>Post to API</button>
|
||||
</form>
|
||||
|
|
|
@ -11,7 +11,7 @@ pygmentsUseClasses: true
|
|||
|
||||
params:
|
||||
|
||||
homeSection: app
|
||||
homeSection: pages
|
||||
|
||||
#defaultImage: 9609-motor2.jpg
|
||||
logo: cc-logo.png
|
||||
|
|
|
@ -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" />}}
|
||||
|
|
17
sites/hx/content/app/xplore.md
Normal file
17
sites/hx/content/app/xplore.md
Normal file
|
@ -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 >}}
|
||||
|
|
@ -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:
|
Loading…
Add table
Reference in a new issue