From 00b4e5618703d2a49752f1f8c6c0141cfeb2d639 Mon Sep 17 00:00:00 2001 From: Felix Boerner <ich@felix-boerner.de> Date: Tue, 09 Jan 2024 11:02:44 +0000 Subject: [PATCH] docs: update README --- README.md | 20 +++++++++++--------- 1 files changed, 11 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 39c60e9..db70e73 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,10 @@ Inside the folder of your Hugo site run: - $ cd themes - $ git clone https://github.com/escalate/hugo-split-theme.git +```bash +$ cd themes +$ git clone https://github.com/escalate/hugo-split-theme.git +``` For more information read the official [setup guide](https://gohugo.io/getting-started/quick-start/) of Hugo. @@ -24,7 +26,7 @@ ### The config file -Take a look inside the [`exampleSite`](//github.com/escalate/hugo-split-theme/tree/master/exampleSite) folder of this theme. You'll find a file called [`config.toml`](//github.com/escalate/hugo-split-theme/blob/master/exampleSite/config.toml). To use it, copy the [`config.toml`](//github.com/escalate/hugo-split-theme/blob/master/exampleSite/config.toml) in the root folder of your Hugo site. Feel free to customize this theme as you like. +Take a look inside the [`tests`](//github.com/escalate/hugo-split-theme/tree/master/tests) folder of this theme. You'll find some example configurations. To use one of them, copy the `config.toml` in the root folder of your Hugo site. Feel free to customize this theme as you like. ### Add content @@ -33,9 +35,9 @@ Add a file named `_index.md` inside content directory to create your homepage. Use TOML configuration elements to set `title` and `tagline` of your page. Simple write your content in markdown style. - - $ hugo new content/_index.md - +```bash +$ hugo new content/_index.md +``` ```markdown +++ @@ -51,9 +53,9 @@ You can create additional pages as usual inside content directory. - - $ hugo new content/luctus-urna.md - +```bash +$ hugo new content/luctus-urna.md +``` ```markdown +++ -- Gitblit v1.10.0