Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 1d6c2fd541
Fetching contributors…

Cannot retrieve contributors at this time

9 lines (9 sloc) 0.349 kb
;;hyde templates functions
(defun hyde-new-draft()
"Init a new blog post for hyde engine"
(insert "{% extends \"_post.html\" %}\n{%hyde\n title:\n categories:\n created: ")
(insert (format-time-string "%Y-%m-%d"))
(insert "\n%}\n{% block article %}\n{% article %}\n\n{% endarticle %}\n{% endblock %}")
(goto-line 9)
Jump to Line
Something went wrong with that request. Please try again.