Browse Source

html updates

master
jimi 14 years ago
parent
commit
3b21ed1c70
  1. 26
      ftplugin/html/html.xpt.vim

26
ftplugin/html/html.xpt.vim

@ -9,19 +9,25 @@ XPTvar $css_dir 'stylesheets'
XPTvar $jq_ver '1.4.2' XPTvar $jq_ver '1.4.2'
XPTvar $empty '' XPTvar $empty ''
XPT copy_comment hidden
XPT cpy_comment hidden
<!-- © Copyright `strftime("%Y") $author^. All Rights Reserved. --> <!-- © Copyright `strftime("%Y") $author^. All Rights Reserved. -->
XPT copyright "
XPT cpy "
&copy;`strftime("%Y") $author^ &mdash; All Rights Reserved &copy;`strftime("%Y") $author^ &mdash; All Rights Reserved
XPT meta XPT meta
<meta name="`$_xSnipName^" content="`meta_content^" /> <meta name="`$_xSnipName^" content="`meta_content^" />
XPT description alias=meta " <meta name="description"...
XSET meta_content=Echo('')
XPT author alias=meta " <meta name="author"... XPT author alias=meta " <meta name="author"...
XSET meta_content=$author XSET meta_content=$author
XPT description alias=meta " <meta name="description"...
XPT copyright alias=meta " <meta name="copyright"...
XSET meta_content=Copyright `strftime("%Y")^ `$author^, All Rights Reserved
XPT google-site-verification alias=meta
XSET meta_content=Echo('') XSET meta_content=Echo('')
XPT keywords alias=meta " <meta name="keywords"... XPT keywords alias=meta " <meta name="keywords"...
@ -40,22 +46,22 @@ XPT charset " <meta charset...
XPT skel synonym=html|xhtml " xhtml skeleton XPT skel synonym=html|xhtml " xhtml skeleton
XSET more=Echo('') XSET more=Echo('')
`:doctype5:^ `:doctype5:^
<html>
<html lang="en">
<head> <head>
`:title:^
`:charset:^`more^
`:charset:^
`:title:^`more^
</head> </head>
<body> <body>
`cursor^ `cursor^
</body> </body>
</html> </html>
`:copy_comment:^
`:cpy_comment:^
XPT link " <link rel='stylesheet'... XPT link " <link rel='stylesheet'...
XSET dir=$css_dir/ XSET dir=$css_dir/
XSET src=base.css XSET src=base.css
XSET media=screen XSET media=screen
<link rel="stylesheet" type="text/css" href="`dir^`src^"` media="`media`"^ />
<link rel="stylesheet" href="`dir^`src^"` media="`media`"^ />
XPT alternate " <link rel='alternate'... XPT alternate " <link rel='alternate'...
XSET type=application/rss+xml XSET type=application/rss+xml
@ -76,12 +82,12 @@ XSET media=print
XPT jquery synonym=jq " <script... src="jquery... XPT jquery synonym=jq " <script... src="jquery...
XSET ver=$jq_ver XSET ver=$jq_ver
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/`ver^/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/`ver^/jquery.min.js"></script>
XPT script " <script... src="... XPT script " <script... src="...
XSET dir=$js_dir/ XSET dir=$js_dir/
XSET src=$empty XSET src=$empty
<script type="text/javascript" src="`dir^`src^.js"></script>
<script src="`dir^`src^.js"></script>
XPT jplug synonym=jfile|jp|jf alias=script XPT jplug synonym=jfile|jp|jf alias=script