Giter VIP home page Giter VIP logo

Comments (4)

yuang01 avatar yuang01 commented on July 17, 2024 1

确实有问题,我有时间改一改

from hexo-theme-bamboo.

yuang01 avatar yuang01 commented on July 17, 2024

在hexo的souce文件夹下创建一个404.md,之后输入如下内容:

---
title: 404
date: 2019-11-23 21:10:10
type: "404"
layout: "404"
---

然后发布上去,看看有没有效果

from hexo-theme-bamboo.

xingchenxuup avatar xingchenxuup commented on July 17, 2024

image
似乎不行

from hexo-theme-bamboo.

yuang01 avatar yuang01 commented on July 17, 2024

要不这样改也行

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也还可以

https://yuang01.github.io/121

from hexo-theme-bamboo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.