Skip to content

Instantly share code, notes, and snippets.

@noscripter
Forked from kejun/gist:5045209
Last active January 1, 2016 19:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save noscripter/8193878 to your computer and use it in GitHub Desktop.
Save noscripter/8193878 to your computer and use it in GitHub Desktop.
let g:user_zen_settings = {
\ 'lang': 'zh-CN',
\ 'html': {
\ 'snippets': {
\ 'html:mobile': "<!DOCTYPE html>\n"
\ ."<html lang=\"${lang}\">\n"
\ ."<head>\n"
\ ."\t<meta charset=\"${charset}\">\n"
\ ."\t<meta name=\"viewport\" content=\"width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no\">\n"
\ ."\t<meta name=\"format-detection\" content=\"telephone=no\"/>\n"
\ ."\t<title></title>\n"
\ ."\t<link rel=\"apple-touch-icon-precomposed\" href=\"\">\n"
\ ."</head>\n"
\ ."<body>\n\t${child}|\n</body>\n"
\ ."</html>",
\ 'script:kissy':"<script src=\"http://g.tbcdn.cn/kissy/k/1.4.1/seed-min.js?20131206\"><\/script>"
\ }
\ }
\}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment