Skip to content

missing initialize 'gents' as a slice ? #216

@fenix011

Description

@fenix011

{{ $gents = $gents | append (dict

Unless you previously

		{{ $gents = slice }}
                {{ $gents = $gents | append (dict ... [..]

initialize 'gents' as a slice, you get an ,

 "render: failed to render pages: render of "home" failed: "/home/fenix/hugo-iris/layouts/index.html:242:5": execute of template failed at <.firstname>: can’t evaluate field firstname in type interface {} "

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions