| base.html - staticgit - A git static site generator in GO with HTML output! | |
| git clone git://jay.scot/staticgit | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| base.html (888B) | |
| --- | |
| 1 <!DOCTYPE html> | |
| 2 <html lang="en"> | |
| 3 <head> | |
| 4 <meta charset="UTF-8"> | |
| 5 <meta name="viewport" content="width=device-width, initial-scale=1.0… | |
| 6 <title>{{.Title}}</title> | |
| 7 <style> | |
| 8 body { | |
| 9 font-family: monospace; | |
| 10 line-height: 1.6; | |
| 11 margin: 0; | |
| 12 padding: 20px; | |
| 13 max-width: 1200px; | |
| 14 margin: 0 auto; | |
| 15 background-color: #f4f4f4; | |
| 16 } | |
| 17 h1, h2 { margin: 0.5em 0; } | |
| 18 table { | |
| 19 border-collapse: collapse; | |
| 20 width: 100%; | |
| 21 } | |
| 22 td, th { | |
| 23 border-bottom: 1px solid #ccc; | |
| 24 padding: 3px; | |
| 25 text-align: left; | |
| 26 } | |
| 27 @media (max-width: 600px) { | |
| 28 body { padding: 10px; } | |
| 29 table { font-size: 14px; } | |
| 30 } | |
| 31 </style> | |
| 32 </head> | |
| 33 <body> | |
| 34 <h1>{{.Title}}</h1> | |
| 35 {{block "content" .}}{{end}} | |
| 36 </body> | |
| 37 </html> |