pull/295/merge
LinGe 2023-02-07 13:36:47 +08:00 committed by GitHub
commit 81776951b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -50,7 +50,7 @@ class Bilibili
}
$html .= '<div class="column">
<a class="bangumi-item" href="https://bangumi.bilibili.com/anime/' . $list['season_id'] . '/" target="_blank" rel="nofollow">
<img class="bangumi-image" src="' . str_replace('http://', 'https://', $list['cover']) . '"/>
<img class="bangumi-image" referrerPolicy="no-referrer" src="' . str_replace('http://', 'https://', $list['cover']) . '"/>
<div class="bangumi-info">
<h3 class="bangumi-title" title="' . $list['title'] . '">' . $list['title'] . '</h2>
<div class="bangumi-summary"> ' . $list['evaluate'] . ' </div>

View File

@ -3,9 +3,8 @@
/**
Template Name: Bangumi
*/
get_header();
get_header();
?>
<meta name="referrer" content="same-origin">
<style>
#content,.comments,.site-footer{max-width:1200px;}
.comments{display: none}
@ -23,7 +22,7 @@ get_header();
<div class="row">
<?php
$bgm = new \Sakura\API\Bilibili();
echo $bgm->get_bgm_items();
echo $bgm->get_bgm_items();
?>
<?php else: ?>
<div class="row">