From a96c701afa62a5a66650f499841220ec0ee7bb35 Mon Sep 17 00:00:00 2001 From: Zhangyuan Nie Date: Mon, 19 Oct 2020 12:56:08 -0400 Subject: [PATCH] Update README.md --- README.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 7230739..0997fc0 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Also includes examples of Hugo Features or Functions: - `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,12 +51,17 @@ This theme uses the "Tachyons" CSS library. This will allow you to manipulate th ### As a Hugo Module (recommended) -Simply add the repo to your theme option: +1. Initiate the hugo module system: -```yaml -theme: - - github.com/theNewDynamic/gohugo-theme-ananke -``` + ``` + $ hugo mod init github.com// + ``` + +2. Add the theme in your `config.toml`: + + ```toml + theme = ["github.com/theNewDynamic/gohugo-theme-ananke"] + ``` ### As Git Submodule