This is a base page template. All the other template pages implement this interface. {% interface Page { Title() Content() Script() } %} Page prints a page implementing Page interface. {% func PageTemplate(p Page) %}