github.com/golazy/golazy@v0.0.7-0.20221012133820-968fe65a0b65/lazyview/document/lazylayout/README.md (about)

     1  # lazylayout
     2  
     3  ## Variables
     4  
     5  ```golang
     6  var Layout = &document.Document{
     7      Lang:     "en",
     8      Title:    "golazy",
     9      Viewport: "width=device-width",
    10      Styles:   []string{style},
    11      Head:     []interface{}{Script(Type("module"), Src("https://cdn.skypack.dev/@hotwired/turbo"))},
    12  }
    13  ```
    14  
    15  ## Functions
    16  
    17  ### func [PageHeader](/layout.go#L22)
    18  
    19  `func PageHeader() io.WriterTo`
    20  
    21  ### func [PageNav](/layout.go#L26)
    22  
    23  `func PageNav() io.WriterTo`
    24  
    25  ---
    26  Readme created from Go doc with [goreadme](https://github.com/posener/goreadme)