<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ayaketan</author_name>
  <author_url>https://blog.hatena.ne.jp/ayaketan/</author_url>
  <blog_title>ayaketanのプログラミング勉強日記</blog_title>
  <blog_url>https://ayaketan.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>ログインしていないときにサイドバーにログインフォームを表示し、ログイン時にヘッダーにログアウト機能を設定、ついでにフッターもつけてみた。 ①application.html.erbのbodyを下記のように修正する \app\views\layouts\application.html.erb &lt;body&gt; &lt;div id=&quot;container&quot;&gt; &lt;% if current_user %&gt; &lt;div id=&quot;header&quot;&gt; &lt;%= render &quot;shared/header&quot; %&gt; &lt;/div&gt; &lt;% end %&gt; &lt;div id=&quot;content&quot;&gt; &lt;%= yield %&gt; &lt;/div&gt;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fayaketan.hatenablog.com%2Fentry%2F2012%2F12%2F20%2F113419&quot; title=&quot;Ruby on Rails 部分テンプレート - ayaketanのプログラミング勉強日記&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>http://cdn-ak.f.st-hatena.com/images/fotolife/a/ayaketan/20121220/20121220112944.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-12-20 11:34:19</published>
  <title>Ruby on Rails 部分テンプレート</title>
  <type>rich</type>
  <url>https://ayaketan.hatenablog.com/entry/2012/12/20/113419</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
