Comments (4)
确实有问题,我有时间改一改
from hexo-theme-bamboo.
在hexo的souce文件夹下创建一个404.md,之后输入如下内容:
---
title: 404
date: 2019-11-23 21:10:10
type: "404"
layout: "404"
---
然后发布上去,看看有没有效果
from hexo-theme-bamboo.
from hexo-theme-bamboo.
要不这样改也行
在source
文件夹下创建404.md
页面,然后输入以下内容:
---
title: '页面未找到'
date: 2019-11-23 21:10:10
onlyTitle: true
toc: false
donate: false
share: false
copyright: false
img: https://pic3.zhimg.com/80/378da4d6e6ac67c5bcd1d63d76f65d81_1440w.jpg?source=1940ef5c
---
{% p center large, 404 %}
{% p center large, 很抱歉,您访问的页面不存在 %}
{% p center small, 可能是输入地址有误或该地址已被删除 %}
{% btn center large, 返回首页, /, fa fa-home %}
感觉这种404也还可以
from hexo-theme-bamboo.
Related Issues (20)
- 几点反馈 HOT 2
- `{% link %}` tag doesn't handle ENGLISH titles with a comma (,)
- _config.yml里的tab和空格问题 HOT 1
- 球球大佬浇浇,Cannot GET /tags/ HOT 7
- 求助!!(好像是bug HOT 2
- 阅读量好像有点bug,貌似不是计算单个文章的阅读量,而是所有文章 HOT 35
- 数学公式,嵌入行内貌似无法显示
- 不错
- 求助 HOT 2
- 求助 HOT 2
- 添加不了友链 HOT 4
- 博主,文章详情页的topImg怎么实现透明呢 HOT 1
- 可以添加多语言吗? HOT 1
- 是否可以自己添加一个页面? HOT 2
- 如何在自定义文件里获取全量page信息
- 官方文档有误 HOT 1
- 移动端从菜单进入其他页面后无法滚动
- 新问题来了!页脚顺序好像怎么改都是在下面的 我想在上方显示 HOT 6
- 如何设置页面宽度 HOT 1
- 来个手机页面啊大佬 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hexo-theme-bamboo.