Testing Commits - Change made to Future Imperfect Theme drafts bug
This commit is contained in:
parent
a77e22d93b
commit
59241f0170
@ -1407,7 +1407,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background: #f4f4f4;
|
background: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
body.is-loading *, body.is-loading *:before, body.is-loading *:after {
|
body.is-loading *, body.is-loading *:before, body.is-loading *:after {
|
||||||
@ -3249,7 +3249,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#intro .logo:before {
|
#intro .logo:before {
|
||||||
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100px' height='100px' viewBox='0 0 100 100' preserveAspectRatio='none' zoomAndPan='disable'%3E%3Cpolygon points='0,0 100,0 100,25 50,0 0,25' style='fill:%23f4f4f4' /%3E%3Cpolygon points='0,100 100,100 100,75 50,100 0,75' style='fill:%23f4f4f4' /%3E%3C/svg%3E");
|
background-image: src("/bl-themes/future-imperfect/img/logo.png");
|
||||||
background-position: top left;
|
background-position: top left;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
@ -3264,8 +3264,8 @@
|
|||||||
|
|
||||||
#intro .logo img {
|
#intro .logo img {
|
||||||
display: block;
|
display: block;
|
||||||
margin-left: -0.25em;
|
margin-left: 0em;
|
||||||
width: 4.5em;
|
width: 4.0em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#intro header h2 {
|
#intro header h2 {
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 1005 B After Width: | Height: | Size: 1.6 KiB |
Binary file not shown.
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 6.1 KiB |
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE HTML>
|
<!DOCTYPE HTML>
|
||||||
<!--
|
<!--
|
||||||
Future Imperfect by HTML5 UP
|
Imperfect by KreativMind
|
||||||
html5up.net | @n33co
|
kreativmind.co | KreativMind
|
||||||
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
|
Bludit CMS
|
||||||
@ -10,6 +10,24 @@ MIT license
|
|||||||
-->
|
-->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
<!-- Include favicon files here -->
|
||||||
|
<link rel="apple-touch-icon" sizes="57x57" href="/apple-icon-57x57.png">
|
||||||
|
<link rel="apple-touch-icon" sizes="60x60" href="/apple-icon-60x60.png">
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="/apple-icon-72x72.png">
|
||||||
|
<link rel="apple-touch-icon" sizes="76x76" href="/apple-icon-76x76.png">
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="/apple-icon-114x114.png">
|
||||||
|
<link rel="apple-touch-icon" sizes="120x120" href="/apple-icon-120x120.png">
|
||||||
|
<link rel="apple-touch-icon" sizes="144x144" href="/apple-icon-144x144.png">
|
||||||
|
<link rel="apple-touch-icon" sizes="152x152" href="/apple-icon-152x152.png">
|
||||||
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-icon-180x180.png">
|
||||||
|
<link rel="icon" type="image/png" sizes="192x192" href="/android-icon-192x192.png">
|
||||||
|
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
||||||
|
<link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png">
|
||||||
|
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
||||||
|
<link rel="manifest" href="/manifest.json">
|
||||||
|
<meta name="msapplication-TileColor" content="#ffffff">
|
||||||
|
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
|
||||||
|
<meta name="theme-color" content="#ffffff">
|
||||||
<!-- Include HTML meta tags -->
|
<!-- Include HTML meta tags -->
|
||||||
<?php include(PATH_THEME_PHP.'head.php') ?>
|
<?php include(PATH_THEME_PHP.'head.php') ?>
|
||||||
</head>
|
</head>
|
||||||
@ -23,12 +41,20 @@ MIT license
|
|||||||
<h1><a href="<?php echo $Site->url() ?>"><?php echo $Site->title() ?></a></h1>
|
<h1><a href="<?php echo $Site->url() ?>"><?php echo $Site->title() ?></a></h1>
|
||||||
<nav class="links">
|
<nav class="links">
|
||||||
<ul>
|
<ul>
|
||||||
<?php
|
<?php $parents = $pagesParents[NO_PARENT_CHAR];
|
||||||
$parents = $pagesParents[NO_PARENT_CHAR];
|
foreach($parents as $Parent)
|
||||||
foreach($parents as $Parent) {
|
{
|
||||||
echo '<li><a href="'.$Parent->permalink().'">'.$Parent->title().'</a></li>';
|
// Check if the parent is published
|
||||||
|
if( $Parent->published() )
|
||||||
|
{
|
||||||
|
echo '<li>';
|
||||||
|
echo '<a href="'.$Parent->permalink().'">
|
||||||
|
<h3>'.$Parent->title().'</h3>
|
||||||
|
<p>'.$Parent->description().'</p>
|
||||||
|
</a>';
|
||||||
|
echo '</li>';
|
||||||
}
|
}
|
||||||
?>
|
} ?>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
<nav class="main">
|
<nav class="main">
|
||||||
|
@ -2,6 +2,11 @@
|
|||||||
"theme-data":
|
"theme-data":
|
||||||
{
|
{
|
||||||
"name": "Future Imperfect",
|
"name": "Future Imperfect",
|
||||||
"description": "Tema limpio y adaptable para todo tipo de dispositivos creado por @n33co portado por Diego Najar para Bludit."
|
"description": "Tema limpio y adaptable para todo tipo de dispositivos creado por @n33co portado por Diego Najar para Bludit.",
|
||||||
|
"author": "n33co",
|
||||||
|
"email": "",
|
||||||
|
"website": "http://html5up.net",
|
||||||
|
"version": "1.0",
|
||||||
|
"releaseDate": "2015-11-01"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -3,8 +3,8 @@
|
|||||||
"email": "",
|
"email": "",
|
||||||
"website": "http://html5up.net",
|
"website": "http://html5up.net",
|
||||||
"version": "1.1",
|
"version": "1.1",
|
||||||
"releaseDate": "2015-11-11",
|
"releaseDate": "2015-11.11",
|
||||||
"license": "CCA 3.0",
|
"license": "CCA 3.0",
|
||||||
"compatible": "1.0,1.1,1.1.2,1.3",
|
"requires": "Bludit v1.1",
|
||||||
"notes": ""
|
"notes": ""
|
||||||
}
|
}
|
||||||
|
@ -1,32 +1,27 @@
|
|||||||
<!-- For each post on this page -->
|
|
||||||
<?php foreach ($posts as $Post): ?>
|
<?php foreach ($posts as $Post): ?>
|
||||||
|
|
||||||
<article class="post">
|
<article class="post">
|
||||||
|
|
||||||
<!-- Show plugins, Hook: Post Begin -->
|
<!-- Plugins Post Begin -->
|
||||||
<?php Theme::plugins('postBegin') ?>
|
<?php Theme::plugins('postBegin') ?>
|
||||||
|
|
||||||
<!-- Post's header -->
|
<!-- Post's header -->
|
||||||
<header>
|
<header>
|
||||||
<!-- Post's title and description -->
|
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<h2><a href="<?php echo $Post->permalink() ?>"><?php echo $Post->title() ?></a></h2>
|
<h2><a href="<?php echo $Post->permalink() ?>"><?php echo $Post->title() ?></a></h2>
|
||||||
<p><?php echo $Post->description() ?></p>
|
<p><?php echo $Post->description() ?></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Post's date, author name and author avatar -->
|
|
||||||
<div class="meta">
|
<div class="meta">
|
||||||
<?php
|
<?php
|
||||||
// Post's username
|
// Get the user who created the post.
|
||||||
$User = $Post->user();
|
$User = $Post->user();
|
||||||
|
|
||||||
if( Text::isNotEmpty($User->firstName()) || Text::isNotEmpty($User->lastName()) ) {
|
// Default author is the username.
|
||||||
// Author = First name and Last name
|
|
||||||
$author = $User->firstName().' '.$User->lastName();
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
// Author = username
|
|
||||||
$author = $User->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();
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<time class="published" datetime="2015-11-01"><?php echo $Post->date() ?></time>
|
<time class="published" datetime="2015-11-01"><?php echo $Post->date() ?></time>
|
||||||
@ -66,7 +61,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<!-- Show plugins, Hook: Post End -->
|
<!-- Plugins Post End -->
|
||||||
<?php Theme::plugins('postEnd') ?>
|
<?php Theme::plugins('postEnd') ?>
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user