Replies: 3 comments 2 replies
-
Just my personal opinion: "Twig style" looks cleaner. I just can't look at a PHP + HTML mixed-mess. |
Beta Was this translation helpful? Give feedback.
-
I like the Twig template model it provides a cleaner model view control implementation. |
Beta Was this translation helpful? Give feedback.
-
Personally, I would prefer plain PHP with HTML. Looking at the images above, Twig is not cleaner - there's actually more code using Twig - not to mention the ugly double-brackets. But the big thing for me would be having to learn another "language" when PHP works just fine. If you do decide to incorporate Twig, please go with option 3 so we're not forced into using it. Thanks! |
Beta Was this translation helpful? Give feedback.
-
[crossposting from Twitter]
People who code stuff for YOURLS : if YOURLS had support for custom themes, would you prefer it with:
Or maybe
Please respond with a "reaction" (upper right corner of this issue) in order to limit the number of emails sent to everybody watching this repo :)
Beta Was this translation helpful? Give feedback.
All reactions