90609c7aaf
Dev — Build & local smoke test / build-smoke (pull_request) Failing after 1m57s
elc's heredoc tokenizer was corrupting the inline CSS: - #FAFAF8 -> FAFAF8 (# treated as comment character) - 'Playfair Display' -> PlayfairDisplay (quotes + space stripped) - padding: 0 2.5rem -> padding:02.5rem (spaces between tokens stripped) The CSS and other complex head content (GA script, JSON-LD schema) have been pre-compiled to C functions (page_css, page_ga_script, page_schema) so they bypass the tokenizer entirely and are stored as properly-escaped C string literals. page_head() now assembles the <head> content using el-html vessel calls (el_meta_charset, el_meta, el_title, el_link_stylesheet, etc.) plus string literals for the vessel gaps. page_open() returns the complete document prologue as a string concatenation with no heredocs. page_close() remains pre-compiled in dist/page_close.c (unchanged).
20 lines
495 B
EmacsLisp
20 lines
495 B
EmacsLisp
package "neuron-landing" {
|
|
version "1.0.0"
|
|
description "Neuron marketing landing page server"
|
|
authors ["Will Anderson <will.anderson@neurontechnologies.ai>"]
|
|
edition "2026"
|
|
}
|
|
|
|
build {
|
|
target "release"
|
|
entry "src/main.el"
|
|
output "dist/"
|
|
c_source "dist/web_stubs.c"
|
|
c_source "dist/vessel_stubs.c"
|
|
c_source "dist/elhtml_impl.c"
|
|
c_source "dist/page_close.c"
|
|
c_source "dist/page_css.c"
|
|
c_source "dist/page_ga.c"
|
|
c_source "dist/page_schema.c"
|
|
}
|