You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.1 KiB
35 lines
1.1 KiB
3 years ago
|
<style type="text/css">
|
||
|
/* don't remove. */
|
||
|
.about-cover {
|
||
|
height: 90.2vh;
|
||
|
}
|
||
|
</style>
|
||
|
<div class="bg-cover pd-header about-cover">
|
||
|
<div class="container">
|
||
|
<div class="row">
|
||
|
<div class="col s10 offset-s1 m8 offset-m2 l8 offset-l2">
|
||
|
<div class="brand">
|
||
|
<div class="title center-align">
|
||
|
404
|
||
|
</div>
|
||
|
<div class="description center-align">
|
||
|
<%= page.description %>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<% if (theme.banner.enable) { %>
|
||
|
<script>
|
||
|
// 每天切换 banner 图. Switch banner image every day.
|
||
|
var bannerUrl = "<%- theme.jsDelivr.url %><%- url_for('/medias/banner/') %>" + new Date().getDay() + '.jpg';
|
||
|
$('.bg-cover').css('background-image', 'url(' + bannerUrl + ')');
|
||
|
</script>
|
||
|
<% } else { %>
|
||
|
<script>
|
||
|
$('.bg-cover').css('background-image', 'url(<%- theme.jsDelivr.url %><%- url_for('/medias/banner/0.jpg') %>)');
|
||
|
</script>
|
||
|
<% } %>
|