1
0
Fork 0
hugo-paper/exampleSite
2023-08-19 01:05:01 +08:00
..
content refine code 2023-08-19 01:05:01 +08:00
layouts add exampleSite 2021-08-24 05:19:18 +08:00
static add exampleSite 2021-08-24 05:19:18 +08:00
.gitignore Allow rendering of subscript, superscript and other raw html markup 2022-02-11 18:12:08 +01:00
config.toml update config.toml 2023-08-17 07:22:10 +08:00
configTaxo.toml add exampleSite 2021-08-24 05:19:18 +08:00
go.default.mod update module define 2021-08-24 10:14:15 +08:00
go.toml update module define 2021-08-24 10:14:15 +08:00
LICENSE add exampleSite 2021-08-24 05:19:18 +08:00
README.md Offer theme as hugo module 2023-08-14 22:11:17 +02:00

hugoBasicExample

This repository offers an example site for Hugo and also it provides the default content for demos hosted on the Hugo Themes Showcase.

Using

  1. Install Hugo
  2. Clone this repository
git clone https://github.com/gohugoio/hugoBasicExample.git
cd hugoBasicExample
  1. Clone the repository you want to test. If you want to test all Hugo Themes then follow the instructions provided here

  2. Run Hugo and select the theme of your choosing

hugo server -t YOURTHEME
  1. 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
  • An about.md that is intended to provide the /about/ page for a theme demo
  1. 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 repository