Added support for custom js

这个提交包含在:
Andreas 2023-11-23 12:14:37 +01:00
父节点 ad6512197b
当前提交 ae2bd9ee94
共有 2 个文件被更改,包括 7 次插入2 次删除

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

查看文件

@ -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)) {