- title(); ?>
+
+ title(); ?>
@@ -38,9 +38,9 @@
dateFormat() == 'relative') : ?>
-
+
-
+
get('Reading time') . ': ' . $page->readingTime(); ?>
@@ -48,12 +48,12 @@
readMore()) : ?>
- contentBreak(); ?>
+ contentBreak(); ?>
description()) : ?>
- description(); ?>
+ description(); ?>
- contentBreak(); ?>
+ contentBreak(); ?>
diff --git a/bl-themes/defaultTheme/php/page.php b/bl-themes/defaultTheme/php/page.php
index a56d99fc..6c0cce89 100644
--- a/bl-themes/defaultTheme/php/page.php
+++ b/bl-themes/defaultTheme/php/page.php
@@ -1,12 +1,12 @@
-
+
-
- title(); ?>
+
+ title(); ?>
@@ -17,18 +17,18 @@
isStatic() && !$url->notFound()) : ?>
-
+
get('Reading time') . ': ' . $page->readingTime(); ?>
description()) : ?>
- description(); ?>
+ description(); ?>
-
+
content(); ?>
isStatic() && !$url->notFound()) : ?>
@@ -45,20 +45,20 @@
-
+
-
+
- user('description'); ?>
+ user('description'); ?>
user('homepage')):?>
- - Homepage
+ - Homepage
user('socials') as $key => $social):?>
- name; ?>
diff --git a/bl-themes/defaultTheme/plugin.php b/bl-themes/defaultTheme/plugin.php
index 7fbb51b4..320768c5 100644
--- a/bl-themes/defaultTheme/plugin.php
+++ b/bl-themes/defaultTheme/plugin.php
@@ -75,7 +75,8 @@ class defaultTheme extends Plugin
if ($this->getValue('banner') == '') {
return '';
}
- return new Media($this->getValue('banner'))->permalink();
+ $banner = new Media($this->getValue('banner'));
+ return $banner->permalink();
}
public function backgroundURI()
@@ -83,6 +84,7 @@ class defaultTheme extends Plugin
if ($this->getValue('background') == '') {
return '';
}
- return new Media($this->getValue('background'))->permalink();
+ $background = new Media($this->getValue('background'));
+ return $background->permalink();
}
}
dateFormat() == 'relative') : ?>
-
+
-
+
get('Reading time') . ': ' . $page->readingTime(); ?>
@@ -48,12 +48,12 @@
readMore()) : ?>
- contentBreak(); ?>
+ contentBreak(); ?>
description()) : ?>
- description(); ?>
+ description(); ?>
- contentBreak(); ?>
+ contentBreak(); ?>
diff --git a/bl-themes/defaultTheme/php/page.php b/bl-themes/defaultTheme/php/page.php
index a56d99fc..6c0cce89 100644
--- a/bl-themes/defaultTheme/php/page.php
+++ b/bl-themes/defaultTheme/php/page.php
@@ -1,12 +1,12 @@
-
- title(); ?>
+
+ title(); ?>
@@ -17,18 +17,18 @@
isStatic() && !$url->notFound()) : ?>
-
+
get('Reading time') . ': ' . $page->readingTime(); ?>
description()) : ?>
- description(); ?>
+ description(); ?>
-
+
content(); ?>
isStatic() && !$url->notFound()) : ?>
@@ -45,20 +45,20 @@
get('Reading time') . ': ' . $page->readingTime(); ?>
content(); ?>
isStatic() && !$url->notFound()) : ?>
@@ -45,20 +45,20 @@
-
+
-
user('description'); ?>
+ user('description'); ?>
-
user('homepage')):?>
-
- Homepage +
- Homepage user('socials') as $key => $social):?>
- name; ?> diff --git a/bl-themes/defaultTheme/plugin.php b/bl-themes/defaultTheme/plugin.php index 7fbb51b4..320768c5 100644 --- a/bl-themes/defaultTheme/plugin.php +++ b/bl-themes/defaultTheme/plugin.php @@ -75,7 +75,8 @@ class defaultTheme extends Plugin if ($this->getValue('banner') == '') { return ''; } - return new Media($this->getValue('banner'))->permalink(); + $banner = new Media($this->getValue('banner')); + return $banner->permalink(); } public function backgroundURI() @@ -83,6 +84,7 @@ class defaultTheme extends Plugin if ($this->getValue('background') == '') { return ''; } - return new Media($this->getValue('background'))->permalink(); + $background = new Media($this->getValue('background')); + return $background->permalink(); } }