EvanNotFound / hexo-theme-redefine

Simplicity in Speed, Purity in Design. Redefine Your Hexo Journey.
https://redefine.ohevan.com
GNU General Public License v3.0
1.44k stars 119 forks source link

[BUG] 友情链接异常 #239

Closed IcePigeons closed 1 year ago

IcePigeons commented 1 year ago

提交前检查单

Bug 描述 ·······_config.redefine.yml···············

navbar:
  links:
    Friends: #取名随意
      icon: fa-solid fa-link #图标
      path: /links/

·······目录··············· image ········links/index.md············

---
title: Links
date: 2023-09-01 14:16:07
---

·········_data/links.yml···········

- links_category: Elites
  has_thumbnail: true
  list:
    - name: EvanNotFound's Blog
      link: https://ohevan.com
      description: 用香港记者的速度更新文章
      avatar: https://evan.beee.top/avatar.png
      thumbnail: https://img1.imgtp.com/2023/06/19/Jegvz84P.png # has_thumbnail 为 true 时才需要

- links_category: Normal
  has_thumbnail: false
  list:
    - name: Example Site
      link: https://example.com
      description: Example Site Description
      avatar: https://www.youtube.com/watch?v=dQw4w9WgXcQ
    - name: Example Site 2
      link: https://example.com
      description: Example Site Description
      avatar: https://www.youtube.com/watch?v=dQw4w9WgXcQ

- ......

复现方法 跟随友情链接文档进行,但是导航菜单跳转报异常

预期结果 预期应该出现友链页面,但是并没有(操作全按友情链接的文档的操作 https://redefine-docs.ohevan.com/page_templates/friends)

截图 image

电脑(请填写以下信息):

移动端(请填写以下信息):

其他 如有其他内容,请提供

EvanNotFound commented 1 year ago

请确保 links.yml 不要包含

- ......