Fixes for theme submission

This commit is contained in:
Alexandre Vicenzi 2020-02-11 22:53:02 +01:00
parent f595a82a5a
commit 386a69ae26
24 changed files with 10 additions and 82 deletions

View File

@ -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

3
exampleSite/README.md Normal file
View File

@ -0,0 +1,3 @@
# exampleSite
Example blog demo based on [hugoBasicExample](https://github.com/gohugoio/hugoBasicExample).

View File

@ -1,12 +1,8 @@
baseURL = "https://gohugo.io"
title = "Hugo Themes"
author = "Steve Francia"
copyright = "Copyright © 20082019, 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

View File

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -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.

View File

@ -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

View File

@ -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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 102 KiB

After

Width:  |  Height:  |  Size: 54 KiB

View File

@ -3,8 +3,8 @@ license = "MIT"
licenselink = "https://github.com/alexandrevicenzi/soho/blob/master/LICENSE.md"
description = "A minimalist and mobile first theme for Hugo"
tags = ["blog", "responsive", "clean", "minimalist"]
features = ["blog", "themes", "disqus", "analytics"]
min_version = 0.54
features = ["blog", "seo", "responsive", "mobile", "disqus", "analytics"]
min_version = "0.54.0"
[author]
name = "alexandrevicenzi"