As we known Hugo snippet support use - character trim space, it’s useful generate pretty code of HTML. But I want to know is there will make hugo generate site static code more slower?
Not yeah, the theme source files is small under hundred, but if the content files of blog articles too much, I think the generate speed would be slow down.
But I don’t know about Go language, so can’t make sure is the block {{- /* Some logic */ -}} slower than {{/* Some logic */}} , maybe some can help me find the answer, thanks.
@razon@jmooring
Thanks for your code, there look seems the code block of {{/*some logic*/}} were more better. But not matter it’s smaller different not much effect.
Hope this post would help more people who notice the generate speed under Hugo engine.