This message, related to the development of the theme, only displays on the localhost homepage to notify you of any important theme changes.


Version 1.1.0 - May 18, 2020

With this version, the theme has fully implemented static search using lunr.js. That being said, a few modifications were necessary to implement this feature.

To utilize this, or future version of Hugo Future Imperfect Slim, please make the following changes:

  1. Add the following to your config.toml before [params]:
...
disableLanguages = [""]

[outputs]
    home = ["html", "json"]

[params]
...
  1. Remove the underscore from all about and contact page file names: _index.md --> index.md

  2. Add layout = "about" or layout = "contact" to all of the files you just just adjusted the file names for.

While I realize this is inconvenient, I hope that it is worth it to you in the long run. Thanks for using the theme, and feel free to submit issues as needed.

t-yamamt

Mehr Sonntag

ハッピーエンド至上主義者のメモ書き

2 分で読めます

Google Analyticsのスクリプトがanalytics.jsからgtag.jsに変えた方が良さそうということで、変えてみた。
Hugo(v0.80.0)および使用しているテンプレートでgtag.jsに対応していないので、Hugoの機能を使ってテンプレートの一部をオーバーライドすることでリプレイスすることにした。

最近の投稿

About

試してみたいなハッピーエンド!