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

卡在list_categories無法generate #3

Open
s1hon opened this issue Jun 22, 2015 · 0 comments
Open

卡在list_categories無法generate #3

s1hon opened this issue Jun 22, 2015 · 0 comments

Comments

@s1hon
Copy link

s1hon commented Jun 22, 2015

我使用hexo 3.1.1要generate的時候,總是會出現

Unhandled rejection TypeError: /Users/sean/Developer/opjlmi/themes/athena/layout/page.ejs:1
 >> 1| <%- partial('_partial/page', {post: page, index: true}) %>

/Users/sean/Developer/opjlmi/themes/athena/layout/_partial/page.ejs:8
    6|       </header>
    7|     <% } %>
 >> 8|     <%- partial('post/category') %>
    9|   </div>
    10|   <div class="article-page-inner">
    11|     <div class="article-entry" itemprop="articleBody">

/Users/sean/Developer/opjlmi/themes/athena/layout/_partial/post/category.ejs:3
    1| <% if (post.categories && post.categories.length){ %>
    2|   <div class="article-category">
 >> 3|     <%- list_categories(post.categories, {
    4|       show_count: false,
    5|       class: 'article-category',
    6|       style: 'none',

undefined is not a function

但是使用原本的huno樣式就不會有這些問題,
想請問一下是不是athena的bug?

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

No branches or pull requests

1 participant