renard / o-blog

Standalone orgmode blog exporter. DEPECATED, NOT MAINTAINED
http://renard.github.com/o-blog-v2
260 stars 58 forks source link

Lisp error in nil: (error ob:post-content-html accessing a non-ob:post) when creating blog #48

Closed abedra closed 11 years ago

abedra commented 11 years ago

I tried working through the tutorial and starting a new blog. When I publish it I get a lisp error and things don't come out as they should. Here's the org file I am using.

#+TITLE: chatr
#+DESCRIPTION: Tastes great, doesn't leave a bruise!
#+DATE: 2012-09-29 19:02:33

#+STARTUP: logdone

#+URL: http://aaronbedra.com

* DONE First Post
  CLOSED: [2012-09-29 Sat 20:56]
  :PROPERTIES:
  :tags: Test
  :END:

This is the first test post. Some cool stuff should probably go in here.

* DONE Second Post
  CLOSED: [2012-09-29 Sat 20:56]
  :PROPERTIES:
  :tags: Test
  :END:

This is the second test post. Some cool stuff should probably go in here.
renard commented 11 years ago

Hi,

I am guessing you have such errors for the About and Links sections. This is because some snippets are missing. You can find them in the example/sample.org file under the section Blog details. Their contents are used in templates using: <lisp>(ob:post-content-html (ob:get-snippet "template-name"))</lisp>.