Commit graph

461 commits

Author SHA1 Message Date
theshka cdf54b5a42 Merge branch 'master' of https://github.com/picocms/Pico into feature/bootstrap-theme
Conflicts:
	CHANGELOG.md
	themes/default/index.twig
2015-12-21 20:55:03 -06:00
Daniel Rudolf 14e5f3236c Partially revert fdf8167
Thanks @smcdougall for spotting
2015-12-21 12:50:31 +01:00
Daniel Rudolf d2842956b2 Update CHANGELOG.md 2015-12-21 04:19:27 +01:00
Daniel Rudolf 9e4af2cba4 Merge pull request #294 from picocms/enhancement/YamlParseError2
Catch YAML parse errors (2)
2015-12-21 04:13:07 +01:00
Daniel Rudolf 43f953b67a Pico::readPages(): Call Pico::parseFileMeta() again when a exception is thrown 2015-12-21 04:08:35 +01:00
Daniel Rudolf 3798cbe478 Remove page title fallback 2015-12-21 04:05:25 +01:00
Daniel Rudolf 329049bd18 Fix empty meta header 2015-12-21 03:42:59 +01:00
Daniel Rudolf 67e1e8a8ea Default theme: Highlight active page + hide untitled pages
Related to #302
2015-12-21 03:31:34 +01:00
Daniel Rudolf fdf81672a8 content-sample/index.md: Fix syntax 2015-12-21 03:24:32 +01:00
Daniel Rudolf daca1b7495 Merge pull request #304 from smcdougall/master
Changed content to match docs changes.
2015-12-21 03:07:40 +01:00
Daniel Rudolf b7fbf95b9d README.md: Fix EditDevDocs URL 2015-12-21 02:38:05 +01:00
Daniel Rudolf 5694cda14e Update website URLs 2015-12-20 19:44:59 +01:00
Daniel Rudolf 693d8ae4fa Update default theme footer 2015-12-16 21:51:23 +01:00
Daniel Rudolf dc6ac516a8 Fix Pico::getPageUrl() 2015-12-13 22:27:27 +01:00
Daniel Rudolf a138d23daf Throw LogicException instead of RuntimeException in Pico::setConfig() 2015-12-13 22:19:02 +01:00
Daniel Rudolf 0c85d70820 Adding $queryData parameter to Pico::getPageUrl() method
This allows developers to easily add custom query data to an page URL without the need to check enabled URL rewriting on their own. Since Twigs `link` filter is just an alias for Pico::getPageUrl(), theme designers can do the same with e.g. `{{ "index"|link("foo=bar&baz=42") }}`.

Theme designers, heads up! Don't forget that the result of the `link` filter is never escaped, so the result could contain unescaped ampersands when passing custom query data. You should pass the result to Twigs `escape` filter when using custom query data.
2015-12-13 22:14:05 +01:00
Daniel Rudolf d9788c12e4 _build/generate-phpdoc.sh: Fix output formatting 2015-12-07 15:57:00 +01:00
Daniel Rudolf 93f7aaad8b Class docs: Use default markdown table format 2015-12-07 15:17:39 +01:00
smcdougall 1e2d500bfa Formatted lines to 80 characters 2015-12-06 19:28:37 -05:00
smcdougall d8c16d974f Changed content to match docs changes. 2015-12-06 14:35:39 -05:00
theshka f80a1b93d1 Merge branch 'feature/bootstrap-theme' of https://github.com/picocms/Pico into feature/bootstrap-theme 2015-12-01 20:53:36 -06:00
theshka b18c124e44 allow alpha theme in .gitignore 2015-12-01 20:49:51 -06:00
theshka 5089b567d3 v0.9 doesn't recognize the .twig extension 2015-12-01 20:49:43 -06:00
theshka cc877fdf41 keep default theme, add new alpha theme 2015-12-01 20:49:04 -06:00
theshka 69df09aea2 remove reference to scripts.js 2015-12-01 20:48:28 -06:00
theshka 8e65b99838 stop travis failing 2015-12-01 20:48:28 -06:00
theshka 6fb160babf stop travis failing 2015-12-01 19:39:12 -06:00
theshka 50b57b7918 can we run phpcbf on travis? 2015-12-01 19:04:42 -06:00
theshka 81b99af874 fix scripts.js spacing to appease the code sniffer 2015-12-01 18:57:38 -06:00
theshka 9112618871 include recommended shiv, polyfills, & scripts 2015-12-01 18:28:49 -06:00
theshka fa4e095bdf Move LICENSE to LICENSE.md 2015-12-01 15:12:20 -06:00
theshka 7644e060d4 Inline Docs: update blogging section 2015-12-01 10:15:55 -06:00
theshka 02da39ebdf Update the CHANGELOG 2015-12-01 09:53:27 -06:00
theshka 1fdab97b07 add comments to sections 2015-12-01 09:53:08 -06:00
theshka a2b825ff49 add comments to sections 2015-12-01 09:53:00 -06:00
theshka d25f0df4a0 remove theme_config from Pico::loadConfig() 2015-12-01 09:52:34 -06:00
theshka e6f832e5fb add comment to theme_config array 2015-12-01 09:52:13 -06:00
theshka 88132e2b17 prefix blog includes 2015-11-30 22:51:23 -06:00
theshka ed50308d4c add toc links to sections 2015-11-30 22:37:35 -06:00
Tyler Heshka 5decee52b8 add config heading to README.md 2015-11-30 22:19:47 -06:00
Tyler Heshka 9b03d0c37b add Table of Contents to README.md 2015-11-30 22:15:09 -06:00
theshka 014674cdf6 Update README.md 2015-11-30 21:56:50 -06:00
theshka 0c996ec58d Merge branch 'feature/bootstrap-theme' of https://github.com/theshka/Pico into feature/bootstrap-theme
Conflicts:
	README.md
2015-11-30 18:25:06 -06:00
Tyler Heshka 37082b21db fix typo/animated screenshot 2015-11-30 18:10:26 -06:00
theshka 4d02148e3b change screenshot for feature/bootstrap-theme 2015-11-30 17:53:49 -06:00
theshka a871b7f455 Merge branch 'master' of https://github.com/picocms/Pico into feature/bootstrap-theme 2015-11-30 17:51:16 -06:00
Daniel Rudolf f0a44910e7 Update README.md
Use automatically generated and updated license and version badges via http://shields.io/
2015-11-30 23:41:43 +01:00
theshka 0fb616381e Merge branch 'master' of https://github.com/picocms/Pico into feature/bootstrap-theme 2015-11-30 15:51:31 -06:00
theshka 08c0aa8ef9 update sidebar.twig 2015-11-30 15:46:05 -06:00
theshka 5f9b070653 update README.md version 1.0.0-beta.2 2015-11-30 15:23:23 -06:00