From 32d39a31c779bdced0941f21b3faf13ea13be5c5 Mon Sep 17 00:00:00 2001 From: Alexandre Vicenzi Date: Wed, 30 Jun 2021 01:22:12 +0200 Subject: Update exampleSite --- exampleSite/README.md | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) (limited to 'exampleSite/README.md') diff --git a/exampleSite/README.md b/exampleSite/README.md index b85611c..11a456c 100644 --- a/exampleSite/README.md +++ b/exampleSite/README.md @@ -1,3 +1,29 @@ -# exampleSite +# hugoBasicExample -Example blog demo based on [hugoBasicExample](https://github.com/gohugoio/hugoBasicExample). +This repository offers an example site for [Hugo](https://gohugo.io/) and also it provides the default content for demos hosted on the [Hugo Themes Showcase](https://themes.gohugo.io/). + +# Using + +1. [Install Hugo](https://gohugo.io/overview/installing/) +2. Clone this repository + +```bash +git clone https://github.com/gohugoio/hugoBasicExample.git +cd hugoBasicExample +``` + +3. Clone the repository you want to test. If you want to test all Hugo Themes then follow the instructions provided [here](https://github.com/gohugoio/hugoThemes#installing-all-themes) + +4. Run Hugo and select the theme of your choosing + +```bash +hugo server -t YOURTHEME +``` + +5. Under `/content/` this repository contains the following: + +- A section called `/post/` with sample markdown content +- A headless bundle called `homepage` that you may want to use for single page applications. You can find instructions about headless bundles over [here](https://gohugo.io/content-management/page-bundles/#headless-bundle) +- An `about.md` that is intended to provide the `/about/` page for a theme demo + +6. If you intend to build a theme that does not fit in the content structure provided in this repository, then you are still more than welcome to submit it for review at the [Hugo Themes](https://github.com/gohugoio/hugoThemes/issues) respository -- cgit v1.2.1