starting stuff
This commit is contained in:
parent
8a66ea7971
commit
ed3c7d4278
7 changed files with 121 additions and 10 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue