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

github.com/jesselau76/hugo-w3-simple.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjesselau76 <jesselau76@gmail.com>2018-11-06 12:28:39 +0300
committerjesselau76 <jesselau76@gmail.com>2018-11-06 12:28:39 +0300
commit3abe228cb9ab2614a9992767cc96dcdac1884e3a (patch)
tree18b3acfe9e224ce819e85aac210588898eeef240 /README.md
parent6cbe615f67c44ae73567497e810b9ba866ff3489 (diff)
add how to configure
Diffstat (limited to 'README.md')
-rw-r--r--README.md41
1 files changed, 39 insertions, 2 deletions
diff --git a/README.md b/README.md
index 351deed..5e88db7 100644
--- a/README.md
+++ b/README.md
@@ -25,13 +25,50 @@ So I made this simple one.
- Responsive
- W3 code color js - small and fast code highlight solution. Less than half of highlights.js. [Demo Here](https://jesselau.com/start-blogging-today/)
+
+
## Install:
```
cd themes
git clone https://github.com/jesselau76/hugo-w3-simple.git
```
- ## Hugo is really fast
- I just migrate my site from Wordpress to static page.
+
+ ## How to configure?
+ It is very simple. You can edit the example **config. toml** file below
+
+
+```
+baseurl = "/"
+languageCode = "en-us"
+title = "Jesse Lau Blog"
+theme = "w3-simple"
+disqusShortname = "yourdisqusshortname" # disqus_shortname
+googleAnalytics = "UA-12345678-1" # UA-XXXXXXXX-X
+
+[[menu.main]]
+ name = "About"
+ url = "/about/"
+ weight = 2
+[[menu.main]]
+ name = "Categories"
+ url = "/categories/"
+ weight = 3
+[[menu.main]]
+ name = "Tags"
+ url = "/tags/"
+ weight = 4
+[[menu.main]]
+ name = "Subscribe"
+ url = "/index.xml"
+
+[params]
+ relatedPosts = true
+ description = "Jesse Lau Blog"
+ footer = "&copy; [Jesse Lau](https://jesselau.com) 2018 | [Github](https://github.com/jesselau76) | [Twitter](https://twitter.com/jesselau2)"
+```
+
+## Hugo is really fast
+ I just migrated my site from Wordpress to Hugo static page.
The speed is 3 times faster.
Here is the web page test result for Wordpress :
![wordpress](https://raw.githubusercontent.com/jesselau76/hugo-w3-simple/master/webpagetest-without-cache.png)Load Times **7.450s**