1
0
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:
Awilum
2018-12-16 23:23:04 +03:00
parent e138129f38
commit afdaa8c169
2 changed files with 7 additions and 1 deletions

View File

@@ -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

View File

@@ -168,7 +168,7 @@ class Plugins
'mk' => 'македонски јазик',
'mn' => 'монгол',
'ce' => 'нохчийн мотт',
'ru' => 'русский язык',
'ru' => 'Русский язык',
'sr' => 'српски језик',
'tt' => 'татар теле',
'tg' => 'тоҷикӣ',