<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>podhmo</author_name>
  <author_url>https://blog.hatena.ne.jp/podhmo/</author_url>
  <blog_title>podhmo's diary</blog_title>
  <blog_url>https://pod.hatenablog.com/</blog_url>
  <categories>
    <anon>kamidana</anon>
    <anon>jinja2</anon>
    <anon>python</anon>
  </categories>
  <description>github.com jinja2用のCLIのファイルパスの解決方法を変更した。 なぜファイルパスの解決方法を変更する必要があるのか？ なぜファイルパスの解決方法を変更する必要があるのか？と言うと、デフォルトの解決方法ではコマンドの実行位置に依存してしまうため。 このままの場合にはinclude,extends,importなどjinja2が持つテンプレートを参照するテンプレートが現れる機能を使おうとした瞬間に常に不都合が起きる。 とりあえず、今回はincludeを使った例を考えてみる。 デフォルトの解決方法の場合(NG) デフォルトの解決方法では常に特定のルートの位置からの相対的な位置を指定…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpod.hatenablog.com%2Fentry%2F2019%2F02%2F17%2F020055&quot; title=&quot;jinja2用のCLIのファイルパスの解決方法を変更した - podhmo&amp;#39;s diary&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-02-17 02:00:55</published>
  <title>jinja2用のCLIのファイルパスの解決方法を変更した</title>
  <type>rich</type>
  <url>https://pod.hatenablog.com/entry/2019/02/17/020055</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
