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",
"email": "",
"website": "https://themes.bludit.com",
"version": "1.0",
"releaseDate": "2017-10-08",
"version": "1.1",
"releaseDate": "2017-12-27",
"license": "MIT",
"compatible": "2.0",
"compatible": "2.0, 2.1",
"notes": ""
}

View File

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