adhocteam / pushup

Pushup is for making modern, page-oriented web apps in Go
https://pushup.adhoc.dev
MIT License
840 stars 30 forks source link

Example code mismatch in readme #70

Closed gmbuell closed 1 year ago

gmbuell commented 1 year ago

The example code shown in the png at the top of the readme (coming from file example-syntax-highlighting.png) shows different syntax than the example code under the "Pages in Pushup" section. Namely, "Pages in Pushup" code has "^else" while the image is missing the ^ before the else. Which is correct? Does either work?

llimllib commented 1 year ago

Good catch, the screenshot is wrong and else ought to be ^else