picocms / Pico

Pico is a stupidly simple, blazing fast, flat file CMS.
http://picocms.org/
MIT License
3.83k stars 614 forks source link

url to current page - not obtainable from theme #182

Closed SQLek closed 9 years ago

SQLek commented 10 years ago

I'm working with Pico-Private. I have done login form in theme, because i want it on every page.

I need current page url to set 'redirect_url' for login page return. I tried:

I'm java programer and i'm incapable of understanding internals of picocms. Can anybody help me?

loganmhb commented 10 years ago

What "strange data" does current_page.url display for you -- can you give more context? That seems to work for me.