Things like the 'webby' and 'webby autobuild' run just fine.
'webby blog:post some_post' creates a post, but yields an info line
and then doesn't give the shell prompt back(I have to ctrl-c)
'rake' in my webby dir yields 'no rake file found'.
I guess my question is, what am I missing, or where can I find up to
date documentation for the command line interface?
Thanks!
Les
To unsubscribe from this group, send email to webby-forum+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
I wanted my posts to go into a /posts/ directory instead of /blog/. So
in my Sitefile I added:
SITE.blog_dir = 'posts'
However, now when I try to use 'webby blot:post' I get an error:
undefined local variable or method `posts' for Webby::Builder:Class
Ideas?
On Mar 19, 1:10 pm, aimee daniells <aimeedanie...@googlemail.com>
wrote:
> I don't think webby uses rake anymore. all the commands begin with webby.
> Sounds like you're doing exactly the right thing.
>
> The reason for the hang is probably that it's trying to launch the new page
> in a text editor and failing. Try adding something like
>
> export EDITOR="vi"
>
> into your ~/.bashrc or ~/.bash_login file and see if it makes any
> difference. Set it to your editor of preference.
>
> aimee
>
Also, found that if I prefix with posts/post_name it works fine:
webby blog:post posts/confronting_the_information_ocean.markdown
I would like to figure out how to not have to add the posts/ in front
though, if anyone has ideas.
Thanks
Les
On Mar 19, 1:31 pm, lesfreeman <lesliefreem...@gmail.com> wrote:
> That makes sense. I'll try it out, as soon as I figure out my new
> issue: :)
>
> I wanted my posts to go into a /posts/ directory instead of /blog/. So
> in my Sitefile I added:
> SITE.blog_dir = 'posts'
>
> as perhttp://groups.google.com/group/webby-forum/browse_thread/thread/1f034...
To unsubscribe from this group, send email to webby-forum+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
I had a month template in which I had an unescaped erb:
<%= render :partial => 'partials/post_list', :locals => {:posts =>
posts} %>
instead of
<%%= render :partial => 'partials/post_list', :locals => {:posts =>
posts} %>
Still having to prefix my blog post names with posts/ though.
Les
On Mar 19, 1:46 pm, aimee daniells <aimeedanie...@googlemail.com>
wrote:
> Oh good! :)
>
> I'm afraid i've never really used the blogging part of webby so i don't know
> much about it. What you've done with the prefix sounds sensible though. I
> generally use nested directories in that way. So long as webby can find the
> right path to build the output, i think you're onto a winner! :D
>
> aimee
>