| ... | @@ -6,22 +6,6 @@ | ... | @@ -6,22 +6,6 @@ |
| 6 | //! Loosely inspired by Pug | 6 | //! Loosely inspired by Pug |
| 7 | //! https://pugjs.org/api/getting-started.html | 7 | //! https://pugjs.org/api/getting-started.html |
| 8 | | 8 | |
| 9 | // // document.corgi | | |
| 10 | // doctype html | | |
| 11 | // html[lang="en"]( | | |
| 12 | // head( | | |
| 13 | // title("Corgi Example") | | |
| 14 | // meta[charset="UTF-8"] | | |
| 15 | // meta[name="viewport",content="width=device-width,initial-scale=1"] | | |
| 16 | // ) | | |
| 17 | // body( | | |
| 18 | // h1("Corgi Example") | | |
| 19 | // hr | | |
| 20 | // p("This is an example HTML document written in "a[href="https://github.com/corgi-lang/corgi"]("Corgi")".") | | |
| 21 | // p("Follow Nektro on Twitter @Nektro") | | |
| 22 | // ) | | |
| 23 | // ) | | |
| 24 | | | |
| 25 | const std = @import("std"); | 9 | const std = @import("std"); |
| 26 | const range = @import("range").range; | 10 | const range = @import("range").range; |
| 27 | const htmlentities = @import("htmlentities"); | 11 | const htmlentities = @import("htmlentities"); |