Compare commits

...

6 Commits
1.0 ... master

Author SHA1 Message Date
Simon Krull
7ff5a34434 Update Social Network Code 2020-04-15 11:41:59 +02:00
Simon Krull
403a2a6c8f fix endforeach code 2020-03-16 19:40:44 +01:00
Simon
4431ec9597
Add foreach loop 2020-03-16 19:38:39 +01:00
Simon
9463557e82
Fix syntax. 2020-03-16 18:52:49 +01:00
Simon
22cf0eac92
Update license to CCA 3.0. 2020-03-16 18:47:39 +01:00
Simon
0546c10f80
Update author username. 2020-03-15 17:34:41 +01:00
3 changed files with 22 additions and 9 deletions

View File

@ -2,16 +2,29 @@
<?php include(THEME_DIR_PHP.'header.php'); ?>
<header id="header">
<?php foreach($content as $page): ?>
<h1><?php echo $page->title(); ?></h1>
<p><?php echo $page->content(); ?></p>
<?php endforeach ?>
<nav>
<ul>
<li><a target="_blank" href="<?php echo $site->twitter() ?>" class="icon brands fa-twitter"><span class="label">Twitter</span></a></li>
<li><a target="_blank" href="<?php echo $site->facebook() ?>" class="icon brands fa-facebook-f"><span class="label">Facebook</span></a></li>
<li><a target="_blank" href="<?php echo $site->github() ?>" class="icon brands fa-github"><span class="label">Github</span></a></li>
<?php
if ($site->twitter()){
echo '<li><a target="_blank" href="'.$site->twitter().'" class="icon brands fa-twitter"></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>
</nav>
</header>
<!-- Footer -->
<?php include(THEME_DIR_PHP.'footer.php'); ?>
<?php include(THEME_DIR_PHP.'footer.php'); ?>

View File

@ -4,5 +4,5 @@
{
"name": "Aerial",
"description": "Tuna simple plantilla de html5up.net."
},
}
}
}

View File

@ -1,6 +1,6 @@
{
"name": "Aerial Template",
"email": "",
"license": "MIT",
"author": "Simon Krull"
}
"license": "CCA 3.0",
"author": "crydotsnake"
}