mirror of
https://github.com/flextype/flextype.git
synced 2025-08-17 18:36:39 +02:00
Code refactoring and cleanup
This commit is contained in:
@@ -212,8 +212,12 @@ class Content
|
||||
/**
|
||||
* Get pages
|
||||
*
|
||||
* // Get list of subpages for page 'projects'
|
||||
* $pages = Content::getPages('projects');
|
||||
*
|
||||
* // Get list of subpages for page 'projects' and order by date and order type DESC
|
||||
* $pages = Content::getPages('projects', false, 'date', 'DESC');
|
||||
*
|
||||
* @access public
|
||||
* @param string $url Page url
|
||||
* @param bool $raw Raw or not raw content
|
||||
@@ -316,6 +320,8 @@ class Content
|
||||
/**
|
||||
* Front matter parser
|
||||
*
|
||||
* $content = Content::frontMatterParser($content);
|
||||
*
|
||||
* @param string $content Content to parse
|
||||
* @access public
|
||||
* @return array
|
||||
|
@@ -168,7 +168,7 @@ class Plugins
|
||||
'mk' => 'македонски јазик',
|
||||
'mn' => 'монгол',
|
||||
'ce' => 'нохчийн мотт',
|
||||
'ru' => 'русский язык',
|
||||
'ru' => 'Русский язык',
|
||||
'sr' => 'српски језик',
|
||||
'tt' => 'татар теле',
|
||||
'tg' => 'тоҷикӣ',
|
||||
|
Reference in New Issue
Block a user