mirror of
https://github.com/crydotsnake/bludit-aerial.git
synced 2025-06-26 08:18:33 +02:00
Compare commits
No commits in common. "master" and "1.0" have entirely different histories.
21
index.php
21
index.php
@ -2,29 +2,16 @@
|
|||||||
<?php include(THEME_DIR_PHP.'header.php'); ?>
|
<?php include(THEME_DIR_PHP.'header.php'); ?>
|
||||||
|
|
||||||
<header id="header">
|
<header id="header">
|
||||||
<?php foreach($content as $page): ?>
|
|
||||||
<h1><?php echo $page->title(); ?></h1>
|
<h1><?php echo $page->title(); ?></h1>
|
||||||
<p><?php echo $page->content(); ?></p>
|
<p><?php echo $page->content(); ?></p>
|
||||||
<?php endforeach ?>
|
|
||||||
<nav>
|
<nav>
|
||||||
<ul>
|
<ul>
|
||||||
<?php
|
<li><a target="_blank" href="<?php echo $site->twitter() ?>" class="icon brands fa-twitter"><span class="label">Twitter</span></a></li>
|
||||||
if ($site->twitter()){
|
<li><a target="_blank" href="<?php echo $site->facebook() ?>" class="icon brands fa-facebook-f"><span class="label">Facebook</span></a></li>
|
||||||
echo '<li><a target="_blank" href="'.$site->twitter().'" class="icon brands fa-twitter"></a></li>';
|
<li><a target="_blank" href="<?php echo $site->github() ?>" class="icon brands fa-github"><span class="label">Github</span></a></li>
|
||||||
}
|
|
||||||
if ($site->instagram()){
|
|
||||||
echo '<li><a target="_blank" href="'.$site->instagram().'" class="icon brands fa-instagram"></a></li>';
|
|
||||||
}
|
|
||||||
if ($site->facebook()){
|
|
||||||
echo '<li><a target="_blank" href="'.$site->facebook().'" class="icon brands fa-facebook-f"></a></li>';
|
|
||||||
}
|
|
||||||
if ($site->github()){
|
|
||||||
echo '<li><a target="_blank" href="'.$site->github().'" class="icon brands fa-github"></a></li>';
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<!-- Footer -->
|
<!-- Footer -->
|
||||||
<?php include(THEME_DIR_PHP.'footer.php'); ?>
|
<?php include(THEME_DIR_PHP.'footer.php'); ?>
|
@ -4,5 +4,5 @@
|
|||||||
{
|
{
|
||||||
"name": "Aerial",
|
"name": "Aerial",
|
||||||
"description": "Tuna simple plantilla de html5up.net."
|
"description": "Tuna simple plantilla de html5up.net."
|
||||||
}
|
},
|
||||||
}
|
}
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "Aerial Template",
|
"name": "Aerial Template",
|
||||||
"email": "",
|
"email": "",
|
||||||
"license": "CCA 3.0",
|
"license": "MIT",
|
||||||
"author": "crydotsnake"
|
"author": "Simon Krull"
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user