<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Software on Salt&#39;s blog</title>
    <link>https://saltpp.netlify.app/categories/software/</link>
    <description>Recent content in Software 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>Sun, 22 Sep 2019 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://saltpp.netlify.app/categories/software/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Nexus 6 用 ROM の Build 方法</title>
      <link>https://saltpp.netlify.app/posts/software/android/nexus6build/</link>
      <pubDate>Sun, 22 Sep 2019 00:00:00 +0000</pubDate><author>saltpp@gmail.com (Salt)</author>
      <guid>https://saltpp.netlify.app/posts/software/android/nexus6build/</guid>
      <description>&lt;!-- thumbnail: &#34;images/Software/Android/Nexus6Build/header.jpg&#34; --&gt;&#xA;&lt;!-- https://qiita.com/machortz/items/a5f78605a61c19a6eb50 --&gt;&#xA;&lt;h2 id=&#34;概要&#34;&gt;概要&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Nexus 6 用 ROM をソースから Build する方法&lt;/li&gt;&#xA;&lt;li&gt;たまに自作 ROM で遊びたくなるのでメモ&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;&#xA;&lt;p&gt;ビルド番号の確認&#xA;&lt;a href=&#34;https://developers.google.com/android/images#shamu&#34;&gt;Factory Image&lt;/a&gt; からビルド番号を確認しておく&#xA;→7.1.1 の最終は N6F27M&lt;/p&gt;</description>
    </item>
    <item>
      <title>Android Pie だと HTTP 通信できない</title>
      <link>https://saltpp.netlify.app/posts/software/android/piehttp/</link>
      <pubDate>Thu, 25 Oct 2018 00:00:00 +0000</pubDate><author>saltpp@gmail.com (Salt)</author>
      <guid>https://saltpp.netlify.app/posts/software/android/piehttp/</guid>
      <description>&lt;h2 id=&#34;概要&#34;&gt;概要&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Fresco で HTTP な画像をダウンロードできなくて悩んだのでメモ&lt;/li&gt;&#xA;&lt;li&gt;Oreo なデバイスなら問題なくダウンロードできるのに Pie なデバイスだとだめだった&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;&lt;a href=&#34;https://stackoverflow.com/questions/51902629/how-to-allow-all-network-connection-types-http-and-https-in-android-9-pie&#34;&gt;ここ&lt;/a&gt;の通り&lt;br&gt;&#xA;res/xml/network_security_config.xml を作成して&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;?xml version=&amp;#34;1.0&amp;#34; encoding=&amp;#34;utf-8&amp;#34;?&amp;gt;&#xA;&amp;lt;network-security-config&amp;gt;&#xA;    &amp;lt;base-config cleartextTrafficPermitted=&amp;#34;true&amp;#34;&amp;gt;&#xA;        &amp;lt;trust-anchors&amp;gt;&#xA;            &amp;lt;certificates src=&amp;#34;system&amp;#34; /&amp;gt;&#xA;        &amp;lt;/trust-anchors&amp;gt;&#xA;    &amp;lt;/base-config&amp;gt;&#xA;&amp;lt;/network-security-config&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;を書いて &lt;code&gt;application&lt;/code&gt; タグの &lt;code&gt;android:networkSecurityConfig&lt;/code&gt; アトリビュートで &lt;code&gt;@xml/network_security_config&lt;/code&gt; を指定する&lt;/p&gt;</description>
    </item>
    <item>
      <title>uninstall → install しても勝手にリストアされるよ</title>
      <link>https://saltpp.netlify.app/posts/software/android/realmmigrationneededexception/</link>
      <pubDate>Tue, 23 Oct 2018 00:00:00 +0000</pubDate><author>saltpp@gmail.com (Salt)</author>
      <guid>https://saltpp.netlify.app/posts/software/android/realmmigrationneededexception/</guid>
      <description>&lt;h2 id=&#34;概要&#34;&gt;概要&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Realm の model を変えた場合は、一旦アプリを uninstall しておかないと、migration が必要だよという RealmMigrationNeededException を吐く&lt;/li&gt;&#xA;&lt;li&gt;というのは、model が変わったから当然なんだけど、いつからか uninstall → install しても同じ exception を吐くようになって謎だったのでメモ&lt;/li&gt;&#xA;&lt;li&gt;デバイスから *.realm を全部消して、package 名が入っているディレクトリ・ファイルを全部消しても、「model にメンバが１つ増えたから migration しろ」的な exception を吐くから謎すぎた&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;&lt;a href=&#34;https://github.com/realm/realm-java/issues/1856&#34;&gt;ここ&lt;/a&gt; に書かれている通り、auto-backup が効いてて、uninstall → install しても実行する前に古いデータでリストアされるので、exception を吐くのだった。。そんな気もしたけど、、ちょっとハマった^^;&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;&#xA;&lt;p&gt;以下のどれかで良さそう（一番上しか確認してない）&lt;/p&gt;</description>
    </item>
    <item>
      <title>FragmentStatePagerAdapter のバグ</title>
      <link>https://saltpp.netlify.app/posts/software/android/fragmentstatepageradapter/</link>
      <pubDate>Sat, 20 Oct 2018 00:00:00 +0000</pubDate><author>saltpp@gmail.com (Salt)</author>
      <guid>https://saltpp.netlify.app/posts/software/android/fragmentstatepageradapter/</guid>
      <description>&lt;h2 id=&#34;概要&#34;&gt;概要&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;FragmentStatePagerAdapter のバグで悩んだのでメモ&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://issuetracker.google.com/issues/36956111&#34;&gt;ここ&lt;/a&gt; の #52 に書かれているように 2018/7/31 時点でもバグが残ったままみたい。#11 のを使わせてもらったら想定通りの動きになった。&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;FragmentPagerAdapter は基本的に全 Fragment を保存するらしいので、あまり調べてない&lt;/p&gt;</description>
    </item>
    <item>
      <title>BME280 温湿度気圧センサー</title>
      <link>https://saltpp.netlify.app/posts/software/bme280/bme280/</link>
      <pubDate>Fri, 28 Sep 2018 00:00:00 +0000</pubDate><author>saltpp@gmail.com (Salt)</author>
      <guid>https://saltpp.netlify.app/posts/software/bme280/bme280/</guid>
      <description>&lt;h2 id=&#34;概要&#34;&gt;概要&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;BME280 を買ってみたので動確したときのメモ&lt;/li&gt;&#xA;&lt;li&gt;買ったのは&lt;a href=&#34;https://ja.aliexpress.com/item/3In1-BME280-GY-BME280-Digital-Sensor-SPI-I2C-Humidity-Temperature-and-Barometric-Pressure-Sensor-Module-1/32659765502.html&#34;&gt;これ&lt;/a&gt; $2.81&lt;/li&gt;&#xA;&lt;li&gt;秋月だと&lt;a href=&#34;http://akizukidenshi.com/catalog/g/gK-09421/&#34;&gt;これ&lt;/a&gt;が \1080&lt;/li&gt;&#xA;&lt;li&gt;Datasheet は&lt;a href=&#34;https://www.bosch-sensortec.com/bst/products/all_products/bme280&#34;&gt;ここ&lt;/a&gt;の Downloads → Datasheet&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;raspbery-pi-3-で動確&#34;&gt;Raspbery Pi 3 で動確&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Raspbery Pi 3 と接続&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;i2cdetect でデバイスアドレスが 0x76 であることを確認&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;pi@raspberrypi:~ $ i2cdetect 1&#xA;WARNING! This program can confuse your I2C bus, cause data loss and worse!&#xA;I will probe file /dev/i2c-1.&#xA;I will probe address range 0x03-0x77.&#xA;Continue? [Y/n] &#xA;     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f&#xA;00:          -- -- -- -- -- -- -- -- -- -- -- -- -- &#xA;10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &#xA;20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &#xA;30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &#xA;40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &#xA;50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &#xA;60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &#xA;70: -- -- -- -- -- -- 76 --                         &#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;i2cdump してみる&lt;/p&gt;</description>
    </item>
    <item>
      <title>VEML6075 UVA UVB センサー</title>
      <link>https://saltpp.netlify.app/posts/software/veml6075/veml6075/</link>
      <pubDate>Fri, 14 Sep 2018 00:00:00 +0000</pubDate><author>saltpp@gmail.com (Salt)</author>
      <guid>https://saltpp.netlify.app/posts/software/veml6075/veml6075/</guid>
      <description>&lt;h2 id=&#34;概要&#34;&gt;概要&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;VEML6075 を買ってみたので動確したときのメモ&lt;/li&gt;&#xA;&lt;li&gt;買ったのは&lt;a href=&#34;https://www.aliexpress.com/item/I2C-Interface-3-3V-Board-Based-on-VEML6075-UVA-UVB-Light-Sensor-Module/32832979057.html&#34;&gt;これ&lt;/a&gt; $3.65&lt;/li&gt;&#xA;&lt;li&gt;Strawberry Linux だと UVA のみの&lt;a href=&#34;http://strawberry-linux.com/catalog/items?code=16070&#34;&gt;VEML6070&lt;/a&gt;しかない&lt;/li&gt;&#xA;&lt;li&gt;Datasheet は&lt;a href=&#34;https://www.vishay.com/ppg?84304&#34;&gt;ここ&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;raspbery-pi-3-で動確&#34;&gt;Raspbery Pi 3 で動確&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Raspbery Pi 3 と接続&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;i2cdetect でデバイスアドレスが 0x10 であることを確認&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;pi@raspberrypi:~ $ i2cdetect -y 1&#xA;     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f&#xA;00:          -- -- -- -- -- -- -- -- -- -- -- -- -- &#xA;10: 10 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &#xA;20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &#xA;30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &#xA;40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &#xA;50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &#xA;60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &#xA;70: -- -- -- -- -- -- -- --                         &#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Datasheet からは 16bit で read/write する必要あり&lt;/p&gt;</description>
    </item>
    <item>
      <title>Android で位置偽装する方法</title>
      <link>https://saltpp.netlify.app/posts/software/android/fakegpslocation/</link>
      <pubDate>Mon, 10 Sep 2018 00:00:00 +0000</pubDate><author>saltpp@gmail.com (Salt)</author>
      <guid>https://saltpp.netlify.app/posts/software/android/fakegpslocation/</guid>
      <description>&lt;h2 id=&#34;概要&#34;&gt;概要&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Android で GPS の位置偽装する方法&lt;/li&gt;&#xA;&lt;li&gt;Technical な興味で試しただけ。悪用しないように。&lt;/li&gt;&#xA;&lt;li&gt;ROM をビルドできる環境があれば簡単に位置偽装はできる。ま、ぐぐるとやってそうな人はいっぱい出てくるしね。&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Pixel 3 が日本にも来そうだし最新の Android をビルドできる環境は整いそう&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;４年前（2014/7月ぐらい）に試していたもの。最近別件で Galaxy Nexus を使った時に Ingress を試してみたらまだ使えたのでメモを残してみた。ただ滑らかには動かせない、ランダムに動かされてしまう。&lt;/li&gt;&#xA;&lt;li&gt;今どきのアプリではチェックされててまともには使えないと思われる。アプリによっては突然アカウントが BAN されるので注意。&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;&#xA;&lt;p&gt;Ingress&lt;/p&gt;</description>
    </item>
    <item>
      <title>Android で位置偽装する方法（その２）</title>
      <link>https://saltpp.netlify.app/posts/software/android/fakegpslocationdqw/</link>
      <pubDate>Mon, 10 Sep 2018 00:00:00 +0000</pubDate><author>saltpp@gmail.com (Salt)</author>
      <guid>https://saltpp.netlify.app/posts/software/android/fakegpslocationdqw/</guid>
      <description>&lt;h2 id=&#34;概要&#34;&gt;概要&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://saltpp.netlify.app/posts/software/android/fakegpslocation/&#34;&gt;Android で位置偽装する方法&lt;/a&gt; の続き&lt;/li&gt;&#xA;&lt;li&gt;Android 7.1.1 では、Unix domain socket は使えなくなっていた &lt;br&gt;&#xA;ので broadcast intent で情報渡すようにしてみた&lt;/li&gt;&#xA;&lt;li&gt;ドラゴンクエストウォークは問題なく偽装できた&lt;/li&gt;&#xA;&lt;li&gt;ポケモン Go は Magisk で root 取ってるの隠しても偽装できず&lt;/li&gt;&#xA;&lt;li&gt;詳細は後で&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
    </item>
    <item>
      <title>Galaxy Nexus 用 ROM の Build 方法</title>
      <link>https://saltpp.netlify.app/posts/software/android/galaxynexusbuild/</link>
      <pubDate>Sun, 02 Sep 2018 00:00:00 +0000</pubDate><author>saltpp@gmail.com (Salt)</author>
      <guid>https://saltpp.netlify.app/posts/software/android/galaxynexusbuild/</guid>
      <description>&lt;h2 id=&#34;概要&#34;&gt;概要&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Galaxy Nexus 用 ROM をソースから Build する方法&lt;/li&gt;&#xA;&lt;li&gt;たまに自作 ROM で遊びたくなるのでメモ&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;&#xA;&lt;p&gt;ソースの取得&lt;br&gt;&#xA;4.3.1_r1 が最終っぽい。（↓の repository で git branch -av して確認）&lt;br&gt;&#xA;いや、本来は&lt;a href=&#34;https://source.android.com/setup/start/build-numbers&#34;&gt;ここ&lt;/a&gt;で最終のを探すべきだった^^;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Android で Hello, world!</title>
      <link>https://saltpp.netlify.app/posts/software/android/helloworld/</link>
      <pubDate>Sat, 11 Aug 2018 00:00:00 +0000</pubDate><author>saltpp@gmail.com (Salt)</author>
      <guid>https://saltpp.netlify.app/posts/software/android/helloworld/</guid>
      <description>&lt;h2 id=&#34;概要&#34;&gt;概要&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Android での少し実用的な Hello, world! アプリ&lt;/li&gt;&#xA;&lt;li&gt;Android Studio でスケルトン作れば Hello World! と出るけど、resouce 出してるだけで変化させれないので、ボタン押したら出す、APIコールの結果とか入れればそれが出る、ぐらいのもの&lt;/li&gt;&#xA;&lt;li&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;&#xA;&lt;p&gt;スケルトン作成&lt;/p&gt;</description>
    </item>
    <item>
      <title>Android で native なアプリを作る方法</title>
      <link>https://saltpp.netlify.app/posts/software/android/nativeapp/</link>
      <pubDate>Sat, 11 Aug 2018 00:00:00 +0000</pubDate><author>saltpp@gmail.com (Salt)</author>
      <guid>https://saltpp.netlify.app/posts/software/android/nativeapp/</guid>
      <description>&lt;h2 id=&#34;概要&#34;&gt;概要&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;とりあえずな native なアプリの作り方&lt;/li&gt;&#xA;&lt;li&gt;Android.mk を、どっかのを真似して書けばいいだけ&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;&#xA;&lt;p&gt;Android のソースツリーの package/apps の下とかにディレクトリ掘って、Android.mk を作る&lt;br&gt;&#xA;以下のような感じで、どっかのを真似する&lt;/p&gt;</description>
    </item>
    <item>
      <title>KiCad への ESP8266 コンポーネントの追加</title>
      <link>https://saltpp.netlify.app/posts/software/kicad/addesp8266/</link>
      <pubDate>Sun, 15 Jul 2018 00:00:00 +0000</pubDate><author>saltpp@gmail.com (Salt)</author>
      <guid>https://saltpp.netlify.app/posts/software/kicad/addesp8266/</guid>
      <description>&lt;h2 id=&#34;概要&#34;&gt;概要&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;KiCad で ESP8266 を使えるようにしたい&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://github.com/jdunmire/kicad-ESP8266&#34;&gt;https://github.com/jdunmire/kicad-ESP8266&lt;/a&gt; ここのを使わせてもらった&lt;/li&gt;&#xA;&lt;li&gt;Linux の ~/kicad/libraries/ は、Windows の C:\Program Files\KiCad\share\kicad\library に対応&lt;/li&gt;&#xA;&lt;li&gt;KiCad の Version は 4.0.7&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;&#xA;&lt;p&gt;管理者権限でコマンドプロンプトを開く&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Winキー → cmdで検索 → 右クリック → 管理者権限で起動&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;以下を実行（libray の directory で git clone するだけ）&lt;/p&gt;</description>
    </item>
    <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>
