<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sasakix10</author_name>
  <author_url>https://blog.hatena.ne.jp/sasakix10/</author_url>
  <blog_title>sasakix10’s diary</blog_title>
  <blog_url>https://sasakix10.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>・動的に出力とは？ 「状況に合わせて選択できたりする柔軟性」 🟢実装方法 1 . app/views/layouts/application.html.erbのheadタグ内にyield文を記載。 &lt;title&gt;&lt;%= page_title(yield(:title)) %&gt;&lt;/title&gt; 2 . app/helpers/application_helper.rbでpege_titleメソッドを定義。 page_titleの引数にはデフォルト値として空文字を指定。 これにより引数が渡されなかったとしても空文字(””)がpage_titleに代入され、メソッド内の演算で使用される。 そして、三…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsasakix10.hateblo.jp%2Fentry%2F2021%2F05%2F25%2F201901&quot; title=&quot;⭐️タイトルを動的に出力する - sasakix10’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>https://i.gyazo.com/94c6fa938f2fe3266a30b5991012bf00.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-05-25 20:19:01</published>
  <title>⭐️タイトルを動的に出力する</title>
  <type>rich</type>
  <url>https://sasakix10.hateblo.jp/entry/2021/05/25/201901</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
