From 66c2ea9d6d84947bb25b0455620e180b0fd0263d Mon Sep 17 00:00:00 2001 From: Will Faught Date: Fri, 7 Apr 2023 20:47:13 -0700 Subject: [PATCH] Combine start, install, and run readme sections --- README.md | 51 ++++++++++++++++++++++----------------------------- 1 file changed, 22 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index c6feaa3e..8b854f80 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ please share it by [posting code or screenshots](https://github.com/willfaught/p If you deploy a site, please share it by [posting a link](https://github.com/willfaught/paige/discussions/12). -## Get started with Hugo +## Setup 1. [Install Hugo](https://gohugo.io/installation/) (the extended version is required). @@ -125,42 +125,35 @@ please share it by [posting a link](https://github.com/willfaught/paige/discussi ```sh $ cd yourproject - $ hugo new my-post.md + $ hugo new yourpost.md ``` -See [Hugo's quick start guide](https://gohugo.io/getting-started/quick-start/) for more information. - -## Install - -Install: - -```sh -$ cd yourproject -$ hugo mod init github.com/youraccount/yourproject -$ hugo mod get github.com/willfaught/paige -``` +5. Install the Paige module: -Update: + ```sh + $ cd yourproject + $ hugo mod init github.com/youraccount/yourproject + $ hugo mod get github.com/willfaught/paige + ``` -```sh -$ cd yourproject -$ hugo mod get -u -``` +6. Import the Paige module: -Example `config.yaml`: + ```sh + $ cd yourproject + $ cat >>config.toml <