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">
|
||||
<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">
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
Loading…
Reference in New Issue