From 7761676dee80456f061196faab9da8377b9dfbd1 Mon Sep 17 00:00:00 2001
From: Zhangyuan Nie <yuan@znie.org>
Date: Tue, 05 Jan 2021 14:27:07 +0000
Subject: [PATCH] Fix confusion in README.md (#359)
---
README.md | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/README.md b/README.md
index 20e50c0..24fa754 100644
--- a/README.md
+++ b/README.md
@@ -35,7 +35,7 @@
- `where`
- Content Views
- Partials
-- Template layouts (type "post" uses a special list template, single template, and a content view)
+- Template layouts (type "post" uses a special list template, single template, and a content view)
- Tags
- `len`
- Conditionals
@@ -51,16 +51,17 @@
### As a Hugo Module (recommended)
-If not already, init your project as Hugo Module:
+1. Initiate the hugo module system if you haven't already:
-`$: hugo mod init {project_repo_url}`
+ ```
+ $ hugo mod init github.com/<your_user>/<your_project>
+ ```
-Simply add the repo to your theme option:
+2. Add the theme's repo to your `config.toml`:
-```yaml
-theme:
- - github.com/theNewDynamic/gohugo-theme-ananke
-```
+ ```toml
+ theme = ["github.com/theNewDynamic/gohugo-theme-ananke"]
+ ```
### As Git Submodule
--
Gitblit v1.10.0