Commit graph

54 commits

Author SHA1 Message Date
Daniel Rudolf e517eac396
Improve .htaccess regex
Deny access to all dot files and dirs by default (except .well-known)

Update nginx rules accordingly and pass denied requests to Pico rather than letting nginx send a 404 response
2017-12-24 13:58:42 +01:00
Daniel Rudolf 882a80a179
Update docs to reflect 9b7523b 2017-02-06 00:01:25 +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 9b72b5c316
Give pages starting with a underscore (_) a special treatment
Follow-up to b493ebdb84
2016-12-12 14:49:05 +01:00
Daniel Rudolf 9a2dd4f078
Mark Twig variables rewrite_url and is_front_page as deprecated 2016-12-06 20:52:27 +01:00
Daniel Rudolf d6a094216b
Merge branch 'master' into pico-1.1
Conflicts:
	_build/deploy-phpdoc-branch.sh
	themes/default/index.twig
	themes/default/style.css
2016-11-02 23:02:20 +01:00
Daniel Rudolf 0f4257233a
Sync docs 2016-11-02 03:12:02 +01:00
Daniel Rudolf cdba66b951
Inline docs: Use Twig's array literal rather than the split filter for sort_by 2016-09-17 16:50:36 +02:00
Daniel Rudolf e27be7a80f
Merge branch 'master' into pico-1.1 2016-07-15 03:23:09 +02:00
Daniel Rudolf bf1663cc1c
Add Pico's social icons to default theme 2016-07-06 01:26:29 +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 b2a7c7623d
Sync docs 2016-05-11 23:28:26 +02:00
Daniel Rudolf e32a46d6cf
Sync docs 2016-05-06 23:17:17 +02:00
Daniel Rudolf 6c4f69c107
Update inline user docs to reflect 6465c2b0a9 2016-04-24 20:49:06 +02:00
Daniel Rudolf 0e8cd0873d
Merge branch 'master' into pico-1.1
Conflicts:
	.htaccess
2016-04-24 20:23:00 +02:00
Daniel Rudolf d8f9166918
Fix nginx configuration example
Thanks Robby (via IRC)
2016-04-15 17:25:20 +02:00
Daniel Rudolf b31c93acf6 Inline docs: Fix blogging tutorial
Fixes #338. Thank you @marctilman
2016-03-24 17:41:26 +01:00
Daniel Rudolf 479926eeb4 Add Pico::VERSION constant 2016-03-06 00:38:51 +01:00
Daniel Rudolf 327c55db77 Add Markdown Extra to inline user docs
Resolves #321. Thanks @ufgum for reporting
2016-02-04 14:23:16 +01:00
Daniel Rudolf 14e5f3236c Partially revert fdf8167
Thanks @smcdougall for spotting
2015-12-21 12:50:31 +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 5694cda14e Update website URLs 2015-12-20 19:44:59 +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
Daniel Rudolf 771bdacf71 Inline docs: Fix navigation loop example in Blogging section 2015-11-30 03:24:37 +01:00
theshka 3c10c8ac0b fix typo 2015-11-29 19:59:34 -06:00
Daniel Rudolf 24b58175a4 Inline docs: Update Blogging section to use "sort_by" filter 2015-11-29 22:28:18 +01:00
Daniel Rudolf be46e19677 Merge branch 'master' into feature/PicoTwigExtension
Conflicts:
	CHANGELOG.md
2015-11-29 22:19:57 +01:00
Daniel Rudolf 6cb378e83f Inline docs: Add link to YAML wikipedia article
Official resources about YAML are ... - impossible to understand for a ordinary user.
2015-11-29 20:26:43 +01:00
Daniel Rudolf 636f27ae2f Add asset handling recommendations to inline user docs
Thanks @smcdougall for giving the hint about this
2015-11-14 00:26:26 +01:00
Daniel Rudolf c17f18f8cf Update inline user docs to reflect PicoTwigExtension 2015-11-13 17:08:12 +01:00
Daniel Rudolf cd1dc07d81 Sync docs 2015-11-06 17:50:22 +01:00
Daniel Rudolf cd7cd374bb Add content filter to get the parsed contents of a page (lazy loading) 2015-11-06 01:08:31 +01:00
Daniel Rudolf e3a6116c79 Sync documentation 2015-11-04 19:43:06 +01:00
Daniel Rudolf 365333c62e Update content-sample/index.md 2015-11-03 16:35:27 +01:00
Daniel Rudolf 2ab361106c Update content-sample/index.md 2015-11-03 00:41:10 +01:00
Daniel Rudolf a1331e7bd7 Update inline docs to reflect ebe007b 2015-11-02 20:00:48 +01:00
Daniel Rudolf 2597e0dd91 Move upgrade instructions from inline docs to README.md in a more generic form 2015-11-02 19:14:07 +01:00
Daniel Rudolf e6681ea903 Improve class docs
Also add some ToDos to inline docs
2015-10-29 18:07:45 +01:00
Daniel Rudolf 638638f5a4 Add UPGRADE section to docs
This is still work in progress
2015-10-29 00:57:54 +01:00
Daniel Rudolf 38081b3d52 Sync docs with website 2015-10-29 00:54:01 +01:00
Daniel Rudolf 4171f9a031 Move URL Rewriting to Config section 2015-10-10 00:11:56 +02:00
Daniel Rudolf 9cdd34edcc Change content order, add Customization section 2015-10-10 00:08:38 +02:00
Daniel Rudolf 15515ff3fd Fix typo/formatting 2015-10-09 20:51:07 +02:00
theshka aec024a793 fix spelling 2015-10-09 20:41:00 +02:00
Daniel Rudolf b46ed0535c Let users know about Twigs link filter 2015-10-09 14:27:49 +02:00
Daniel Rudolf 40dbd0ee37 Update Picos inline user docs
Adding a Blogging and URL Rewriting section, splitting the Plugins section into "for users" and "for devs", extend all sections and fix some typos
2015-10-08 21:01:30 +02:00
Daniel Rudolf 8d88863805 Fix whitespace 2015-09-28 17:42:47 +02:00
Daniel Rudolf 39e1d788c5 Update sample content 2015-08-28 18:34:14 +02:00