Commit graph

107 commits

Author SHA1 Message Date
Iheanyi Ekechukwu
44fb99ade3 Fix typos within index.md
direcotry --> directory
2013-12-16 14:09:04 -05:00
Ilia Kondrashov
13b1799c92 remove twig and composer files from sources, now composer install is required to run after clone 2013-11-28 21:55:44 +04:00
Gilbert Pellegrom
dc663cee6d Fix. 2013-11-28 17:13:07 +00:00
Gilbert Pellegrom
fd3ac9405f Merge pull request #120 from caseycs/packagist
improve composer.json so Pico would be able to publish on Packagist and ...
2013-11-28 09:02:52 -08:00
Ilia Kondrashov
c8fa3398c4 improve composer.json so Pico would be able to publish on Packagist and include by adding gilbitron/Pico in composer.json 2013-11-28 20:49:07 +04:00
Snip1
395011c770 Update pico.php
Adding    				'description' => isset($page_meta['description']) ? $page_meta['description'] : '',
 to    $data=array  allows for use of the description meta in place of the excerpt.
2013-11-17 20:36:27 -05:00
Christopher
b136780988 Dont remove all comments from *.md. Only first one (other may be code) 2013-11-01 01:37:20 +04:00
Gilbert Pellegrom
aa59661ff8 v0.8
Added ability to set template in content meta
2013-10-23 10:39:23 +01:00
Gilbert Pellegrom
b2fa0a4abe Changed Pico methods to protected. 2013-10-23 10:23:11 +01:00
Gilbert Pellegrom
022334ff13 Added before_parse_content & after_parse_content hooks. content_parsed
hook is depreciated. Updated get_protocol() method.
2013-10-23 10:19:24 +01:00
Gilbert Pellegrom
9616d902e0 Merge pull request #88 from NeoBlack/feature/moveConfigLoading
[BUGFIX] load config and call hook before the other hooks
2013-10-23 02:07:07 -07:00
Gilbert Pellegrom
d35d87f3ea Merge pull request #91 from beheh/master
Change limit_words to only show ellipsis when word count exceeds max
2013-10-23 02:05:50 -07:00
Benedict Etzel
f665564a79 only append ellipsis in limit_words when string was actually limited 2013-10-21 13:04:02 +02:00
Frank Nägler
3d91c03979 [BUGFIX] load config and call hook before the other hooks
this bugfix is very important, because other hooks like "after_load_content" can not use the config.
2013-10-14 20:26:02 +02:00
Gilbert Pellegrom
6acc979655 Update README.md 2013-10-02 18:23:08 +01:00
Gilbert Pellegrom
45cd4ca5b7 v0.7
* [New] Added before_read_file_meta and get_page_data plugin hooks to
customize page meta data
 * [Changed] Make get_files() ignore dotfiles
 * [Changed] Make get_pages() ignore Emacs and temp files
 * [Changed] Use composer version of Markdown
 * [Changed] Other small tweaks
 * [Fixed] Date warnings and other small bugs
