Unexpected EOF for template

calebjasik@Calebs-MacBook-Pro jasik-xyz % hugo --verbose
INFO 2021/03/07 17:20:08 Using config file: 
Start building sites … 
INFO 2021/03/07 17:20:08 syncing static files to /Users/calebjasik/Desktop/Github/jasik-xyz/public/
ERROR 2021/03/07 17:20:10 "/Users/calebjasik/Desktop/Github/jasik-xyz/layouts/_default/single.html:127:1": parse failed: template: _default/single.html:127: unexpected EOF
ERROR 2021/03/07 17:20:10 "/Users/calebjasik/Desktop/Github/jasik-xyz/layouts/_default/single.html:127:1": parse failed: template: _default/single.html:127: unexpected EOF
ERROR 2021/03/07 17:20:10 "/Users/calebjasik/Desktop/Github/jasik-xyz/layouts/_default/single.html:127:1": parse failed: template: _default/single.html:127: unexpected EOF
ERROR 2021/03/07 17:20:10 "/Users/calebjasik/Desktop/Github/jasik-xyz/layouts/_default/single.html:127:1": parse failed: template: _default/single.html:127: unexpected EOF
WARN 2021/03/07 17:20:10 found no layout file for "redir" for kind "home": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
Total in 2870 ms
Error: Error building site: "/Users/calebjasik/Desktop/Github/jasik-xyz/layouts/_default/single.html:127:1": parse failed: template: _default/single.html:127: unexpected EOF
calebjasik@Calebs-MacBook-Pro jasik-xyz % 

The offending file is: https://github.com/jasikpark/jasik-xyz/blob/failing-build/layouts/_default/single.html

Corrupt file, two locations:

Replace </BPGT138EPGT with {{ end }} on both lines.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.