diff options
author | Alexandre Vicenzi <vicenzi.alexandre@gmail.com> | 2020-02-12 00:53:02 +0300 |
---|---|---|
committer | Alexandre Vicenzi <vicenzi.alexandre@gmail.com> | 2020-02-12 00:53:02 +0300 |
commit | 386a69ae2612e07bc963bb14cd9ec57414391ae1 (patch) | |
tree | 09a1c632eb09cd5e901b2cba7a99b6644ed77f26 | |
parent | f595a82a5a593254bae4c65870e3dc96297b208a (diff) |
Fixes for theme submission
-rw-r--r-- | docker-compose.yml | 6 | ||||
-rw-r--r-- | exampleSite/.gitignore (renamed from hugoBasicExample/.gitignore) | 0 | ||||
-rw-r--r-- | exampleSite/README.md | 3 | ||||
-rw-r--r-- | exampleSite/config.toml (renamed from hugoBasicExample/config.toml) | 8 | ||||
-rw-r--r-- | exampleSite/content/_index.md (renamed from hugoBasicExample/content/_index.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/about.md (renamed from hugoBasicExample/content/about.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/archives.md (renamed from hugoBasicExample/content/archives.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/homepage/about.md (renamed from hugoBasicExample/content/homepage/about.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/homepage/index.md (renamed from hugoBasicExample/content/homepage/index.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/homepage/work.md (renamed from hugoBasicExample/content/homepage/work.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/post/_index.md (renamed from hugoBasicExample/content/post/_index.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/post/emoji-support.md (renamed from hugoBasicExample/content/post/emoji-support.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/post/markdown-syntax.md (renamed from hugoBasicExample/content/post/markdown-syntax.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/post/math-typesetting.mmark (renamed from hugoBasicExample/content/post/math-typesetting.mmark) | 0 | ||||
-rw-r--r-- | exampleSite/content/post/placeholder-text.md (renamed from hugoBasicExample/content/post/placeholder-text.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/post/rich-content.md (renamed from hugoBasicExample/content/post/rich-content.md) | 0 | ||||
-rw-r--r-- | exampleSite/layouts/.gitkeep (renamed from hugoBasicExample/layouts/.gitkeep) | 0 | ||||
-rw-r--r-- | exampleSite/static/images/profile.png (renamed from hugoBasicExample/static/images/profile.png) | bin | 12980 -> 12980 bytes | |||
-rw-r--r-- | hugoBasicExample/LICENSE | 21 | ||||
-rw-r--r-- | hugoBasicExample/README.md | 22 | ||||
-rw-r--r-- | hugoBasicExample/configTaxo.toml | 28 | ||||
-rw-r--r-- | images/screenshot.png | bin | 208677 -> 113451 bytes | |||
-rw-r--r-- | images/tn.png | bin | 103926 -> 55240 bytes | |||
-rw-r--r-- | theme.toml | 4 |
24 files changed, 10 insertions, 82 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 833aa58..0cf6b82 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 diff --git a/hugoBasicExample/.gitignore b/exampleSite/.gitignore index ca4d540..ca4d540 100644 --- a/hugoBasicExample/.gitignore +++ b/exampleSite/.gitignore diff --git a/exampleSite/README.md b/exampleSite/README.md new file mode 100644 index 0000000..b85611c --- /dev/null +++ b/exampleSite/README.md @@ -0,0 +1,3 @@ +# exampleSite + +Example blog demo based on [hugoBasicExample](https://github.com/gohugoio/hugoBasicExample). diff --git a/hugoBasicExample/config.toml b/exampleSite/config.toml index ae2392f..77309c0 100644 --- a/hugoBasicExample/config.toml +++ b/exampleSite/config.toml @@ -1,12 +1,8 @@ -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 diff --git a/hugoBasicExample/content/_index.md b/exampleSite/content/_index.md index 6abc75e..6abc75e 100644 --- a/hugoBasicExample/content/_index.md +++ b/exampleSite/content/_index.md diff --git a/hugoBasicExample/content/about.md b/exampleSite/content/about.md index a412806..a412806 100644 --- a/hugoBasicExample/content/about.md +++ b/exampleSite/content/about.md diff --git a/hugoBasicExample/content/archives.md b/exampleSite/content/archives.md index 98a1ee9..98a1ee9 100644 --- a/hugoBasicExample/content/archives.md +++ b/exampleSite/content/archives.md diff --git a/hugoBasicExample/content/homepage/about.md b/exampleSite/content/homepage/about.md index c2ba680..c2ba680 100644 --- a/hugoBasicExample/content/homepage/about.md +++ b/exampleSite/content/homepage/about.md diff --git a/hugoBasicExample/content/homepage/index.md b/exampleSite/content/homepage/index.md index 01ffa31..01ffa31 100644 --- a/hugoBasicExample/content/homepage/index.md +++ b/exampleSite/content/homepage/index.md diff --git a/hugoBasicExample/content/homepage/work.md b/exampleSite/content/homepage/work.md index f2fee73..f2fee73 100644 --- a/hugoBasicExample/content/homepage/work.md +++ b/exampleSite/content/homepage/work.md diff --git a/hugoBasicExample/content/post/_index.md b/exampleSite/content/post/_index.md index 7c6bd54..7c6bd54 100644 --- a/hugoBasicExample/content/post/_index.md +++ b/exampleSite/content/post/_index.md diff --git a/hugoBasicExample/content/post/emoji-support.md b/exampleSite/content/post/emoji-support.md index ecf6c86..ecf6c86 100644 --- a/hugoBasicExample/content/post/emoji-support.md +++ b/exampleSite/content/post/emoji-support.md diff --git a/hugoBasicExample/content/post/markdown-syntax.md b/exampleSite/content/post/markdown-syntax.md index d60c404..d60c404 100644 --- a/hugoBasicExample/content/post/markdown-syntax.md +++ b/exampleSite/content/post/markdown-syntax.md diff --git a/hugoBasicExample/content/post/math-typesetting.mmark b/exampleSite/content/post/math-typesetting.mmark index 7f421ae..7f421ae 100644 --- a/hugoBasicExample/content/post/math-typesetting.mmark +++ b/exampleSite/content/post/math-typesetting.mmark diff --git a/hugoBasicExample/content/post/placeholder-text.md b/exampleSite/content/post/placeholder-text.md index 378b995..378b995 100644 --- a/hugoBasicExample/content/post/placeholder-text.md +++ b/exampleSite/content/post/placeholder-text.md diff --git a/hugoBasicExample/content/post/rich-content.md b/exampleSite/content/post/rich-content.md index 5ff41d7..5ff41d7 100644 --- a/hugoBasicExample/content/post/rich-content.md +++ b/exampleSite/content/post/rich-content.md diff --git a/hugoBasicExample/layouts/.gitkeep b/exampleSite/layouts/.gitkeep index e69de29..e69de29 100644 --- a/hugoBasicExample/layouts/.gitkeep +++ b/exampleSite/layouts/.gitkeep diff --git a/hugoBasicExample/static/images/profile.png b/exampleSite/static/images/profile.png Binary files differindex 0999641..0999641 100644 --- a/hugoBasicExample/static/images/profile.png +++ b/exampleSite/static/images/profile.png diff --git a/hugoBasicExample/LICENSE b/hugoBasicExample/LICENSE deleted file mode 100644 index 4527efb..0000000 --- a/hugoBasicExample/LICENSE +++ /dev/null @@ -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.
\ No newline at end of file diff --git a/hugoBasicExample/README.md b/hugoBasicExample/README.md deleted file mode 100644 index aa38bb6..0000000 --- a/hugoBasicExample/README.md +++ /dev/null @@ -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 diff --git a/hugoBasicExample/configTaxo.toml b/hugoBasicExample/configTaxo.toml deleted file mode 100644 index a6acc92..0000000 --- a/hugoBasicExample/configTaxo.toml +++ /dev/null @@ -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
\ No newline at end of file diff --git a/images/screenshot.png b/images/screenshot.png Binary files differindex c664dff..f654683 100644 --- a/images/screenshot.png +++ b/images/screenshot.png diff --git a/images/tn.png b/images/tn.png Binary files differindex 7752556..dff860d 100644 --- a/images/tn.png +++ b/images/tn.png @@ -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" |