<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Papermod on taka2site.com</title>
    <link>https://taka2site.com/tags/papermod/</link>
    <description>Recent content in Papermod on taka2site.com</description>
    <generator>Hugo</generator>
    <language>ja</language>
    <lastBuildDate>Fri, 17 Jul 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://taka2site.com/tags/papermod/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>【Papermod】WARN修正</title>
      <link>https://taka2site.com/fix-papermod-warn/</link>
      <pubDate>Fri, 17 Jul 2026 00:00:00 +0000</pubDate>
      <guid>https://taka2site.com/fix-papermod-warn/</guid>
      <description>&lt;ul&gt;
&lt;li&gt;hugo: v0.164.0&lt;/li&gt;
&lt;li&gt;papermod: 2026-05-10&lt;/li&gt;
&lt;/ul&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;WARN  deprecated: .Language.LanguageDirection was deprecated in Hugo v0.158.0 and will be removed in a future release. Use .Language.Direction instead.
WARN  deprecated: .Language.LanguageCode was deprecated in Hugo v0.158.0 and will be removed in a future release. Use .Language.Locale instead.
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;WARNなので問題ないけど、layoutファイルでなおりそうだったので、直しておく。&lt;/p&gt;
&lt;p&gt;WARNが出ているファイルは3つ。&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;layouts\baseof.html(.Language.LanguageDirection x 3)&lt;/li&gt;
&lt;li&gt;layouts\rss.xml(.Language.LanguageCode x 1)&lt;/li&gt;
&lt;li&gt;layouts_partials\templates\opengraph.html(.Language.LanguageCode x 1)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;該当箇所を以下のように変更。&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;.Language.LanguageDirection&lt;/code&gt;を&lt;code&gt;.Language.Direction&lt;/code&gt;に変更。&lt;/li&gt;
&lt;li&gt;&lt;code&gt;.Language.LanguageCode&lt;/code&gt;を&lt;code&gt;.Language.Locale instead.&lt;/code&gt;に変更。&lt;/li&gt;
&lt;/ul&gt;</description>
    </item>
  </channel>
</rss>
