<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Hugo on Salt&#39;s blog</title>
    <link>https://saltpp.netlify.app/tags/hugo/</link>
    <description>Recent content in Hugo on Salt&#39;s blog</description>
    <generator>Hugo</generator>
    <language>ja-JP</language>
    <managingEditor>saltpp@gmail.com (Salt)</managingEditor>
    <webMaster>saltpp@gmail.com (Salt)</webMaster>
    <lastBuildDate>Fri, 28 Sep 2018 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://saltpp.netlify.app/tags/hugo/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Hugo の Robust theme のカスタマイズ</title>
      <link>https://saltpp.netlify.app/posts/software/hugo/hugo_robust_customize/</link>
      <pubDate>Sat, 02 Jun 2018 14:00:57 +0900</pubDate><author>saltpp@gmail.com (Salt)</author>
      <guid>https://saltpp.netlify.app/posts/software/hugo/hugo_robust_customize/</guid>
      <description>&lt;h2 id=&#34;概要&#34;&gt;概要&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Hugo の Robust theme で変更した部分のまとめ&lt;/li&gt;&#xA;&lt;li&gt;基本的には&lt;a href=&#34;http://blog.zzzmisa.com/customize_hugo_theme3/&#34;&gt;ミサさんのサイト（勝手にリンク）&lt;/a&gt;の通り&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;基本的なこと&#34;&gt;基本的なこと&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;themes/hugo_theme_robust/layouts 以下のファイルを  layouts/ 以下に持ってくれば優先して使われる&lt;/li&gt;&#xA;&lt;li&gt;layouts/_default 以下と layouts/shortcodes 以下は、.html と .amp.html を用意しておけば、AMP 用のは .amp.html を使って生成してくれる&#xA;&lt;ul&gt;&#xA;&lt;li&gt;layouts/partials 以下は amp で分けてくれない。 layouts/_default 以下に foo.html と foo.amp.html を置いて &lt;code&gt;{{ .Render &amp;quot;foo&amp;quot; }}&lt;/code&gt; すれば分けれる。&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;右側の-latests-を消す&#34;&gt;右側の Latests を消す&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;layouts/partials/latests.html を作成して 0 Byte にしておくと完全に消えるようだ&lt;/li&gt;&#xA;&lt;li&gt;（消さなくてもいい気がしてきたので、消すのを止めたけど）&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;favicon-を追加&#34;&gt;favicon を追加&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;themes/hugo_theme_robust/layouts/partials/meta.html を layouts/partials/meta.html にコピーして&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
