2017 © Pedro Peláez
 

pico-plugin pico-parse-pages-content

This is Pico's official PicoParsePagesContent plugin. Pico is a stupidly simple, blazing fast, flat file CMS.

image

phrozenbyte/pico-parse-pages-content

This is Pico's official PicoParsePagesContent plugin. Pico is a stupidly simple, blazing fast, flat file CMS.

  • Sunday, June 24, 2018
  • by PhrozenByte
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Pico Parse Pages Content

This is the repository of Pico's official PicoParsePagesContent plugin., (*1)

Pico is a stupidly simple, blazing fast, flat file CMS. See http://picocms.org/ for more info., (*2)

This plugin exists for historic reasons only and should not be used!, (*3)

PicoParsePagesContent is a simple plugin that parses the Markdown contents of all your pages and makes them available using {{ page.content }}. Installing this plugin is highly discouraged, because it has a significant negative impact on your website's performance., (*4)

Starting with Pico 0.6.1 we were parsing the Markdown contents of all pages. While making some things easier (like generating excerpts), this heavily impacted performance with a larger number of pages (e.g. blog posts). By popular request we removed this feature with Pico 1.0. This significantly improved Pico's performance. To preserve backwards compatibility (BC) we introduced the PicoParsePagesContent plugin. This plugin has been removed from Pico's default installation with Pico 2.0, but you can still install it manually., (*5)

Install

If you're using a composer-based installation of Pico (e.g. picocms/pico-composer), simply open a shell on your server, navigate to Pico's install directory (e.g. /var/www/html) and run composer require phrozenbyte/pico-parse-pages-content (via Packagist.org). That's it!, (*6)

If you're rather using one of Pico's pre-built release packages, you must first create a empty plugins/PicoParsePagesContent directory in Pico's install directory (e.g. /var/www/html) on your server. Then download PicoParsePagesContent's latest source package and upload all containing files (esp. PicoParsePagesContent.php) into said plugins/PicoParsePagesContent directory (resulting in plugins/PicoParsePagesContent/PicoParsePagesContent.php)., (*7)

PicoParsePagesContent requires Pico 1.0+, (*8)

Config

PicoParsePagesContent is disabled by default due to its significant negative performance impact. You can enable the plugin by adding the following to your config/config.yml:, (*9)

PicoParsePagesContent.enabled: true

PicoParsePagesContent itself has no config options., (*10)

The Versions

24/06 2018

dev-master

9999999-dev http://picocms.org/

This is Pico's official PicoParsePagesContent plugin. Pico is a stupidly simple, blazing fast, flat file CMS.

  Sources   Download

MIT

The Requires

 

utility pico picocms picocms-plugin pico-parse-pages-content

24/06 2018

v1.1.0

1.1.0.0 http://picocms.org/

This is Pico's official PicoParsePagesContent plugin. Pico is a stupidly simple, blazing fast, flat file CMS.

  Sources   Download

MIT

The Requires

 

utility pico picocms picocms-plugin pico-parse-pages-content