更新
This commit is contained in:
parent
9c9cfb4196
commit
a539f807a0
@ -3,7 +3,7 @@
|
||||
/* 获取主题当前版本号 */
|
||||
function _getVersion()
|
||||
{
|
||||
return "5.4.1";
|
||||
return "5.4.2";
|
||||
};
|
||||
|
||||
/* 判断是否是手机 */
|
||||
|
@ -186,7 +186,7 @@ function themeConfig($form)
|
||||
NULL,
|
||||
'2019 - 2020 © Reach - <a href="https://as.js.cn" target="_blank" rel="noopener noreferrer">Joe</a>',
|
||||
'自定义底部栏左侧内容(非必填)',
|
||||
'介绍:用于修改全站底部左侧内容 <br>
|
||||
'介绍:用于修改全站底部左侧内容(wap端上方) <br>
|
||||
例如:2019 - 2020 © Reach - Joe '
|
||||
);
|
||||
$JFooter_Left->setAttribute('class', 'joe_content joe_global');
|
||||
@ -198,7 +198,7 @@ function themeConfig($form)
|
||||
'<a href="https://as.js.cn/feed/" target="_blank" rel="noopener noreferrer">RSS</a>
|
||||
<a href="https://as.js.cn/sitemap.xml" target="_blank" rel="noopener noreferrer" style="margin-left: 15px">MAP</a>',
|
||||
'自定义底部栏右侧内容(非必填)',
|
||||
'介绍:用于修改全站底部右侧内容 <br>
|
||||
'介绍:用于修改全站底部右侧内容(wap端下方) <br>
|
||||
例如:<a href="/">首页</a> <a href="/">关于</a>'
|
||||
);
|
||||
$JFooter_Right->setAttribute('class', 'joe_content joe_global');
|
||||
@ -292,6 +292,28 @@ function themeConfig($form)
|
||||
$JCustomScript->setAttribute('class', 'joe_content joe_global');
|
||||
$form->addInput($JCustomScript);
|
||||
|
||||
$JCustomHeadEnd = new Typecho_Widget_Helper_Form_Element_Textarea(
|
||||
'JCustomHeadEnd',
|
||||
NULL,
|
||||
NULL,
|
||||
'自定义增加<head></head>里内容(非必填)',
|
||||
'介绍:此处用于在<head></head>标签里增加自定义内容 <br />
|
||||
例如:可以填写引入第三方css、js等等'
|
||||
);
|
||||
$JCustomHeadEnd->setAttribute('class', 'joe_content joe_global');
|
||||
$form->addInput($JCustomHeadEnd);
|
||||
|
||||
$JCustomBodyEnd = new Typecho_Widget_Helper_Form_Element_Textarea(
|
||||
'JCustomBodyEnd',
|
||||
NULL,
|
||||
NULL,
|
||||
'自定义<body></body>末尾位置内容(非必填)',
|
||||
'介绍:此处用于填写在<body></body>标签末尾位置的内容 <br>
|
||||
例如:可以填写引入第三方js脚本等等'
|
||||
);
|
||||
$JCustomBodyEnd->setAttribute('class', 'joe_content joe_global');
|
||||
$form->addInput($JCustomBodyEnd);
|
||||
|
||||
$JBirthDay = new Typecho_Widget_Helper_Form_Element_Text(
|
||||
'JBirthDay',
|
||||
NULL,
|
||||
|
@ -37,4 +37,6 @@
|
||||
<?php $this->options->JCustomScript() ?>
|
||||
</script>
|
||||
|
||||
<?php $this->options->JCustomBodyEnd() ?>
|
||||
|
||||
<?php $this->footer(); ?>
|
@ -66,4 +66,5 @@
|
||||
<script async src="https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/plugin/smooth/joe.smooth.js"></script>
|
||||
<?php if ($this->options->JCursorEffects && $this->options->JCursorEffects !== 'off') : ?>
|
||||
<script async src="https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/assets/cursor/<?php $this->options->JCursorEffects() ?>"></script>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php $this->options->JCustomHeadEnd() ?>
|
Loading…
Reference in New Issue
Block a user