This commit is contained in:
dignajar 2016-09-21 23:03:30 -03:00
parent 587470b664
commit 9ab2806951
17 changed files with 42 additions and 16 deletions

View File

@ -7,10 +7,16 @@
// Array with all pages.
$pages = array();
// Array with all published pages.
// Array with all published pages, order by position.
$pagesPublished = array();
// Array with all pages, order by parent.
// array = {
// NO_PARENT_CHAR => array(), all pages parents
// PageParent1 => array(), all children of the parent1
// ... => array(), all children of the parent...
// PageParent9 => array(), all children of the parent9
// }
$pagesParents = array(NO_PARENT_CHAR=>array());
// Array with all published pages, ordery by parent.

View File

@ -3334,7 +3334,6 @@
-webkit-align-items: center;
-ms-align-items: center;
align-items: center;
background-image: url("../../images/banner.jpg");
display: -moz-flex;
display: -webkit-flex;
display: -ms-flex;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 192 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

View File

@ -3,11 +3,14 @@
Forty by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
Bludit CMS
https://www.bludit.com
-->
<html>
<head>
<base href="<?php echo HTML_PATH_THEME ?>" target="_blank">
<base href="<?php echo HTML_PATH_THEME ?>">
<?php
// <meta charset="utf-8">
@ -56,8 +59,8 @@
<nav id="menu">
<ul class="links">
<?php
foreach($parents as $Parent) {
echo '<li><a href="'.$Parent->permalink().'">'.$Parent->title().'</a></li>';
foreach($parents as $page) {
echo '<li><a href="'.$page->permalink().'">'.$page->title().'</a></li>';
}
?>
</ul>
@ -103,16 +106,34 @@
<footer id="footer">
<div class="inner">
<ul class="icons">
<li><a href="#" class="icon alt fa-twitter"><span class="label">Twitter</span></a></li>
<li><a href="#" class="icon alt fa-facebook"><span class="label">Facebook</span></a></li>
<li><a href="#" class="icon alt fa-instagram"><span class="label">Instagram</span></a></li>
<li><a href="#" class="icon alt fa-github"><span class="label">GitHub</span></a></li>
<li><a href="#" class="icon alt fa-linkedin"><span class="label">LinkedIn</span></a></li>
<?php
if($Site->twitter()) {
echo '<li><a href="'.$Site->twitter().'" class="icon alt fa-twitter"><span class="label">Twitter</span></a></li>';
}
if($Site->facebook()) {
echo '<li><a href="'.$Site->facebook().'" class="icon alt fa-facebook"><span class="label">Facebook</span></a></li>';
}
if($Site->instagram()) {
echo '<li><a href="'.$Site->instagram().'" class="icon alt fa-instagram"><span class="label">Instagram</span></a></li>';
}
if($Site->github()) {
echo '<li><a href="'.$Site->github().'" class="icon alt fa-github"><span class="label">Github</span></a></li>';
}
if( $plugins['all']['pluginRSS']->installed() ) {
echo '<li><a href="'.DOMAIN_BASE.'rss.xml'.'" class="icon alt fa-rss"><span class="label">RSS</span></a></li>';
}
if( $plugins['all']['pluginSitemap']->installed() ) {
echo '<li><a href="'.DOMAIN_BASE.'sitemap.xml'.'" class="icon alt fa-sitemap"><span class="label">Sitemap</span></a></li>';
}
?>
</ul>
<ul class="copyright">
<li>&copy; Untitled</li>
<li>Design: <a href="https://html5up.net">HTML5 UP</a></li>
<li><?php echo $Site->footer() ?> | <a href="http://www.bludit.com">BLUDIT</a></li>
</ul>
</div>
</footer>

View File

@ -1,12 +1,12 @@
<section id="one" class="tiles">
<?php
foreach($parents as $Page) {
foreach($parents as $page) {
echo '<article>';
echo '<header class="major">';
echo '<h3>';
echo '<a href="'.$Page->permalink().'" class="link">'.$Page->title().'</a>';
echo '<a href="'.$page->permalink().'" class="link">'.$page->title().'</a>';
echo '</h3>';
echo '<p>'.$Page->description().'</p>';
echo '<p>'.$page->description().'</p>';
echo '</header>';
echo '</article>';
}