mirror of https://github.com/mashirozx/sakura.git
support hitokoto API
parent
ccb0b6f5da
commit
53ed6a9b69
|
@ -16,6 +16,9 @@ get_header();
|
|||
|
||||
<?php if ( akina_option('head_notice') != '0'){
|
||||
$text = akina_option('notice_title');
|
||||
if ( $text = '' ){
|
||||
$text = file_get_contents("https://v1.hitokoto.cn/?encode=text&charset=utf-8");
|
||||
}
|
||||
?>
|
||||
<div class="notice" style="margin-top:60px">
|
||||
<i class="iconfont icon-notification"></i>
|
||||
|
|
Loading…
Reference in New Issue