<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>jakei</author_name>
  <author_url>https://blog.hatena.ne.jp/jakei/</author_url>
  <blog_title>Invalid Token</blog_title>
  <blog_url>https://jakei.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>Layoutの中で、パーシャル使えるんだ、ということを今日知った。Layout自体、複数のテンプレートから共有されてる物だから、その中の一部をパーシャルにして『何が嬉しいんだ、もっとDRY？』という気もするけれど、整理整頓が、大事かなぁとおもって。テンプレートがデッカくなると、メインテナンスが大変だし。それと、パーシャルにしたかった部分が、ナビゲーション・バーみたいな物だったり、ブレッドクラムみたいな物だったりなので、現在のページを示すのに、リンクの下にアンダーラインを引いたりとか、そういう、細いロジックをダラダラ書くより、分けといたほうが良いかと。それと、覚え書き。テンプレートの中で &lt;% …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjakei.hatenadiary.org%2Fentry%2F20080401&quot; title=&quot;Layoutの中でパーシャル - Invalid Token&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>2008-04-01 00:00:00</published>
  <title>Layoutの中でパーシャル</title>
  <type>rich</type>
  <url>https://jakei.hatenadiary.org/entry/20080401</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
