mayamcdougall / NotePaper

A Theme for PicoCMS
http://development.mayamcdougall.me/pico-themes/NotePaper/
GNU General Public License v3.0
6 stars 6 forks source link

Move Theme Buttons into Theme Folder #3

Closed mayamcdougall closed 8 years ago

mayamcdougall commented 8 years ago

Without breaking the file paths. Is there a way to use theme_url in config.php?

mayamcdougall commented 8 years ago

I think to accomplish this I'd need to hard-code the default paths and detect a config value of default to use the built in images.

mayamcdougall commented 8 years ago

Done, but now I need to think of a new way to handle doodle.png, as it's the only item left in the assets folder and this seems sloppy. Placing it in the theme folder would be a waste, since it's example content and not actually part of the theme. It can't be placed in the content folder because that conflicts with Pico's default setup.

The only solution I can think of right now is to host it myself and hotlink it... but that may be an even worse solution.

Maybe replace it with text that looks like an image, and an html comment explaining why I did that...