Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/huyb1991/hugo-lamp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorHuy Nguyen <huyb.1991@gmail.com>2019-03-17 13:18:39 +0300
committerHuy Nguyen <huyb.1991@gmail.com>2019-03-17 13:18:39 +0300
commite39712792a6340ae9c5cf33a9700c38fa1c0ed14 (patch)
treefe36f5aa2816e19ddea401433fb535b543137f44 /docs
parent14854528998c2d2156a1c00bcc083bf819f87b44 (diff)
Update document for customize theme
Diffstat (limited to 'docs')
-rw-r--r--docs/guide.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/guide.md b/docs/guide.md
index 11350e7..490a2d1 100644
--- a/docs/guide.md
+++ b/docs/guide.md
@@ -50,6 +50,14 @@ Replace `SVG symbol id` by yourself (above is `icon-rss`)
Example for icon on (layouts/partials/social.html)[https://github.com/huyb1991/hugo-lamp/blob/master/layouts/partials/social.html]
+#### Customize Theme
+
+Use [yarn](https://yarnpkg.com/en/) to install and run script instead of `npm`, some people got problem when using `npm` (but not with `yarn`)
+
+1. Install packages by `yarn install`
+2. Run watch script to hot reload your change `yarn watch`
+
+
## Site Configuration
Take a look at [exampleSite - config.toml](https://github.com/huyb1991/hugo-lamp/blob/master/exampleSite/config.toml), and replace config value by your own: