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/archetypes/default.md b/archetypes/default.md index e387f17..0f4c8f5 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -1,6 +1,20 @@ -+++ -description = "" -tags = ["Development", "golang"] -categories = ["Development", "GoLang"] -draft = false -+++ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +#featured_image: "sample.jpg" +#crop_options: center +tags: [] +categories: [] + +--- +This is a content + + +# more content + +## youtube +{{< youtube k3suoT_gi78 >}} + +### +{{< imgproc thing >}}caption for thing{{< /imgproc >}} 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/exampleSite/content/post/wantsum.md b/exampleSite/content/post/wantsum.md new file mode 100644 index 0000000..e1d637c --- /dev/null +++ b/exampleSite/content/post/wantsum.md @@ -0,0 +1,19 @@ ++++ +title = "Wantsum Theme" +date = "2024-07-05" +description = "About Wantsum Theme." +tags = [ + "theme", +] ++++ + +[Wantsum](https://git.spod.cx/bcc/wantsum) is a minimalist two-column [hugo](https://gohugo.io) theme based on [Soho](https://github.com/alexandrevicenzi/soho) + +## Features + +- Similar to Soho, but: + - External integrations removed + - No external dependencies + - Page sizes dramatically smaller - ~1.5MB to ~50kB + - Dark Mode + - \ No newline at end of file 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/_default/baseof.html b/layouts/_default/baseof.html index dcdcbbd..74750ed 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -26,7 +26,12 @@ + href="{{ `css/hyde-light.css` | relURL }}"> + + {{ partial "theme-color.html" . }} @@ -35,18 +40,10 @@ {{- end}} + href="/fonts.css"> - - - - + {{ range .AlternativeOutputFormats -}} @@ -56,26 +53,18 @@ {{ partial "sidebar.html" . }} -
+
{{ block "main" . -}}{{- end }}
{{ partial "footer.html" . }} - - - - - {{ range $.Site.Params.customJs -}} {{- end}} - {{ if not hugo.IsServer }} - {{ template "_internal/google_analytics.html" . }} - {{ end }} + + diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 917ca38..5ee4497 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,6 +1,11 @@ {{ define "main" -}}