From c7d499dad79e1a7be99a8a7675987fcf1747b2ff Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson Date: Fri, 23 Mar 2018 14:27:48 +0100 Subject: [PATCH] Added an exampleSite. --- exampleSite/config.yaml | 43 +++++++++++++++++++ exampleSite/content/_index.md | 23 ++++++++++ exampleSite/content/about.md | 5 +++ exampleSite/content/contact.md | 5 +++ .../content/documentation/configuration.md | 5 +++ .../content/documentation/create-theme.md | 5 +++ exampleSite/content/documentation/install.md | 5 +++ .../content/documentation/quickstart.md | 5 +++ 8 files changed, 96 insertions(+) create mode 100644 exampleSite/config.yaml create mode 100644 exampleSite/content/_index.md create mode 100644 exampleSite/content/about.md create mode 100644 exampleSite/content/contact.md create mode 100644 exampleSite/content/documentation/configuration.md create mode 100644 exampleSite/content/documentation/create-theme.md create mode 100644 exampleSite/content/documentation/install.md create mode 100644 exampleSite/content/documentation/quickstart.md diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml new file mode 100644 index 0000000..d61a195 --- /dev/null +++ b/exampleSite/config.yaml @@ -0,0 +1,43 @@ +--- +title: "Hugo Zen theme" +baseURL: "https://example.org/" +theme: "zen" +languageCode: "en-GB" +defaultContentLanguage: "en" +metaDataFormat: "yaml" +pluralizelisttitles: false +removePathAccents: true +paginate: 10 +paginatePath: "page" +rssLimit: 20 +author: + name: "Your Name" + url: "https://example.org/somepage" + avatar: "path/to/some-image.jpg" + +outputs: + home: ["HTML","RSS", "JSON"] + section: ["HTML","RSS", "JSON"] + +params: + cacheBustCSS: false + cacheBustJS: false + contact: "info@example.org" + copyright: "This site is licensed under a [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/)." + description: "The zen theme for Hugo example site." + dateformat: "2 January, 2006" + favicon: "icon-64.png" + feedlinks: true + footer: "Powered by [Hugo](https://gohugo.io/) and the [Zen theme](https://github.com/frjo/hugo-theme-zen)." + icon: "apple-touch-icon-180.png" + image: "xdeb-org.jpg" + imageMaxWidth: 400 + jquery: true + languageDir: "ltr" + logo: false + mobileMenu: true + poweredby: false + search: true + searchSize: 20 + sidebar: true + submitted: true diff --git a/exampleSite/content/_index.md b/exampleSite/content/_index.md new file mode 100644 index 0000000..fec7161 --- /dev/null +++ b/exampleSite/content/_index.md @@ -0,0 +1,23 @@ +--- +title: "Make the Web Fun Again" +author: "Fredrik Jonsson" + +--- + +# Hugo + +## Make the Web Fun Again + +Introducing Hugo, a new idea for making website creation simple again. Hugo works flexibly with many formats, and is ideal for blogs, docs, portfolios and much more. Hugo’s speed fosters creativity—it makes building a website fun again. + +## Run Anywhere + +Hugo is quite possibly the easiest software to install you’ve ever used: simply download and run! Hugo doesn’t depend on administrative privileges, databases, runtimes, interpreters or external libraries. Sites built with Hugo can be deployed on S3, GitHub Pages, Dropbox or any web host. + +## Fast & Powerful + +Hugo is designed for speed and performance. Great care has been taken to ensure build time with Hugo is as short as possible. We’re talking milliseconds to build your entire site—for most setups! + +## Flexible + +Hugo is designed to work the way you do. Organize your content however you want with any URL structure. Group your content using your own indexes and categories. Define your own metadata in any format: YAML, TOML or JSON. Best of all, Hugo handles all these variations with virtually no configuration. Hugo just works. \ No newline at end of file diff --git a/exampleSite/content/about.md b/exampleSite/content/about.md new file mode 100644 index 0000000..bd35e87 --- /dev/null +++ b/exampleSite/content/about.md @@ -0,0 +1,5 @@ +--- +title: "About" +author: "Fredrik Jonsson" + +--- diff --git a/exampleSite/content/contact.md b/exampleSite/content/contact.md new file mode 100644 index 0000000..467f3fc --- /dev/null +++ b/exampleSite/content/contact.md @@ -0,0 +1,5 @@ +--- +title: "Contact" +author: "Fredrik Jonsson" + +--- diff --git a/exampleSite/content/documentation/configuration.md b/exampleSite/content/documentation/configuration.md new file mode 100644 index 0000000..7bcf021 --- /dev/null +++ b/exampleSite/content/documentation/configuration.md @@ -0,0 +1,5 @@ +--- +title: "Configuration" +author: "Fredrik Jonsson" + +--- diff --git a/exampleSite/content/documentation/create-theme.md b/exampleSite/content/documentation/create-theme.md new file mode 100644 index 0000000..d6b8893 --- /dev/null +++ b/exampleSite/content/documentation/create-theme.md @@ -0,0 +1,5 @@ +--- +title: "Create a theme" +author: "Fredrik Jonsson" + +--- diff --git a/exampleSite/content/documentation/install.md b/exampleSite/content/documentation/install.md new file mode 100644 index 0000000..a4ce0a7 --- /dev/null +++ b/exampleSite/content/documentation/install.md @@ -0,0 +1,5 @@ +--- +title: "Installation" +author: "Fredrik Jonsson" + +--- diff --git a/exampleSite/content/documentation/quickstart.md b/exampleSite/content/documentation/quickstart.md new file mode 100644 index 0000000..10133f6 --- /dev/null +++ b/exampleSite/content/documentation/quickstart.md @@ -0,0 +1,5 @@ +--- +title: "Quickstart" +author: "Fredrik Jonsson" + +---