Open prologic opened 5 years ago
Added some extra logging and I see attrs
has this:
2019/01/14 01:02:17 templates.go:171: Error executing func "if": must have 2 or 3 arguments to #if, got 1: [{{ template error: unknown template: "Wikipedia:Main_Page/Tomorrow", args: [] }}]
Ahh! This won't run outside of the source directory?
At least now I get a nice 404 :)
Have you tried using other pages? The homepage of Wikipedia is sort of a pathological case for wikigopher since it's heavily template based. This project doesn't implement all of the template language and there's probably some large gaps/bugs in it.
I'd be happy to accept pull requests to get it working though :smiley:
Most pages should work just fine.
Okay thanks for the heads up ! I’ll try to skip those pesky front pages 😁
On Mon, 14 Jan 2019 at 12:11, Tristan Rice notifications@github.com wrote:
Have you tried using other pages? The homepage of Wikipedia is sort of a pathological case for wikigopher since it's heavily template based. This project doesn't implement all of the template language and there's probably some large gaps/bugs in it.
I'd be happy to accept pull requests to get it working though 😃
Most pages should work just fine.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/d4l3k/wikigopher/issues/2#issuecomment-453887660, or mute the thread https://github.com/notifications/unsubscribe-auth/ABOv-lPeLhTvI3WN05LrxL0fl4jnoRN6ks5vC-c5gaJpZM4Z9Nas .
--
James Mills / prologic
E: prologic@shortcircuit.net.au W: prologic.shortcircuit.net.au
Unsure how this bug is triggering; but posting here for visibility: