<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>terakura-aina</author_name>
  <author_url>https://blog.hatena.ne.jp/terakura-aina/</author_url>
  <blog_title>rails　技術ブログ</blog_title>
  <blog_url>https://terakura-aina.hatenablog.com/</blog_url>
  <categories>
    <anon>記事一覧</anon>
  </categories>
  <description>①application.html.erbに各ページのタイトルを受け取れるよう、yieldを記述します &lt;title&gt;&lt;%= full_title(yield(:title)) %&gt;&lt;/title&gt; ②application.html.erbのfull_titleメソッドが使えるよう、ヘルパーで定義します module ApplicationHelper def full_title(page_title = '') base_title = 'タイトル' if page_title.empty? base_title else page_title + ' | ' + base_title …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fterakura-aina.hatenablog.com%2Fentry%2F2020%2F11%2F04%2F141044&quot; title=&quot;content_forを使ってページごとにページのタイトルを変更する - rails　技術ブログ&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>2020-11-04 14:10:44</published>
  <title>content_forを使ってページごとにページのタイトルを変更する</title>
  <type>rich</type>
  <url>https://terakura-aina.hatenablog.com/entry/2020/11/04/141044</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
