Scribble
  • Blog
  • About
  • Categories
  • Tags
  • Search
Scribble

Search Scribble

hugo


HugoのGoogle AnalyticsをGA4対応

Migrating Google Analytics to GA4

 Posted on March 27, 2023

Hugoで構築しているサイトをGA4へ移行 私の環境では、BeautifulhugoとMainroadのテーマを利用しているので、これに限った [Read More]
Google 

HTTPセキュリティヘッダー対策した

セキュリティヘッダを強化し、クロスサイトスクリプティングやクリックジャッキングなどの対策を行う

 Posted on July 4, 2022

このサイトも、Hugoへ移行してから3年が経過しようとしています。 しばらく放置気味になっていたウェブのHTTPセキュリティヘッダを設定しまし [Read More]
security 

HugoのテーマTranquilpeakを0.4から0.5へ更新

how to update tranquilpeak-theme for 0.4 to 0.5

 Posted on August 17, 2021

某所にて、運用しているHugoのTranquilpeakテーマを0.4.xから0.5.xへアップデートした 0.5BETAからは、いくつかの修 [Read More]
theme 

HugoでSubmoduleのテーマ更新メモ

How to update submodule theme

 Posted on May 11, 2021  (Last modified on May 12, 2021)

このサイトでは、Gitlab上にてHugoのBeautifulhuigoのテーマをsubmoduleで管理しています。 時々、本家submod [Read More]
theme 

Beautifulhugoで著者を消す方法

how to remove author name

 Posted on March 24, 2021

このサイトでは、管理者一人なので、わざわざ著者(Author name)を表示させるのは意味を持ちません。 CSSでAuthor欄をdispla [Read More]
beautifulhugo  theme 

CentOS7上でhugoのソースビルドエラー

hugoをソースからビルドした時のエラー対処

 Posted on March 4, 2021  (Last modified on March 19, 2021)

以前、CentOS7上のhugoでGCCエラー にて、似たような記事を投稿しましたが、最近になって、ソールからのビルドに失敗したので、対処して [Read More]
centos 

Hugo Render hooksでimageとlinkをカスタマイズ

Render Hooks allow custom templates to override markdown rendering functionality

 Posted on February 13, 2021

Hugoで画像を挿入するには、標準のMarkdownで![Text](Link-URL)を書くと、<img src "~" [Read More]

beautifulhugoで更新日時が表示されない症状

Failed to get translated string for language "ja" and ID "lastModified": template: :1:22: executing "" at <.Count>: can't evaluate field Count in type string

 Posted on February 10, 2021

現在も使用しているHugoのテーマであるBeautifulhugoですが、更新日時が表示されない症状が出たので対処 ちなみに、hugoのバージ [Read More]
theme  beautifulhugo 

Instagramの埋め込みが出来なくなった

Failed to retrieve remote file: Bad Request

 Posted on December 23, 2020

最近になって、Hugoの設定修正や記事の作成・編集後に、ビルドが失敗し、更新ができなくなりました。 症状 Failed to get JSON resource “https://api.instagram.com/oembed/?url=https://www.instagram.com/p/BGvuInxxxx/&maxwidth=640&omitscript=true" : Failed to retrieve remote file: Bad Request デプロイの [Read More]
Instagram  api 

Hugoにnetlify.toml追加

Hugo+Netlifyの環境にnetlify.tomlを設置した

 Posted on August 7, 2020  (Last modified on January 12, 2021)

Hugo+Netlifyの環境にして1年ほど経過しますが、特に問題もなかったので放置してたnetlify.toml設置をようやく行いました。 [Read More]
netlify 
  • Older Posts →

Admin  • © 2023  •  Scribble

Hugo v0.101.0 powered  •  Theme Beautiful Hugo adapted from Beautiful Jekyll