7 lines
294 B
HTML
7 lines
294 B
HTML
{{- $root := .Site.Params.Api.Root -}}
|
|
{{- $action := .Get "action" | default "data" -}}
|
|
{{- $domain := .Get "domain" | default $.Page.Params.api.domain -}}
|
|
{{- $target := .Get "target" | default "#cs-debug" -}}
|
|
<div hx-get="{{ $root }}/{{ $domain }}/{{ $action }}"
|
|
hx-trigger="load">
|
|
</div>
|