Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法使用Tag主页面 #93

Open
ChengAoShen opened this issue Jul 24, 2023 · 0 comments
Open

无法使用Tag主页面 #93

ChengAoShen opened this issue Jul 24, 2023 · 0 comments
Labels

Comments

@ChengAoShen
Copy link

试图添加Tag页面的时候无法进行添加
_config.yml

menu:
  Home: /
  About: /about
  Tags: /tags
  Archive: /archives

source/tags/index.md

---
title: Tags
layout: tag
---

出现的报错如下

TypeError: /Users/vincishen/hexo_blog/themes/Claudia/layout/widget/widget-post-list.pug:6
    4|         div.columns.is-variable.is-1-tablet.is-3-desktop-only.is-2-widescreen.is-full-width
    5|             section.column
  > 6|                 if page.posts.length > 0
    7|                     each post in page.posts.sort('date', -1).toArray()
    8|                         - var postURL = url_for(post.path)
    9|                         - var imgURL = getPostCoverImg(post)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant