ソースを参照

Add explicit path to image example (#146)

tags/2.37
Carlos Roso 6年前
コミット
e1745a9f44
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      README.md

+ 1
- 1
README.md ファイルの表示



### Change the hero background ### Change the hero background


For any page or post you can add a featured image by including the local path in front matter (see content in the ExampleSite folder for examples): `featured_image: '/images/gohugo-default-sample-hero-image.jpg'`
For any page or post you can add a featured image by including the local path in front matter (see content in the `exampleSite/content/_readme.md` file for examples): `featured_image: '/images/gohugo-default-sample-hero-image.jpg'`


You don't need an image though. The default background color is black, but you can change the color, by changing the default color class in the config.toml file. Choose a background color from any on the [Tachyons](http://tachyons.io/docs/themes/skins/) library site, and preface it with "bg-" You don't need an image though. The default background color is black, but you can change the color, by changing the default color class in the config.toml file. Choose a background color from any on the [Tachyons](http://tachyons.io/docs/themes/skins/) library site, and preface it with "bg-"



読み込み中…
キャンセル
保存