emacsorphanage / org-page

[INACTIVE] A static site generator based on Emacs and org mode.
673 stars 99 forks source link

When suggesting URI, replace spaces with dashes #104

Closed Trevoke closed 9 years ago

Trevoke commented 9 years ago

If my blog title is Switching to org-page then the suggested URI should be /blog/%y/%m/%d/Switching-to-org-page.

sillykelvin commented 9 years ago

Yeah, you could use #+URI to customize the uri in you org file:

#+URI:         /blog/%y/%m/%d/switching-to-org-page/
sillykelvin commented 9 years ago

And, I recall that even there is no #+URI customization, it should be something like you suggested, so what is the generated uri for you currently?

Trevoke commented 9 years ago

With M-x op/new-post when I write the title "this is my new post", here is what gets suggested.

screen shot 2015-01-24 at 8 28 02 am

sillykelvin commented 9 years ago

Oh, I see, I thought you were talking about the generation of html files, but seems it's about the creation of new post...

Fixed now.