DokuWiki の favicon イメージの入れ替え

DokuWiki テンプレート上で favicon を設定するには、favicon.ico という名前で画像を用意し、以下の何れかの名前空間に保存します。

  • :favicon.ico
  • :wiki:favicon.ico

DokuWiki ロゴの変更

Bootstrap3 テンプレートでも同様です。

Bootstrap3: Customizations

favicon ファイルを作成してくれるサイトはいくつかありますが、私が使った以下のサイトは便利でした。

https://favicon-generator.mintsu-dev.com/

<html><style>
h2.page-header {

font-weight: 600;
font-size: 2.4rem;
position: relative;
padding: 10px 0 10px 16px;
margin-top: 3rem !important;
margin-bottom: 2rem !important;

}
h2:before {

  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: #ccc;

}
div#disqus__thread {

width: 100% !important;

}
</style></html>

  • dokuwiki/favicon.txt
  • 最終更新: 2021/01/25 00:49
  • by admin