Liquid syntax error: Unknown tag 'endraw'
For further actions, you may consider blocking this person and/or reporting abuse
Liquid syntax error: Unknown tag 'endraw'
For further actions, you may consider blocking this person and/or reporting abuse
Lucas Melo -
Nik Bogachenkov -
Schemetastic (Rodrigo) -
Habib Hinn -
Top comments (10)
Thanks for the great article. One thing I didn't understand is: Where does
home.html
parse{{name}}
from?Using
sed
:Did I answer your question?
Thanks for the reply. Not quite. shouldn't there be a
name=
somewhere?Informative post!
I will let you know, you define the function as
handleRequest
however in one call of it you misname it:cat response | nc -lN 3000 | processRequest
Just want to give big thanks for this awesome post. Seriously great stuff!
The
cat
trick does not work for me. When I try to understand what is happening in Chrome DevTools it shows me this:Apparently the server is not able to parse correctly the HTML file. Did you have this problem before?
never seen this before. maybe OS issue? netcat implementation issue?
anyway, try using \n instead of \r\n
Maybe the problem is the OS or the IDE I'm using (Emacs). I tried setting explicitly the \r\n but it did not work either. But, it worked after I set the headers in the string, and just cat the HTML content, like this:
good catch! yes, unfortunately when dealing with stuff low-level we may face OS/tools implementations issues
Hi, can you wrap it all up in a github repo please if you have not done so already ?