diff options
| author | Michele Bini <michele.bini@gmail.com> | 2014-09-21 00:41:40 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2014-09-21 00:41:40 (GMT) |
| commit | 1ef647198127ad55ee7530c89c1917d59ec84498 (patch) | |
| tree | 0dbc681e6bd77a7a87fb4780a52549fc07922e9f /index.html.coffee | |
| parent | 756ee5b117347d73c711ec7af2be63e2c1aaa1c3 (diff) | |
Set charset explicitly
Diffstat (limited to 'index.html.coffee')
| -rw-r--r-- | index.html.coffee | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/index.html.coffee b/index.html.coffee index 772b8cf..dc49f9a 100644 --- a/index.html.coffee +++ b/index.html.coffee @@ -23,6 +23,7 @@ icon = "data:image/x-icon;base64," + (new Buffer(fs.readFileSync(icon))).toStrin htmlcup.html5Page -> @head -> + @meta charset:"utf-8" @link rel:"shortcut icon", href:icon @title title @style type: "text/css", @@ -93,22 +94,6 @@ htmlcup.html5Page -> vertical-align: middle; text-align: center; } - do-> - '''' - .centering { - text-align:center; - } - .centering:before { - content: ''; - display: inline-block; - height: 100%; - vertical-align: middle; - margin-right: -0.25em; - } - .centered { - display:inline-block; - vertical-align:middle; - } @body -> @div class:"centering", -> @div class:"centered", -> |
