Commit graph

18 commits

Author SHA1 Message Date
Daniel Rudolf
b405edba17
Various small improvements 2018-03-29 22:47:23 +02:00
Daniel Rudolf
414f5ac18e
Allow pages to be sorted by arbitrary meta values
This basically works like Pico's `sort_by` Twig filter
2017-07-14 20:37:05 +02:00
Daniel Rudolf
cbb8ece579
Move PicoDeprecated plugin and default theme to separate repos
See https://github.com/picocms/pico-theme for Pico's default theme and https://github.com/picocms/pico-deprecated for the PicoDeprecated plugin.
2017-05-01 22:12:18 +02:00
Daniel Rudolf
d4c65fa523
Allow configuring Parsedown 2017-02-05 21:49:54 +01:00
Daniel Rudolf
9b7523b9e8
Use .yml files to configure Pico
Instead of using `*.config.php` files, use `*.yml` files to configure Pico. YAML is much easier to understand, more user friendly and (at least a bit) more error-tolerant, but still very powerful. Don't break BC by letting `PicoDeprecated` still read `config/config.php`.
2017-02-05 16:52:18 +01:00
Daniel Rudolf
8f7e4da53d
Rename Pico 1.1 to Pico 2.0 2016-12-12 15:31:06 +01:00
Daniel Rudolf
6a13915f15
Refactor default theme 2016-08-02 02:31:20 +02:00
Daniel Rudolf
ddf3da0391
Merge branch 'master' into pico-1.1
Conflicts:
	.htaccess
	config/config.php.template
	content-sample/index.md
	lib/Pico.php
2016-06-18 20:23:23 +02:00
Daniel Rudolf
94279c57f8
Improve phpDocs class docs 2016-05-23 15:13:56 +02:00
Daniel Rudolf
d19621a908
Improve themes dir guessing; add $config['theme_url'] config 2016-04-24 01:22:43 +02:00
Daniel Rudolf
82e0ca5216 Small changes
- Use Travis build status
- Update version number in config template
2015-11-03 17:35:33 +01:00
Daniel Rudolf
9a702415fb Remove return $config in config/config.php
I always thought that doing this is pretty unusual... But now it simply breaks BC - please refer to @Lomanic's [comment](https://github.com/picocms/Pico/pull/260#issuecomment-152610857). Using a return statement has no advantages, but increases the probability that something goes wrong (e.g. a clueless user removes the return statement). It was introduced with 23b90e2, but we never released it ([v0.9.1](4cb2b24fae/lib/pico.php (L188-L189))). Removing the return statement shouldn't cause any problems even for users which installed Pico in the meantime. As a result we don't break BC and moreover remove a prior BC break 😃
2015-10-31 00:32:08 +01:00
theshka
3336fb717e fix spelling 2015-10-09 20:40:01 +02:00
Daniel Rudolf
5e77d862bf Remove twig cache dir 2015-09-29 00:42:04 +02:00
Daniel Rudolf
4821454ad5 Declare in config/config.php.template to prevent a E_NOTICE 2015-09-14 23:08:02 +02:00
Daniel Rudolf
144939b978 Update config.php.template 2015-08-28 18:33:27 +02:00
Daniel Rudolf
f90e3b4472 Update inline doc 2015-08-01 22:38:14 +02:00
Daniel Rudolf
6e8bc85a8b Move config.php.template to config/; Add config/.gitignore 2015-08-01 22:07:14 +02:00