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. // Array with all pages.
$pages = array(); $pages = array();
// Array with all published pages. // Array with all published pages, order by position.
$pagesPublished = array(); $pagesPublished = array();
// Array with all pages, order by parent. // 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()); $pagesParents = array(NO_PARENT_CHAR=>array());
// Array with all published pages, ordery by parent. // Array with all published pages, ordery by parent.

View File

@ -3334,7 +3334,6 @@
-webkit-align-items: center; -webkit-align-items: center;
-ms-align-items: center; -ms-align-items: center;
align-items: center; align-items: center;
background-image: url("../../images/banner.jpg");
display: -moz-flex; display: -moz-flex;
display: -webkit-flex; display: -webkit-flex;
display: -ms-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 Forty by HTML5 UP
html5up.net | @ajlkn html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
Bludit CMS
https://www.bludit.com
--> -->
<html> <html>
<head> <head>
<base href="<?php echo HTML_PATH_THEME ?>" target="_blank"> <base href="<?php echo HTML_PATH_THEME ?>">
<?php <?php
// <meta charset="utf-8"> // <meta charset="utf-8">
@ -56,8 +59,8 @@
<nav id="menu"> <nav id="menu">
<ul class="links"> <ul class="links">
<?php <?php
foreach($parents as $Parent) { foreach($parents as $page) {
echo '<li><a href="'.$Parent->permalink().'">'.$Parent->title().'</a></li>'; echo '<li><a href="'.$page->permalink().'">'.$page->title().'</a></li>';
} }
?> ?>
</ul> </ul>
@ -103,16 +106,34 @@
<footer id="footer"> <footer id="footer">
<div class="inner"> <div class="inner">
<ul class="icons"> <ul class="icons">
<li><a href="#" class="icon alt fa-twitter"><span class="label">Twitter</span></a></li> <?php
<li><a href="#" class="icon alt fa-facebook"><span class="label">Facebook</span></a></li> if($Site->twitter()) {
<li><a href="#" class="icon alt fa-instagram"><span class="label">Instagram</span></a></li> echo '<li><a href="'.$Site->twitter().'" class="icon alt fa-twitter"><span class="label">Twitter</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>
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>
<ul class="copyright"> <ul class="copyright">
<li>&copy; Untitled</li> <li><?php echo $Site->footer() ?> | <a href="http://www.bludit.com">BLUDIT</a></li>
<li>Design: <a href="https://html5up.net">HTML5 UP</a></li>
</ul> </ul>
</div> </div>
</footer> </footer>

View File

@ -1,12 +1,12 @@
<section id="one" class="tiles"> <section id="one" class="tiles">
<?php <?php
foreach($parents as $Page) { foreach($parents as $page) {
echo '<article>'; echo '<article>';
echo '<header class="major">'; echo '<header class="major">';
echo '<h3>'; 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 '</h3>';
echo '<p>'.$Page->description().'</p>'; echo '<p>'.$page->description().'</p>';
echo '</header>'; echo '</header>';
echo '</article>'; echo '</article>';
} }