hexo-theme-prontera icon indicating copy to clipboard operation
hexo-theme-prontera copied to clipboard

An error happened when i don't have any "friend_links" in config

Open Genesic opened this issue 8 years ago • 1 comments

Unhandled rejection TypeError: /Users/chuhenwei/code/blog/themes/prontera/layout/partial/sidebar.jade:14
    12|     p= __('friend_link')
    13|   - var friend_links = theme.friend_links;
  > 14|   each link in friend_links
    15|     a.link-item(href=link[2] target="_blank")
    16|         div.link-container
    17|           .site-name

Genesic avatar Mar 27 '17 06:03 Genesic

Thanks, it really existed. Please define it on your theme config before next patch. :)

AngryPowman avatar Apr 07 '17 08:04 AngryPowman