diff --git a/layouts/shortcodes/hx/load.html b/layouts/shortcodes/hx/load.html new file mode 100644 index 0000000..c7d95b3 --- /dev/null +++ b/layouts/shortcodes/hx/load.html @@ -0,0 +1,7 @@ +{{- $root := .Site.Params.Api.Root -}} +{{- $action := .Get "action" | default "data" -}} +{{- $domain := .Get "domain" | default $.Page.Params.api.domain -}} +{{- $target := .Get "target" | default "#cs-debug" -}} +
+
diff --git a/sites/hx/config.yaml b/sites/hx/config.yaml index 938a742..62a00c3 100644 --- a/sites/hx/config.yaml +++ b/sites/hx/config.yaml @@ -2,12 +2,13 @@ baseurl: /docs/scopes/hx/ DefaultContentLanguage: en title: cyberscopes example site summary: explore htmx in a Hugo-generated site. -paginate: 6 theme: - cyberscopes - cybercards -themesDir: themes +themesDir: ../../.. pygmentsUseClasses: true +pagination: + pagerSize: 6 params: @@ -17,8 +18,8 @@ params: logo: cc-logo.png favicon: icon-star-bl.png - github: https://github.com/cyberconcepts - sourcehut: https://git.sr.ht/~cco + git: + - https://git.cy7.eu/cco email: helmutm@cy55.de copyright: diff --git a/sites/hx/content/auth/login.md b/sites/hx/content/auth/login.md index cfffc82..fa3eae8 100644 --- a/sites/hx/content/auth/login.md +++ b/sites/hx/content/auth/login.md @@ -28,3 +28,4 @@ Please enter login data: {{< /hx/data-form >}} +{{< hx/load domain="auth" action="show/form/login" >}}