Skip to content

Add "octopress-genesis-them", do "jekyll build", then error "undefined method 'docs'..." #49

@seraph115

Description

@seraph115

#1. Error like this,
$ jekyll build
Configuration file: /Users/seraph/code/ruby-space/blog/_config.yml
Source: /Users/seraph/code/ruby-space/blog
Destination: /Users/seraph/code/ruby-space/blog/_site
Generating...
jekyll 2.5.3 | Error: undefined method 'docs' for [<Post: /2016/12/15/my-title>]:Array

2. Gemfile
source 'https://ruby.taobao.org/'
gem 'octopress', '~> 3.0.4'
group :jekyll_plugins do
gem 'octopress-genesis-theme'
end

3. _config.yml
post_ext: markdown
page_ext: html

post_layout: theme:post
page_layout: theme:page

titlecase: true

post_template: post
page_template: page
draft_template: draft

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions