<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>handlebars on 戲中話</title><link>https://blog.iphpo.com/tags/handlebars/</link><description>Recent content in handlebars on 戲中話</description><generator>Hugo</generator><language>zh-tw</language><managingEditor>herb09638@gmail.com (Herb)</managingEditor><webMaster>herb09638@gmail.com (Herb)</webMaster><lastBuildDate>Fri, 31 Mar 2017 00:00:00 +0800</lastBuildDate><atom:link href="https://blog.iphpo.com/tags/handlebars/index.xml" rel="self" type="application/rss+xml"/><item><title>增加Handlebars更多的if判斷</title><link>https://blog.iphpo.com/blog/2017/03/%E5%A2%9E%E5%8A%A0handlebars%E6%9B%B4%E5%A4%9A%E7%9A%84if%E5%88%A4%E6%96%B7/</link><pubDate>Fri, 31 Mar 2017 00:00:00 +0800</pubDate><author>herb09638@gmail.com (Herb)</author><guid>https://blog.iphpo.com/blog/2017/03/%E5%A2%9E%E5%8A%A0handlebars%E6%9B%B4%E5%A4%9A%E7%9A%84if%E5%88%A4%E6%96%B7/</guid><description>&lt;p&gt;&lt;a href="http://stackoverflow.com/a/16315366"&gt;出自這裡&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;handlebars 只有提供簡單的 true, false判斷&lt;/p&gt;
&lt;p&gt;如果要判斷某個值大於多少&lt;/p&gt;
&lt;p&gt;就要另外寫extension了&lt;/p&gt;
&lt;p&gt;在stackoverflow上已經有人寫好完整的extension&lt;/p&gt;
&lt;p&gt;所有比較都在裡面了&lt;/p&gt;</description></item></channel></rss>