-
-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
I've figure out that for each project, I am making a small changes in the core.sh
I am changing the htmx_page() so I could have all of the js and css definitions in config.sh
`
function htmx_page() {
[[ ${HTTP_HEADERS["hx-request"]} == "true" ]] || [[ "$INTERNAL_REQUEST" == "true" ]] || cat <<-EOF
<!doctype html>
and also I am adding
`
function page() {
[[ "$INTERNAL_REQUEST" == "true" ]] || cat <<-EOF
<!doctype html>
cat
cat <<-EOF
EOF } `for more htmx independence. IMHO it looks clearer.
What do you think about change the generator and add the htmx as the possibility not something mandatory? :)
Metadata
Metadata
Assignees
Labels
No labels