Skip to content

Commit

Permalink
Change skin default back to 'auto'
Browse files Browse the repository at this point in the history
Regression from preferences refactor
  • Loading branch information
stwalkerster committed Aug 15, 2023
1 parent 1b54ad9 commit a7d0461
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion includes/Fragments/TemplateOutput.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ final protected function setUpSmarty()
$this->smarty->addPluginsDir($this->getSiteConfiguration()->getFilePath() . '/smarty-plugins');

$this->assign('currentUser', User::getCommunity());
$this->assign('skin', 'main');
$this->assign('skin', 'auto');
$this->assign('currentDomain', null);
$this->assign('loggedIn', false);
$this->assign('baseurl', $this->getSiteConfiguration()->getBaseUrl());
Expand Down
2 changes: 1 addition & 1 deletion templates/base.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<!-- bootstrap styles -->
<link href="{$baseurl}/resources/generated/bootstrap-{$skin|escape|default:'main'}.css?{$resourceCacheEpoch}" rel="stylesheet"/>
<link href="{$baseurl}/resources/generated/bootstrap-{$skin|escape|default:'auto'}.css?{$resourceCacheEpoch}" rel="stylesheet"/>

<!-- fontawesome -->
<link href="{$baseurl}/vendor/fortawesome/font-awesome/css/all.min.css" rel="stylesheet"/>
Expand Down

0 comments on commit a7d0461

Please sign in to comment.