This repository was archived by the owner on Jun 29, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Luz Aramburo
committed
Dec 8, 2017
0 parents
commit 3252c52
Showing
11 changed files
with
243 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Future-Imperfect | ||
Future Imperfect theme for Bludit | ||
|
||
## Compatible | ||
- Bludit v2.0.x | ||
|
||
## Author | ||
- HTML5 UP | ||
- https://html5up.net | ||
|
||
# Notes on how it works | ||
Under the post title there's the description. Homepage shows page break of post if there's one. | ||
|
||
# Possibilities | ||
This is a kick dirty version, it lacks the menu for example. If you thing this or another feature is missing open a issue. | ||
|
||
## Screenshot | ||
 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<!DOCTYPE HTML> | ||
<html> | ||
<head> | ||
<?php | ||
include(THEME_DIR_PHP.'head.php'); | ||
?> | ||
</head> | ||
<body> | ||
<?php Theme::plugins('siteBodyBegin') ?> | ||
|
||
<!-- Wrapper --> | ||
<div id="wrapper"> | ||
|
||
<!-- Main --> | ||
<div id="main"> | ||
|
||
<?php | ||
if ($Url->whereAmI()=='page') { | ||
include(THEME_DIR_PHP.'page.php'); | ||
} | ||
else { | ||
include(THEME_DIR_PHP.'home.php'); | ||
} | ||
?> | ||
|
||
</div> | ||
|
||
<!-- Sidebar --> | ||
<?php | ||
include(THEME_DIR_PHP.'sidebar.php'); | ||
?> | ||
|
||
</div> | ||
|
||
<!-- Scripts --> | ||
<script src="assets/js/jquery.min.js"></script> | ||
<script src="assets/js/skel.min.js"></script> | ||
<script src="assets/js/util.js"></script> | ||
<!--[if lte IE 8]><script src="assets/js/ie/respond.min.js"></script><![endif]--> | ||
<script src="assets/js/main.js"></script> | ||
<?php Theme::plugins('siteBodyEnd') ?> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"theme-data": | ||
{ | ||
"name": "Future Imperfect", | ||
"description": "Good option to create a blog/magazine, with a full support of cover images and plugins." | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"author": "HTML5Up", | ||
"email": "", | ||
"website": "https://html5up.net", | ||
"version": "1.0", | ||
"releaseDate": "2017-10-12", | ||
"license": "CCA 3.0", | ||
"compatible": "2.0", | ||
"notes": "" | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
echo Theme::charset('utf-8'); | ||
echo Theme::viewport('width=device-width, initial-scale=1, user-scalable=no'); | ||
|
||
echo Theme::headTitle(); | ||
echo Theme::headDescription(); | ||
|
||
echo Theme::favicon('assets/favicon.png'); | ||
|
||
echo Theme::fontAwesome(); | ||
|
||
echo Theme::css('assets/css/main.css'); | ||
|
||
// Load plugins with the hook siteHead | ||
Theme::plugins('siteHead'); | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
<?php foreach ($pages as $page): ?> | ||
<article class="post"> | ||
<header> | ||
<div class="title"> | ||
<h2><a href="<?php echo $page->permalink() ?>"><?php echo $Page->title() ?></a></h2> | ||
<p><?php echo $Page->description() ?></p> | ||
</div> | ||
<div class="meta"> | ||
<time class="published" datetime="<?php echo $page->date() ?>"><?php echo $page->date() ?></time> | ||
<?php | ||
// Get the user who created the post. | ||
$User = $Page->user(); | ||
|
||
// Default author is the username. | ||
$author = $User->username(); | ||
|
||
// If the user complete the first name or last name this will be the author. | ||
if( Text::isNotEmpty($User->firstName()) || Text::isNotEmpty($User->lastName()) ) { | ||
$author = $User->firstName().' '.$User->lastName(); | ||
} ?> | ||
<span class="category"><?php $Language->p('Category') ?>: <a href="'<?php HTML_PATH_ROOT.$Url->filters('category').'/'.$page->categoryKey() ?>'"><?php echo $page->category() ?></a></span> | ||
<span class="author name"><?php echo $author ?></span> | ||
</div> | ||
</header> | ||
<?php if( $page->coverImage() ) { ?> | ||
<a href="<?php echo $page->permalink() ?>" class="image featured"><img src="<?php echo $page->coverImage() ?>" alt="<?php echo $page->slug() ?>"></a> | ||
<?php } ?> | ||
<?php echo $Page->content(false) ?> | ||
<footer> | ||
<ul class="actions"> | ||
<li><a href="<?php echo $page->permalink() ?>" class="button big"><?php $Language->p('Read more') ?></a></li> | ||
</ul> | ||
<ul class="stats"> | ||
<?php | ||
$tags = $Page->tags(true); | ||
|
||
foreach($tags as $tagKey=>$tagName) { | ||
echo '<li><a href="'.HTML_PATH_ROOT.$Url->filters('tag').'/'.$tagKey.'">'.$tagName.'</a></li>'; | ||
} | ||
?> | ||
</ul> | ||
</footer> | ||
</article> | ||
<?php endforeach ?> | ||
|
||
|
||
<ul class="actions pagination"> | ||
<?php if(Paginator::showPrev()) { ?> | ||
<li><a class="button big previous" href="<?php echo Paginator::prevPageUrl() ?>"><?php echo $Language->get('Previous page') ?></a></li> | ||
<?php } else { ?> | ||
<li><a href="#" class="disabled button big previous"><?php echo $Language->get('Previous page') ?></a></li> | ||
<?php } ?> | ||
|
||
<?php if(Paginator::showNext()) { ?> | ||
<li><a class="button big next" href="<?php echo Paginator::nextPageUrl() ?>"><?php echo $Language->get('Next page') ?></a></li> | ||
<?php } else { ?> | ||
<li><a href="#" class="disabled button big next"><?php echo $Language->get('Next page') ?></a></li> | ||
<?php } ?> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<article class="post"> | ||
<header> | ||
<div class="title"> | ||
<h2><a href="<?php echo $page->permalink() ?>"><?php echo $Page->title() ?></a></h2> | ||
<p><?php echo $Page->description() ?></p> | ||
</div> | ||
<div class="meta"> | ||
<time class="published" datetime="<?php echo $page->date() ?>"><?php echo $page->date() ?></time> | ||
<?php | ||
// Get the user who created the post. | ||
$User = $Page->user(); | ||
|
||
// Default author is the username. | ||
$author = $User->username(); | ||
|
||
// If the user complete the first name or last name this will be the author. | ||
if( Text::isNotEmpty($User->firstName()) || Text::isNotEmpty($User->lastName()) ) { | ||
$author = $User->firstName().' '.$User->lastName(); | ||
} ?> | ||
<span class="category"><?php $Language->p('Category') ?>: <a href="'<?php HTML_PATH_ROOT.$Url->filters('category').'/'.$page->categoryKey() ?>'"><?php echo $page->category() ?></a></span> | ||
<span class="author name"><?php echo $author ?></span> | ||
</div> | ||
</header> | ||
<?php if( $page->coverImage() ) { ?> | ||
<a href="<?php echo $page->permalink() ?>" class="image featured"><img src="<?php echo $page->coverImage() ?>" alt="<?php echo $page->slug() ?>"></a> | ||
<?php } ?> | ||
<?php echo $Page->content(false) ?> | ||
<footer> | ||
<ul class="actions"> | ||
<li></li> | ||
</ul> | ||
<ul class="stats"> | ||
<?php | ||
$tags = $Page->tags(true); | ||
|
||
foreach($tags as $tagKey=>$tagName) { | ||
echo '<li><a href="'.HTML_PATH_ROOT.$Url->filters('tag').'/'.$tagKey.'">'.$tagName.'</a></li>'; | ||
} | ||
?> | ||
</ul> | ||
</footer> | ||
</article> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<section id="sidebar"> | ||
|
||
<!-- Intro --> | ||
<section id="intro"> | ||
<header> | ||
<h1><a href="<?php echo $Site->url() ?>"><?php echo $Site->title() ?></a></h2> | ||
<p><?php echo $Site->slogan() ?></p> | ||
</header> | ||
|
||
<ul class="icons"> | ||
<?php | ||
if ($Site->twitter()) { | ||
echo '<li><a href="'.$Site->twitter().'" class="icon fa-twitter"><span class="label">Twitter</span></a></li>'; | ||
} | ||
if ($Site->facebook()) { | ||
echo '<li><a href="'.$Site->facebook().'" class="icon fa-facebook"><span class="label">Facebook</span></a></li>'; | ||
} | ||
if ($Site->instagram()) { | ||
echo '<li><a href="'.$Site->instagram().'" class="icon fa-instagram"><span class="label">Instagram</span></a></li>'; | ||
} | ||
if ($Site->github()) { | ||
echo '<li><a href="'.$Site->github().'" class="icon fa-github"><span class="label">Github</span></a></li>'; | ||
} | ||
if ($Site->codepen()) { | ||
echo '<li><a href="'.$Site->codepen().'" class="icon fa-codepen"><span class="label">Codepen</span></a></li>'; | ||
} | ||
// Check if the plugin RSS is enabled | ||
if (pluginEnabled('RSS')) { | ||
echo '<li><a href="'.$Site->rss().'" class="icon fa-rss"><span class="label">RSS</span></a></li>'; | ||
} | ||
// Check if the plugin Sitemap is enabled | ||
if (pluginEnabled('sitemap')) { | ||
echo '<li><a href="'.$Site->sitemap().'" class="icon fa-sitemap"><span class="label">Sitemap</span></a></li>'; | ||
} | ||
?> | ||
</ul> | ||
</section> | ||
|
||
<section> | ||
|
||
<?php Theme::plugins('siteSidebar') ?> | ||
|
||
<!-- Footer --> | ||
<section id="footer"> | ||
<p class="copyright">© <?php echo $Site->title() ?>. Design: <a href="http://html5up.net" target="_blank">HTML5 UP</a>. Bludit version: <a href="https://github.com/Turqueso" target="_blank">Turqueso</a>.</p> | ||
</section> | ||
|
||
</section> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.