starting stuff

This commit is contained in:
conzer 2024-12-07 13:44:53 -05:00
parent 8a66ea7971
commit ed3c7d4278
7 changed files with 121 additions and 10 deletions

View file

@ -61,6 +61,7 @@ func Compile(elements []parser.Element, variables map[string]string, outputFile
func writeElements(elements []parser.Element, file *os.File, variables map[string]string) error {
for _, element := range elements {
if element.Name == "head" {
_, err := file.WriteString(fmt.Sprintf("<head>\n"))
if err != nil {