Skip to content
Snippets Groups Projects
Commit 386a69ae authored by Alexandre Vicenzi's avatar Alexandre Vicenzi
Browse files

Fixes for theme submission

parent f595a82a
No related branches found
No related tags found
No related merge requests found
Showing
with 8 additions and 52 deletions
......@@ -2,10 +2,10 @@ version: '3'
services:
app:
build: .
working_dir: /go/src/github.com/alexandrevicenzi/soho/hugoBasicExample
working_dir: /go/src/github.com/alexandrevicenzi/soho/exampleSite
command: hugo server -v --bind "0.0.0.0" --port 1313 --watch -t soho
ports:
- "1313:1313"
volumes:
- ./hugoBasicExample:/go/src/github.com/alexandrevicenzi/soho/hugoBasicExample
- .:/go/src/github.com/alexandrevicenzi/soho/hugoBasicExample/themes/soho
- ./exampleSite:/go/src/github.com/alexandrevicenzi/soho/exampleSite
- .:/go/src/github.com/alexandrevicenzi/soho/exampleSite/themes/soho
File moved
# exampleSite
Example blog demo based on [hugoBasicExample](https://github.com/gohugoio/hugoBasicExample).
baseURL = "https://gohugo.io"
title = "Hugo Themes"
author = "Steve Francia"
copyright = "Copyright © 2008–2019, Steve Francia and the Hugo Authors; all rights reserved."
paginate = 3
baseurl = "https://example.com/"
languageCode = "en"
title = "Soho Theme"
DefaultContentLanguage = "en"
enableInlineShortcodes = true
summarylength = 10
enableEmoji = true
......
File moved
File moved
File moved
The MIT License (MIT)
Copyright (c) 2014 Steve Francia
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
\ No newline at end of file
# 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment