diff --git a/LICENSE.md b/LICENSE.md index 48893b2..1521424 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,4 +1,4 @@ -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 +Copyright 2020 Alexandre Vicenzi 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 0f4c8f5..e387f17 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -1,20 +1,6 @@ ---- -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 >}} ++++ +description = "" +tags = ["Development", "golang"] +categories = ["Development", "GoLang"] +draft = false ++++ diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..0f65ed0 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,11 @@ +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 9a427ea..d7827de 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -1,7 +1,7 @@ baseurl = "https://example.com/" languageCode = "en" -title = "Wantsum Theme" -theme = "git.spod.cx/bcc/wantsum" +title = "Soho Theme" +theme = "github.com/alexandrevicenzi/soho" DefaultContentLanguage = "en" enableInlineShortcodes = true summarylength = 10 @@ -10,9 +10,9 @@ paginate = 5 ignoreErrors = ["error-remote-getjson"] [params] -title = "Wantsum Theme" +title = "Soho Theme" description = "Example Blog" -# gravatar = "wantsum@example.com" +# gravatar = "soho@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/bcc" + url = "https://github.com/alexandrevicenzi/soho" [[params.socialIcons]] icon = "fa-twitter" diff --git a/exampleSite/content/post/soho.md b/exampleSite/content/post/soho.md new file mode 100644 index 0000000..2abc893 --- /dev/null +++ b/exampleSite/content/post/soho.md @@ -0,0 +1,28 @@ ++++ +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 deleted file mode 100644 index e1d637c..0000000 --- a/exampleSite/content/post/wantsum.md +++ /dev/null @@ -1,19 +0,0 @@ -+++ -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 new file mode 100644 index 0000000..15c54ce --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module github.com/alexandrevicenzi/soho + +go 1.12 diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 74750ed..dcdcbbd 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -26,12 +26,7 @@ - - + href="{{ `css/hyde.css` | relURL }}"> {{ partial "theme-color.html" . }} @@ -40,10 +35,18 @@ {{- end}} + href="https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700&display=swap"> + - + + + {{ range .AlternativeOutputFormats -}} @@ -53,18 +56,26 @@
{{ partial "sidebar.html" . }} -