Skip to content

Commit

Permalink
date unquoted
Browse files Browse the repository at this point in the history
  • Loading branch information
jacqueminv committed Jan 22, 2010
1 parent 8d5d116 commit 0ab1420
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions emacs/hyde.el
Expand Up @@ -2,8 +2,8 @@
(defun hyde-new-draft() (defun hyde-new-draft()
"Init a new blog post for hyde engine" "Init a new blog post for hyde engine"
(interactive) (interactive)
(insert "{% extends \"_post.html\" %}\n{%hyde\n title:\n categories:\n created: \"") (insert "{% extends \"_post.html\" %}\n{%hyde\n title:\n categories:\n created: ")
(insert (format-time-string "%Y-%m-%d")) (insert (format-time-string "%Y-%m-%d"))
(insert "\"\n%}\n{% block article %}\n{% article %}\n\n{% endarticle %}\n{% endblock %}") (insert "\n%}\n{% block article %}\n{% article %}\n\n{% endarticle %}\n{% endblock %}")
(goto-line 8) (goto-line 9)
) )

0 comments on commit 0ab1420

Please sign in to comment.