aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorivan zlax <zlaxyi@gmail.com>2023-06-02 19:54:59 +0000
committerMario <mario@mariovavti.com>2023-06-02 19:54:59 +0000
commita532a70ac02e3967d87587c210370494c9b32b26 (patch)
tree2054f3918bd41c4f056d3afb89b6d69ea5fbc544
parent904401617a4f4ea866668bcedd6a1f52c60d9ee0 (diff)
downloadvolse-hubzilla-a532a70ac02e3967d87587c210370494c9b32b26.tar.gz
volse-hubzilla-a532a70ac02e3967d87587c210370494c9b32b26.tar.bz2
volse-hubzilla-a532a70ac02e3967d87587c210370494c9b32b26.zip
Update 'full' and 'minimal' layouts to use color_mode functionality
-rw-r--r--view/php/full.php2
-rw-r--r--view/php/minimal.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/view/php/full.php b/view/php/full.php
index d855fb650..cb554724a 100644
--- a/view/php/full.php
+++ b/view/php/full.php
@@ -9,7 +9,7 @@
*/
?>
<!DOCTYPE html >
-<html prefix="og: http://ogp.me/ns#">
+<html prefix="og: http://ogp.me/ns#" <?php if(x($page,'color_mode')) echo $page['color_mode'] ?>>
<head>
<title><?php if(x($page,'title')) echo $page['title'] ?></title>
<script>var baseurl="<?php echo z_root() ?>";</script>
diff --git a/view/php/minimal.php b/view/php/minimal.php
index 3fab0c5f9..b21cefc5e 100644
--- a/view/php/minimal.php
+++ b/view/php/minimal.php
@@ -9,7 +9,7 @@
*/
?>
<!DOCTYPE html >
-<html prefix="og: http://ogp.me/ns#">
+<html prefix="og: http://ogp.me/ns#" <?php if(x($page,'color_mode')) echo $page['color_mode'] ?>>
<head>
<title><?php if(x($page,'title')) echo $page['title'] ?></title>
<script>var baseurl="<?php echo z_root() ?>";</script>