2013-09-04 12:10:26 +01:00
Gilbert Pellegrom
69d67b2b71 Merge pull request #61 from cmattoon/master
Modified Pico::get_pages() to ignore Emacs (~) and (#) temp files
2013-09-04 03:33:04 -07:00
Gilbert Pellegrom
014a4df61f Merge pull request #38 from barryjmenard/copy_editing
fix minor grammatical errors
2013-09-04 03:23:53 -07:00
Gilbert Pellegrom
b3c7648e3a Merge pull request #36 from ibr/master
Using composer version of Markdown
2013-09-04 03:23:16 -07:00
Gilbert Pellegrom
41bfe9ab49 Merge pull request #31 from cochrandv/master
Make get_files ignore dotfiles.
2013-09-04 03:21:19 -07:00
Gilbert Pellegrom
c6ff554611 Merge pull request #30 from dstreet/master
Add plugin hooks to customize page meta data
2013-09-04 03:20:24 -07:00
Gilbert Pellegrom
753bac2928 Update README.md 2013-09-03 16:17:35 +01:00
Curtis Mattoon
2e26edaa13 Replaced spaces with tabs... d'oh 2013-08-06 21:51:03 -04:00
Curtis Mattoon
9e9ea4f46d Fix indentation
Conflicts:
	lib/pico.php
2013-08-06 21:45:36 -04:00
Curtis Mattoon
8141ccaeb5 Merge branch 'master' of https://github.com/cmattoon/Pico
Conflicts:
	lib/pico.php
2013-08-06 21:43:49 -04:00
Curtis Mattoon
10eeea80c1 Modified Pico::get_pages() to ignore Emacs (~) and Nano (#) temp files 2013-08-06 21:40:13 -04:00
Curtis Mattoon
9fa454499d Modified Pico::get_pages() to ignore Emacs (~) and Nano (#) temp files 2013-08-06 20:34:36 -04:00
Barry Menard
d30aa79a6f fix minor grammatical errors
Signed-off-by: Barry Menard <barry@projectevolution.com>
2013-07-12 10:53:39 -04:00
Konrad Riedel
145915346c using composer for markdown 2013-07-10 15:12:44 +02:00
David Cochran
adf440a9dd get_files() will ignore dotfiles now 2013-07-07 21:48:04 -05:00
David Street
51b46c89de Minor fixes 2013-07-07 22:31:19 -04:00
David Street
0458c857c1 Added two new plugin hooks allowing better customization of page meta data. 2013-07-07 22:09:39 -04:00
Gilbert Pellegrom
ec37ff4e75 Merge pull request #19 from kikijiki/bugs
Fixed the problem with pages having the same date.
2013-05-30 03:00:47 -07:00
KIKIJIKI
fc9409e5a1 Fixed the problem with pages having the same date.
If the order is by date and some pages have the same date, only one will
be added to the array because it uses the date as the key.

By adding an auto-incrementing id the key is guaranteed to be unique.
2013-05-12 19:52:27 +09:00
Gilbert Pellegrom
295b7e42ec Updating README 2013-05-08 14:34:29 +01:00
Gilbert Pellegrom
b145ea7d23 v0.6.2
[Changed] Replaced glob_recursive with get_files
2013-05-07 16:27:39 +01:00
Gilbert Pellegrom
f9ebb4d75c v0.6.2
[New] Added "content" and "excerpt" fields to pages
[New] Added excerpt_length config setting
2013-05-07 10:09:03 +01:00
Gilbert Pellegrom
2416172ba7 v0.6
[New] Added plugin functionality
[Changed] Other small cleanup
2013-05-06 16:38:38 +01:00
Gilbert Pellegrom
842c05824a v0.5
[New] Added ability to order pages by "alpha" or "date" (asc or desc)
[New] Added prev_page, current_page, next_page and is_front_page
template vars
[New] Added "Author" and "Date" title meta fields
[Changed] Added "twig_config" to settings
[Changed] Updated documentation
[Fixed] Query string 404 bug
2013-05-03 15:45:42 +01:00
Gilbert Pellegrom
8cebbb51f8 v0.4.1
[New] Added CONTENT_EXT global
[Changed] Use .md files instead of .txt
2013-05-01 15:52:18 +01:00
Gilbert Pellegrom
cc7ceafc1e v0.4
[New] Add get_pages() function for listing content
[New] Added changelog.txt
[Changed] Updated default theme
[Changed] Updated documentation
2013-05-01 14:34:24 +01:00
Gilbert Pellegrom
585a39a800 v0.3 2013-04-27 17:23:17 +01:00
Gilbert Pellegrom
ac055a715a Fix get_config() function #13. 2013-04-27 17:17:08 +01:00
Gilbert Pellegrom
c88f8e7967 v0.2
Added some inline docs.
2013-04-26 17:38:10 +01:00
Gilbert Pellegrom
7d2f97f2f6 Update Twig (now uses composer) and add composer.json. 2013-04-26 17:22:30 +01:00
Gilbert Pellegrom
070cb92661 Merge pull request #11 from purplefish32/master
Fixes multicase URLs
2013-04-26 08:59:12 -07:00
Gilbert Pellegrom
f43efaa2bd Merge pull request #10 from mathroc/feature/404-status-code
Answer with a 404 status code when the page is not found
2013-04-26 08:57:08 -07:00
Gilbert Pellegrom
df4d37bf13 Merge pull request #8 from mathroc/feature/ignore-cache-files-in-git
Ignore Twig cache files into git repo
2013-04-26 08:43:36 -07:00
Donovan Tengblad
cae36cb3b3 Remove strtolower
fixes: #3
2012-11-21 13:35:53 +01:00
Mathieu Rochette
776ceb2ef6 Answer with a 404 status code when the page is not found 2012-10-26 14:08:13 +02:00