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 similarity index 100% rename from hugoBasicExample/.gitignore rename to 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 similarity index 83% rename from hugoBasicExample/config.toml rename to 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 similarity index 100% rename from hugoBasicExample/content/_index.md rename to exampleSite/content/_index.md diff --git a/hugoBasicExample/content/about.md b/exampleSite/content/about.md similarity index 100% rename from hugoBasicExample/content/about.md rename to exampleSite/content/about.md diff --git a/hugoBasicExample/content/archives.md b/exampleSite/content/archives.md similarity index 100% rename from hugoBasicExample/content/archives.md rename to exampleSite/content/archives.md diff --git a/hugoBasicExample/content/homepage/about.md b/exampleSite/content/homepage/about.md similarity index 100% rename from hugoBasicExample/content/homepage/about.md rename to exampleSite/content/homepage/about.md diff --git a/hugoBasicExample/content/homepage/index.md b/exampleSite/content/homepage/index.md similarity index 100% rename from hugoBasicExample/content/homepage/index.md rename to exampleSite/content/homepage/index.md diff --git a/hugoBasicExample/content/homepage/work.md b/exampleSite/content/homepage/work.md similarity index 100% rename from hugoBasicExample/content/homepage/work.md rename to exampleSite/content/homepage/work.md diff --git a/hugoBasicExample/content/post/_index.md b/exampleSite/content/post/_index.md similarity index 100% rename from hugoBasicExample/content/post/_index.md rename to exampleSite/content/post/_index.md diff --git a/hugoBasicExample/content/post/emoji-support.md b/exampleSite/content/post/emoji-support.md similarity index 100% rename from hugoBasicExample/content/post/emoji-support.md rename to exampleSite/content/post/emoji-support.md diff --git a/hugoBasicExample/content/post/markdown-syntax.md b/exampleSite/content/post/markdown-syntax.md similarity index 100% rename from hugoBasicExample/content/post/markdown-syntax.md rename to exampleSite/content/post/markdown-syntax.md diff --git a/hugoBasicExample/content/post/math-typesetting.mmark b/exampleSite/content/post/math-typesetting.mmark similarity index 100% rename from hugoBasicExample/content/post/math-typesetting.mmark rename to exampleSite/content/post/math-typesetting.mmark diff --git a/hugoBasicExample/content/post/placeholder-text.md b/exampleSite/content/post/placeholder-text.md similarity index 100% rename from hugoBasicExample/content/post/placeholder-text.md rename to exampleSite/content/post/placeholder-text.md diff --git a/hugoBasicExample/content/post/rich-content.md b/exampleSite/content/post/rich-content.md similarity index 100% rename from hugoBasicExample/content/post/rich-content.md rename to exampleSite/content/post/rich-content.md diff --git a/hugoBasicExample/layouts/.gitkeep b/exampleSite/layouts/.gitkeep similarity index 100% rename from hugoBasicExample/layouts/.gitkeep rename to exampleSite/layouts/.gitkeep diff --git a/hugoBasicExample/static/images/profile.png b/exampleSite/static/images/profile.png similarity index 100% rename from hugoBasicExample/static/images/profile.png rename to 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 index c664dff..f654683 100644 Binary files a/images/screenshot.png and b/images/screenshot.png differ diff --git a/images/tn.png b/images/tn.png index 7752556..dff860d 100644 Binary files a/images/tn.png and b/images/tn.png differ diff --git a/theme.toml b/theme.toml index e63723d..6317de3 100644 --- a/theme.toml +++ b/theme.toml @@ -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"