Closed geloangelia closed 7 years ago
jekyll 3.4.0 | Error: undefined method `downcase' for nil:NilClass
Hi difficult to understand what the error is without sources.
main main guess is that the field "name" in the yaml specification has some issues. Could you please check the following:
page_gen
directive)name
reference a field which is non-nil for each record you would like to generate pages for? (e.g. all the records in your _data have a non-nil content for the field specified in name
)Otherwise, if you can send me the data you are using to generate the pages, I can try and have a look.
Heres my repository:
Hi @avillafiorita Im not getting the error once I change the data from "name" field.
Unfortunately, The links is showing in the header on my html and not on a specific page/layout.
Hi- Links showing in the header seems to be a feature of the "minima" template and is not related to this plugin.
You also need to use datapage_url
for links to work properly.
For instance:
{% for item in site.data.vclist %} {% endfor %}
will generate a link to the page built from the record in vclist
identified by Name
. The link expects the page to be in the directory vclistcontent
.
I will make the description of datapage_url
clearer in the readme. I am closing this bug.
I havent put a code to list the names. but its automatically showing on my header. Is followed all steps
Links showing in the header seems to be a feature of the "minima" template (your site is using) and is not related to this plugin.
Hi i used your plugin but its giving me this error:
D:\Gelo Files\Github\vcsites>jekyll build WARN: Unresolved specs during Gem::Specification.reset: rb-inotify (>= 0.9.7, ~> 0.9) WARN: Clearing out unresolved specs. Please report a bug if this causes problems. Configuration file: D:/Gelo Files/Github/vcsites/_config.yml Source: D:/Gelo Files/Github/vcsites Destination: D:/Gelo Files/Github/vcsites/_site Incremental build: disabled. Enable with --incremental Generating... jekyll 3.4.0 | Error: undefined method `downcase' for nil:NilClass