YAML fields should be camel for PHP friendliness
This commit is contained in:
parent
3c11249bef
commit
bef95920e2
|
|
@ -15,7 +15,7 @@
|
||||||
<div class="layout-cell min-height theme-description">
|
<div class="layout-cell min-height theme-description">
|
||||||
<h3><?= e($theme->getConfigValue('name', $theme->getDirName())) ?></h3>
|
<h3><?= e($theme->getConfigValue('name', $theme->getDirName())) ?></h3>
|
||||||
<?php if (strlen($author)): ?>
|
<?php if (strlen($author)): ?>
|
||||||
<p class="author">by <a href="<?= e($theme->getConfigValue('author-url', '#')) ?>"><?= e($author) ?></a></p>
|
<p class="author">by <a href="<?= e($theme->getConfigValue('authorUrl', '#')) ?>"><?= e($author) ?></a></p>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<p class="description"><?= e($theme->getConfigValue('description', 'The theme description is not provided.')) ?></p>
|
<p class="description"><?= e($theme->getConfigValue('description', 'The theme description is not provided.')) ?></p>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
name: Demo
|
name: Demo
|
||||||
description: Demo OctoberCMS theme. Demonstrates the basic concepts of the front-end theming: layouts, pages, partials, components, content blocks, AJAX framework.
|
description: Demo OctoberCMS theme. Demonstrates the basic concepts of the front-end theming: layouts, pages, partials, components, content blocks, AJAX framework.
|
||||||
author: OctoberCMS
|
author: OctoberCMS
|
||||||
author-url: 'http://octobercms.com'
|
authorUrl: 'http://octobercms.com'
|
||||||
Loading…
Reference in New Issue