You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by kw...@apache.org on 2017/10/12 12:19:29 UTC

[sling-site] branch master updated: use simpler notation for charset

This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 7696200  use simpler notation for charset
7696200 is described below

commit 769620081d6524f54d355413506fcb08fee00923
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Thu Oct 12 14:19:25 2017 +0200

    use simpler notation for charset
    
    (https://stackoverflow.com/questions/4696499/meta-charset-utf-8-vs-meta-http-equiv-content-type)
---
 src/main/jbake/templates/header.tpl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/jbake/templates/header.tpl b/src/main/jbake/templates/header.tpl
index 4695e8a..27c8a2e 100644
--- a/src/main/jbake/templates/header.tpl
+++ b/src/main/jbake/templates/header.tpl
@@ -1,5 +1,5 @@
 head {
-	meta("http-equiv":"Content-Type", content:"text/html;charset=UTF-8") newLine()
+	meta("charset":"UTF-8") newLine()
 	title("${config.blog_title} :: ${content.title}") newLine()
 
 	// For now, try to reproduce the layout of the current website, to be able to compare pages

-- 
To stop receiving notification emails like this one, please contact
['"commits@sling.apache.org" <co...@sling.apache.org>'].