" Personal additions
"
XPTemplate priority=personal
let s:f = g:XPTfuncs()
XPTvar $js_dir 'javascripts'
XPTvar $css_dir 'stylesheets'
XPTvar $jq_ver '1.4.2'
XPTvar $empty ''
XPT copy_comment hidden
XPT copyright "
©`strftime("%Y") $author^ — All Rights Reserved
XPT meta
XPT author alias=meta "
XPT doctype5 synonym=doc5 "
XPT charset "
XPT skel synonym=html|xhtml " xhtml skeleton
XSET more=Echo('')
`:doctype5:^
`:title:^
`:charset:^`more^
`cursor^
`:copy_comment:^
XPT link "
XPT alternate "
XPT icon "
XPT reset synonym=fonts|base|grids|layout|screen
XSET name=$_xSnipName.css
`:link( { 'src' : 'name' } ):^
XPT print alias=link
XSET src=print.css
XSET media=print
XPT jquery synonym=jq "
XPT script "
XPT jplug synonym=jfile|jp|jf alias=script
XPT jscript synonym=js
XPT tagAttr wrap=content hidden " <$_xSnipName att?>..$_xSnipName>
XSET content|ontype=html_cont_ontype()
XSET att?=Echo('')
XSET att?|post=Echo(V()=~'\V\^ \$\|att?' ? '' : V())
<`$_xSnipName^` `att?^>`content^^`content^html_cont_helper()^`$_xSnipName^>
XPT di wrap=cursor " \n\n
\n
XPT h1 abbr alias=_tag
XPT h2 abbr alias=_tag
XPT h3 abbr alias=_tag
XPT h4 abbr alias=_tag
XPT h5 abbr alias=_tag
XPT h6 abbr alias=_tag
XPT span alias=tagAttr
XPT div alias=tagAttr
XPT p alias=tagAttr
XPT tr alias=tagAttr
XPT td alias=tagAttr
XPT ul alias=tagAttr
XPT ol alias=tagAttr
XPT dl alias=tagAttr
XPT dt alias=tagAttr
XPT dd alias=tagAttr
XPT br alias=_shorttag
XPT li " .....
XSET content=Echo('')
`content^`
`...^
`content^`
`...^
XPT lia " `content^
XPT lie8 wrap=content "
XPT lie9 wrap=content "
"
" HTML5 Snippets
"
XPT header alias=tagAttr
XPT section alias=tagAttr
XPT aside alias=tagAttr
XPT footer alias=tagAttr
XPT nav alias=tagAttr
XPT html5shiv synonym=shiv,5shiv