<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>opll_inaka</author_name>
  <author_url>https://blog.hatena.ne.jp/opll_inaka/</author_url>
  <blog_title>独学者Fossa</blog_title>
  <blog_url>https://fossa-hobby.hatenablog.com/</blog_url>
  <categories>
    <anon>Free</anon>
  </categories>
  <description>Formをいじっています。 Radioボタンだと、選択肢の内の一つだけクリックするので、文字列。*1 Checkボタンだと、選択肢の中から、いくつかクリックするので、配列。*2 文字列なのか、配列なのか、判定する必要が出てきました。 Nunjucksは、Jinja2に影響を受けているテンプレートエンジンらしいので、探せばすぐ見つかると思いましたが、意外に苦戦しました。 Filterを追加する方法が見つかりました。 使用環境 Name Version node 14.17.1 npm 7.19.0 Nunjucks 3.2.3 node nunjucks.js const fs = requir…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffossa-hobby.hatenablog.com%2Fentry%2F2021%2F06%2F26%2F150000&quot; title=&quot;Nunjucksで、配列判定 - 独学者Fossa&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn.user.blog.st-hatena.com/default_entry_og_image/155078915/1602976959285797</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-06-26 15:00:00</published>
  <title>Nunjucksで、配列判定</title>
  <type>rich</type>
  <url>https://fossa-hobby.hatenablog.com/entry/2021/06/26/150000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
