YAML fields should be camel for PHP friendliness

This commit is contained in:
Sam Georges 2014-07-19 16:19:07 +10:00
parent 3c11249bef
commit bef95920e2
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
<div class="layout-cell min-height theme-description">
<h3><?= e($theme->getConfigValue('name', $theme->getDirName())) ?></h3>
<?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 ?>
<p class="description"><?= e($theme->getConfigValue('description', 'The theme description is not provided.')) ?></p>
<div class="controls">

View File

@ -1,4 +1,4 @@
name: Demo
description: Demo OctoberCMS theme. Demonstrates the basic concepts of the front-end theming: layouts, pages, partials, components, content blocks, AJAX framework.
author: OctoberCMS
author-url: 'http://octobercms.com'
authorUrl: 'http://octobercms.com'