From cbb368491a2f6f3ab6cfd9e4dfde40a1e16fc7da Mon Sep 17 00:00:00 2001 From: Ben Charlton Date: Fri, 5 Jul 2024 21:30:25 +0100 Subject: [PATCH] Spin off as a separate theme --- LICENSE.md | 2 +- docker-compose.yml | 11 ----------- exampleSite/config.toml | 10 +++++----- exampleSite/content/post/soho.md | 28 ---------------------------- go.mod | 3 --- layouts/partials/footer.html | 2 +- theme.toml | 15 +++++++-------- 7 files changed, 14 insertions(+), 57 deletions(-) delete mode 100644 docker-compose.yml delete mode 100644 exampleSite/content/post/soho.md delete mode 100644 go.mod diff --git a/LICENSE.md b/LICENSE.md index 1521424..48893b2 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,4 +1,4 @@ -Copyright 2020 Alexandre Vicenzi +Copyright for portions of Wantsum are held by Alexandre Vicenzias, 2020 part of the Soho theme. All other copyright Wantsum are held by Ben Charlton, 2024 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: diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 0f65ed0..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,11 +0,0 @@ -version: '3' -services: - app: - build: . - working_dir: /blog - command: hugo server --logLevel info --bind "0.0.0.0" --port 1313 --watch -t soho - ports: - - "1313:1313" - volumes: - - ./exampleSite:/blog - - .:/blog/themes/soho diff --git a/exampleSite/config.toml b/exampleSite/config.toml index d7827de..9a427ea 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -1,7 +1,7 @@ baseurl = "https://example.com/" languageCode = "en" -title = "Soho Theme" -theme = "github.com/alexandrevicenzi/soho" +title = "Wantsum Theme" +theme = "git.spod.cx/bcc/wantsum" DefaultContentLanguage = "en" enableInlineShortcodes = true summarylength = 10 @@ -10,9 +10,9 @@ paginate = 5 ignoreErrors = ["error-remote-getjson"] [params] -title = "Soho Theme" +title = "Wantsum Theme" description = "Example Blog" -# gravatar = "soho@example.com" +# gravatar = "wantsum@example.com" images = ["images/profile.png"] profilePicture = "images/profile.png" copyright = "Author Name" @@ -32,7 +32,7 @@ mainSections = ["post"] [[params.socialIcons]] icon = "fa-github" title = "GitHub" - url = "https://github.com/alexandrevicenzi/soho" + url = "https://github.com/bcc" [[params.socialIcons]] icon = "fa-twitter" diff --git a/exampleSite/content/post/soho.md b/exampleSite/content/post/soho.md deleted file mode 100644 index 2abc893..0000000 --- a/exampleSite/content/post/soho.md +++ /dev/null @@ -1,28 +0,0 @@ -+++ -title = "Soho Theme" -date = "2020-05-01" -description = "About Soho Theme." -tags = [ - "theme", -] -+++ - -[Soho](https://github.com/alexandrevicenzi/soho) is a minimalist two-column [hugo](https://gohugo.io) theme based on [Hyde](https://github.com/spf13/hyde) and inspired by the success of [Flex](https://github.com/alexandrevicenzi/Flex). - -## Features - -- Mobile First -- Responsive -- Semantic -- SEO Best Practices -- Open Graph -- Rich Snippets (JSON-LD) -- Twitter Card -- Pagination -- Customizable -- Support all [Hugo Internals](https://gohugo.io/templates/internal/) - -## Integrations - -- [Disqus](https://disqus.com/) -- [Google Analytics](https://www.google.com/analytics/web/) diff --git a/go.mod b/go.mod deleted file mode 100644 index 15c54ce..0000000 --- a/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module github.com/alexandrevicenzi/soho - -go 1.12 diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index fcfaa1d..ca3fa27 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -9,7 +9,7 @@ {{- end }} {{ with $.Site.Params.BuiltWith -}} - · Build with Hugo & Soho theme + · Build with Hugo & Wantsum theme {{- end }}

diff --git a/theme.toml b/theme.toml index 736c03b..1d96cf7 100644 --- a/theme.toml +++ b/theme.toml @@ -1,16 +1,15 @@ -name = "Soho" +name = "Wantsum" license = "MIT" licenselink = "https://github.com/alexandrevicenzi/soho/blob/master/LICENSE.md" description = "A minimalist and mobile first theme for Hugo" -tags = ["blog", "responsive", "light", "minimal"] -features = ["blog", "seo", "responsive", "mobile", "disqus", "analytics"] +tags = ["blog", "responsive", "light", "dark", "minimal"] +features = ["blog", "seo", "responsive", "mobile"] min_version = "0.54.0" [author] - name = "alexandrevicenzi" - homepage = "https://alxd.dev" + name = "bcc" + homepage = "https://spod.cx" [original] - author = "spf13" - homepage = "http://spf13.com" - repo = "https://github.com/spf13/hyde" + name = "alexandrevicenzi" + homepage = "https://alxd.dev"