Giter VIP home page Giter VIP logo

Comments (6)

welcome avatar welcome commented on September 18, 2024

Thanks for opening this issue, maintainers will get back to you as soon as possible!

from hexo-theme-next.

Leao9203 avatar Leao9203 commented on September 18, 2024

是想要修改 layout/_partials/footer.njk 来提一个 PR 的,但是由于不太懂 next_url 函数所代表的含义及其语法,就没有提。

有关指向链接的问题,目前 MPS 的查询方式已经修改了,因次其访问链接也有所不同。虽然目前的链接会被正常重定向到新的访问链接,但是不知道未来 MPS 会不会去除掉,而且对于已经备案过的网站,不及时修改“可能”会有一些风险。修改方式如下:
将第 8 行中的
http://www.beian.gov.cn/portal/registerSystemInfo?recordcode= 修改为 https://beian.mps.gov.cn/#/query/webSearch?code= 既可。

from hexo-theme-next.

stevenjoezhang avatar stevenjoezhang commented on September 18, 2024

好的,谢谢反馈

from hexo-theme-next.

stevenjoezhang avatar stevenjoezhang commented on September 18, 2024

@Leao9203 我无法复现问题1,gongan_icon_urlgongan_num 默认是显示于同一行的,你能帮忙确认一下吗?

from hexo-theme-next.

Leao9203 avatar Leao9203 commented on September 18, 2024

@Leao9203 我无法复现问题1,gongan_icon_urlgongan_num 默认是显示于同一行的,你能帮忙确认一下吗?

当然可以!
通过在 _config.yaml 中配置 gongan_icon_urlgongan_num

图片

hexo s 临时运行博客,并访问,便会在页面底部呈现出这样的情况,icon 的比例为 36x40 px

图片

但是如果我通过自定义 footer.njk 手动写 HTML 代码的话,是能够正常显示在同一行的,icon 通过 css 缩放为 18x20 px

图片

所提到的内容如下:

  1. icon 图片,格式为 WebP,尺寸为 36x40 px

mps_beian.zip

  1. HTML 代码
<div>
  <img src="图片链接" alt="" style="display: inline-block; vertical-align: middle; width: 18px; height: 20px">
  <a href="https://beian.mps.gov.cn/#/query/webSearch?code=*********" rel="noreferrer" target="_blank">*公网安备********</a>
</div>

from hexo-theme-next.

Leao9203 avatar Leao9203 commented on September 18, 2024

草 我好像找到问题所在了,原因十分甚至九分的荒谬(

原因是因为我的博客网站为了加速,将 CSS 之类的文件和 post 进行了分离,所引用的 CSS 为今年 5 月份时 NexT 的 CSS,当 NexT 更新的时候, 我并没有及时跟进,导致出现了这个问题。

图片

更糟糕的是,我还在 _config.yaml 中让 Hexo 忽略了 CSS 等文件,以至于 CSS 文件一直没有被更新。

图片

目前通过跟进 CSS 文件之后,目前博客网站的显示已恢复正常。

图片

在此感谢 @stevenjoezhang 的热心测试

from hexo-theme-next.

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.