Which do you prefer and best for your needs and the reasons
I like Gatsby and Hugo. I Ditched Hugo because I disliked its templating syntax, but that is a silly reason, just didn't like it.
{{ $title := .Site.Title }} <ul> {{ range .Params.tags }} <li> <a href="/tags/{{ . | urlize }}">{{ . }}</a> - {{ $title }} </li> {{ end }} </ul>
I tried Gatsby and felt in love with it. Things like styled components and another few from the react ecosystem make Gatsby very attractive and fun to use. Another plus is that I can use my react experiments in my personal site and vice versa.
+1. It reminds me of PHP -> too many special characters for no good reason.
Why you complicate your code with that code?
What if make your code simpler like this?
<ul> {{ range .Params.tags }} <li> <a href="/tags/{{ . | urlize }}">{{ . }}</a> - {{ .Site.Title }} </li> {{ end }} </ul>
I copy pasted it from hugo itself, ask the developer :).
Besides, that variable that you removed it's probably used in more parts of the code I copy-pasted.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Which do you prefer and best for your needs and the reasons
I like Gatsby and Hugo. I Ditched Hugo because I disliked its templating syntax, but that is a silly reason, just didn't like it.
I tried Gatsby and felt in love with it. Things like styled components and another few from the react ecosystem make Gatsby very attractive and fun to use. Another plus is that I can use my react experiments in my personal site and vice versa.
+1. It reminds me of PHP -> too many special characters for no good reason.
Why you complicate your code with that code?
What if make your code simpler like this?
I copy pasted it from hugo itself, ask the developer :).
Besides, that variable that you removed it's probably used in more parts of the code I copy-pasted.