Minor fixes for v2.1, and updated metadata

This commit is contained in:
Diego Najar 2017-12-27 22:07:35 +01:00
parent c60659643a
commit e683ce86fc
2 changed files with 4 additions and 5 deletions

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://themes.bludit.com", "website": "https://themes.bludit.com",
"version": "1.0", "version": "1.1",
"releaseDate": "2017-10-08", "releaseDate": "2017-12-27",
"license": "MIT", "license": "MIT",
"compatible": "2.0", "compatible": "2.0, 2.1",
"notes": "" "notes": ""
} }

View File

@ -7,8 +7,7 @@
<ul class="static-pages"> <ul class="static-pages">
<?php <?php
$staticPages = $dbPages->getStaticDB(); $staticPages = $dbPages->getStaticDB();
$staticPagesKeyList = array_keys($staticPages); foreach ($staticPages as $pageKey) {
foreach ($staticPagesKeyList as $pageKey) {
$staticPage = buildPage($pageKey); $staticPage = buildPage($pageKey);
echo '<li>'; echo '<li>';
echo '<a href="'.$staticPage->permalink().'">'; echo '<a href="'.$staticPage->permalink().'">';