;;-*-coding: utf-8;-*-\r
-(when (equal system-type 'windows-nt)\r
- (define-abbrev-table 'global-abbrev-table\r
- '(\r
- ("wol" "" workorder-link :count 0)\r
- ("oel" "" skel-org-block-elisp :count 0)\r
- ("osrc" "" skel-org-block :count 0)\r
- )))\r
+(define-abbrev-table 'global-abbrev-table\r
+ '(\r
+ ("htmlbp" "" html-header :count 21)\r
+ ("oel" "" skel-org-block-elisp :count 0)\r
+ ("osrc" "" skel-org-block :count 0)\r
+ ("wol" "" workorder-link :count 0)\r
+ ))\r
+\r
\n\r
"#+END_SRC")\r
\r
-(setq save-abbrevs 'silently)\r
+(define-skeleton html-header\r
+ "HTML boilerplate"\r
+ ""\r
+ "<!DOCSTYLE html>"\r
+ \n\r
+ "<html lang=\"en\">"\r
+ \n\r
+ "<head>"\r
+ \n\r
+ "<meta charset=\"UTF-8\">"\r
+ \n\r
+ "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">"\r
+ \n\r
+ "<title>"\r
+ _ -\r
+ "</title>"\r
+ \n\r
+ "<link rel=\"stylesheet\" href=\"safety-colors.css\">"\r
+ \n\r
+ "</head>"\r
+ \n\r
+ \n\r
+ "<body></body>"\r
+ \n\r
+ "</html>")\r
\r
-(add-hook 'org-mode-hook #'abbrev-mode)\r
+(setq save-abbrevs 'silently)\r
+(abbrev-mode)\r
\f\r
;;; Customization Framework\r
;; Disable it by making it save to a temp file (stolen from prot)\r