<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sirakabaararagi</author_name>
  <author_url>https://blog.hatena.ne.jp/sirakabaararagi/</author_url>
  <blog_title>ウェブ家の備忘録</blog_title>
  <blog_url>https://sirakabaararagi.hatenablog.com/</blog_url>
  <categories>
    <anon>はてなブログ</anon>
    <anon>HTML</anon>
    <anon>JavaScript</anon>
    <anon>CSS</anon>
  </categories>
  <description>はてなブログ内でPC表示・スマートフォン表示で別内容を表示する方法を、はてなブログ公式が機能か何かで準備してくれているだろうと散々色々調べましたが、多分はてなブログは機能もそれらしい変数も持ち合わせてなかったんで、一日苦悩して私なりのやり方を見つけました。やり方 PC表示のレイアウトではヘッダーが表示できます。（ヘッダーは「デザイン→カスタマイズ→ヘッダ→タイトル下」で編集可能） スマートフォン表示のレイアウトではヘッダーは基本表示されません。（※） なので、ヘッダーにJavaScriptで変数を作ってそれをフラグにすれば、今見ている画面がPC表示かスマートフォン表示かが区別できて、ひいては出…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirakabaararagi.hatenablog.com%2Fentry%2F2022%2F01%2F15%2F034119&quot; title=&quot;はてなブログでPC表示・スマートフォン表示で別内容にする方法 - ウェブ家の備忘録&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>2022-01-15 03:41:19</published>
  <title>はてなブログでPC表示・スマートフォン表示で別内容にする方法</title>
  <type>rich</type>
  <url>https://sirakabaararagi.hatenablog.com/entry/2022/01/15/034119</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
