Fixes for theme submission
This commit is contained in:
parent
f595a82a5a
commit
386a69ae26
|
@ -2,10 +2,10 @@ version: '3'
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
build: .
|
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
|
command: hugo server -v --bind "0.0.0.0" --port 1313 --watch -t soho
|
||||||
ports:
|
ports:
|
||||||
- "1313:1313"
|
- "1313:1313"
|
||||||
volumes:
|
volumes:
|
||||||
- ./hugoBasicExample:/go/src/github.com/alexandrevicenzi/soho/hugoBasicExample
|
- ./exampleSite:/go/src/github.com/alexandrevicenzi/soho/exampleSite
|
||||||
- .:/go/src/github.com/alexandrevicenzi/soho/hugoBasicExample/themes/soho
|
- .:/go/src/github.com/alexandrevicenzi/soho/exampleSite/themes/soho
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
# exampleSite
|
||||||
|
|
||||||
|
Example blog demo based on [hugoBasicExample](https://github.com/gohugoio/hugoBasicExample).
|
|
@ -1,12 +1,8 @@
|
||||||
baseURL = "https://gohugo.io"
|
baseurl = "https://example.com/"
|
||||||
title = "Hugo Themes"
|
|
||||||
author = "Steve Francia"
|
|
||||||
copyright = "Copyright © 2008–2019, Steve Francia and the Hugo Authors; all rights reserved."
|
|
||||||
paginate = 3
|
|
||||||
languageCode = "en"
|
languageCode = "en"
|
||||||
|
title = "Soho Theme"
|
||||||
DefaultContentLanguage = "en"
|
DefaultContentLanguage = "en"
|
||||||
enableInlineShortcodes = true
|
enableInlineShortcodes = true
|
||||||
|
|
||||||
summarylength = 10
|
summarylength = 10
|
||||||
enableEmoji = true
|
enableEmoji = true
|
||||||
|
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
|
@ -1,21 +0,0 @@
|
||||||
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.
|
|
|
@ -1,22 +0,0 @@
|
||||||
# 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
|
|
|
@ -1,28 +0,0 @@
|
||||||
timeout = 30000
|
|
||||||
enableInlineShortcodes = true
|
|
||||||
footnoteReturnLinkContents = "^"
|
|
||||||
|
|
||||||
[taxonomies]
|
|
||||||
category = "categories"
|
|
||||||
tag = "tags"
|
|
||||||
series = "series"
|
|
||||||
|
|
||||||
[privacy]
|
|
||||||
|
|
||||||
[privacy.vimeo]
|
|
||||||
disabled = false
|
|
||||||
simple = true
|
|
||||||
|
|
||||||
[privacy.twitter]
|
|
||||||
disabled = false
|
|
||||||
enableDNT = true
|
|
||||||
simple = true
|
|
||||||
disableInlineCSS = true
|
|
||||||
|
|
||||||
[privacy.instagram]
|
|
||||||
disabled = false
|
|
||||||
simple = true
|
|
||||||
|
|
||||||
[privacy.youtube]
|
|
||||||
disabled = false
|
|
||||||
privacyEnhanced = true
|
|
Binary file not shown.
Before Width: | Height: | Size: 204 KiB After Width: | Height: | Size: 111 KiB |
BIN
images/tn.png
BIN
images/tn.png
Binary file not shown.
Before Width: | Height: | Size: 102 KiB After Width: | Height: | Size: 54 KiB |
|
@ -3,8 +3,8 @@ license = "MIT"
|
||||||
licenselink = "https://github.com/alexandrevicenzi/soho/blob/master/LICENSE.md"
|
licenselink = "https://github.com/alexandrevicenzi/soho/blob/master/LICENSE.md"
|
||||||
description = "A minimalist and mobile first theme for Hugo"
|
description = "A minimalist and mobile first theme for Hugo"
|
||||||
tags = ["blog", "responsive", "clean", "minimalist"]
|
tags = ["blog", "responsive", "clean", "minimalist"]
|
||||||
features = ["blog", "themes", "disqus", "analytics"]
|
features = ["blog", "seo", "responsive", "mobile", "disqus", "analytics"]
|
||||||
min_version = 0.54
|
min_version = "0.54.0"
|
||||||
|
|
||||||
[author]
|
[author]
|
||||||
name = "alexandrevicenzi"
|
name = "alexandrevicenzi"
|
||||||
|
|
Loading…
Reference in New Issue