Go experiments
This commit is contained in:
7
layout/layout.pixy
Normal file
7
layout/layout.pixy
Normal file
@ -0,0 +1,7 @@
|
||||
component Layout(content string, css string)
|
||||
html
|
||||
head
|
||||
title Test
|
||||
style!= css
|
||||
body
|
||||
main#content
|
@ -1,6 +0,0 @@
|
||||
doctype html
|
||||
html
|
||||
head
|
||||
title Test
|
||||
body
|
||||
{{ yield }}
|
@ -1 +0,0 @@
|
||||
{{ yield }}
|
Reference in New Issue
Block a user