mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 02:14:13 +00:00
Added support for custom js
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -11,6 +11,7 @@
|
||||
/images/eqsl_card_images/*.jpg
|
||||
/updates/clublog_scp.txt
|
||||
/assets/qslcard/*
|
||||
/assets/js/sections/custom.js
|
||||
.idea/*
|
||||
.DS_Store
|
||||
sync.sh
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<meta name="mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="default">
|
||||
<link rel="manifest" href="<?php echo base_url(); ?>manifest.json"/>
|
||||
|
||||
|
||||
<!-- Bootstrap CSS -->
|
||||
<?php if ($this->optionslib->get_theme()) { ?>
|
||||
<link rel="stylesheet" href="<?php echo base_url(); ?>assets/css/<?php echo $this->optionslib->get_theme(); ?>/bootstrap.min.css">
|
||||
@@ -54,6 +54,10 @@
|
||||
echo '<link rel="stylesheet" href="' . base_url() . 'assets/css/custom.css">';
|
||||
} ?>
|
||||
|
||||
<?php if (file_exists(APPPATH . '../assets/js/sections/custom.js')) {
|
||||
echo '<script src="' . base_url() . 'assets/js/sections/custom.js"></script>';
|
||||
} ?>
|
||||
|
||||
<link rel="icon" href="<?php echo base_url(); ?>favicon.ico">
|
||||
|
||||
<title><?php if (isset($page_title)) {
|
||||
@@ -416,4 +420,4 @@
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</nav>
|
||||
|
||||
Reference in New Issue
Block a user