Буферизованному коду не может быть прикреплен блок - pug - PullRequest
0 голосов
/ 04 ноября 2019

к чему это относится? строка 13 - это "a (href = '/ current / post /' + post.key)"

mixin post(post)

    .col-lg-4.col-md-4
        .panel.panel-default
            .panel-body
                a(href='/current/post/' + post.key)
                    if post.image.exists
                        img(src=post._.image.fit()).img-responsive
                    else
                        img(src="http://placehold.it/250x250").img-responsive
            .panel-footer
                != post.content.brief
                    a(href='/current/post/' + post.key)
                        read read more
...