├── .gitignore ├── Help ├── Help.md ├── License.md ├── Version History.md └── images │ └── hugs-hero.png ├── Hugs ├── .hugo_build.lock ├── config.toml ├── content │ └── item │ │ ├── 1.md │ │ └── 2.md ├── hugo-build.command ├── hugo-server.command ├── layouts │ ├── 404.html │ ├── _default │ │ ├── baseof.html │ │ ├── list.html │ │ └── single.html │ ├── index.html │ └── partials │ │ └── partial.html ├── public │ ├── .html │ ├── 404.html │ ├── categories │ │ └── index.html │ ├── css │ │ └── styles.css │ ├── images │ │ └── image.png │ ├── index.html │ └── item │ │ ├── 1 │ │ └── index.html │ │ ├── 2 │ │ └── index.html │ │ └── index.html └── static │ ├── css │ └── styles.css │ └── images │ └── image.png └── Readme.md /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bjango/Hugs/17860e88a0f7f7d09f72d1fada9723694f38f40a/.gitignore -------------------------------------------------------------------------------- /Help/Help.md: -------------------------------------------------------------------------------- 1 | # Hugs help 2 | 3 | ### Feedback and future plans 4 | 5 | These documents are maintained by [@marcedwards](https://twitter.com/marcedwards). If you find errors or have suggestions, I’d love to hear about them. -------------------------------------------------------------------------------- /Help/License.md: -------------------------------------------------------------------------------- 1 | ### License 2 | 3 | ©2019 Bjango and Marc Edwards. Released under the BSD license. All rights reserved. 4 | 5 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 6 | 7 | - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 8 | 9 | - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 10 | 11 | - Neither the name of Hugs nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. 12 | 13 | This software is provided by the copyright holders and contributors “as is” and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. in no event shall the copyright holder or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage. 14 | -------------------------------------------------------------------------------- /Help/Version History.md: -------------------------------------------------------------------------------- 1 | # Hugs version history 2 | 3 | ### 1.1.1 4 | 5 | 19 August 2019 6 | 7 | - Added taxonomyTerm to disableKinds. 8 | 9 | ### 1.1 10 | 11 | 26 October 2017 12 | 13 | - Switched to using baseof.html instead of partials for the main header and footer. 14 | 15 | ### 1.0 16 | 17 | 25 October 2017 18 | 19 | - Initial release. -------------------------------------------------------------------------------- /Help/images/hugs-hero.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bjango/Hugs/17860e88a0f7f7d09f72d1fada9723694f38f40a/Help/images/hugs-hero.png -------------------------------------------------------------------------------- /Hugs/.hugo_build.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bjango/Hugs/17860e88a0f7f7d09f72d1fada9723694f38f40a/Hugs/.hugo_build.lock -------------------------------------------------------------------------------- /Hugs/config.toml: -------------------------------------------------------------------------------- 1 | baseurl = "https://github.com/bjango/Hugs" 2 | languagecode = "en-us" 3 | title = "Hugs" 4 | uglyurls = false 5 | disableKinds = ["RSS", "sitemap", "robotsTXT"] 6 | 7 | [taxonomies] 8 | category = "categories" 9 | 10 | [params] 11 | Title = "Title here" 12 | SiteDescription = "Description here." 13 | author = "" 14 | -------------------------------------------------------------------------------- /Hugs/content/item/1.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title = "Hello?" 3 | description = "Item 1 description." 4 | layout = "" 5 | date = "2017-01-01" 6 | +++ 7 | 8 | This is item 1. -------------------------------------------------------------------------------- /Hugs/content/item/2.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title = "Is it me you’re looking for?" 3 | description = "Item 2 description." 4 | layout = "" 5 | date = "2017-01-01" 6 | +++ 7 | 8 | This is item 2. -------------------------------------------------------------------------------- /Hugs/hugo-build.command: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo 4 | echo 5 | echo "⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒" 6 | echo 7 | echo "Building…" 8 | echo 9 | 10 | cd "$(dirname "$0")" 11 | 12 | # Uncomment the two lines below if you’d like to clear the public folder before building. 13 | # rm -rf public 14 | # mkdir public 15 | 16 | hugo 17 | # hugo --verbose 18 | 19 | echo "🤗" 20 | 21 | echo 22 | echo "⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒" 23 | echo 24 | 25 | -------------------------------------------------------------------------------- /Hugs/hugo-server.command: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo 4 | echo "⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒ ⚒" 5 | echo 6 | echo "🤗" 7 | echo 8 | 9 | cd "$(dirname "$0")" 10 | 11 | cleanup() { 12 | echo "Stopping Hugo server…" 13 | kill "$hugo_pid" 14 | } 15 | 16 | hugo server --buildFuture & 17 | hugo_pid=$! 18 | 19 | trap cleanup EXIT 20 | sleep 2 21 | open http://localhost:1313 22 | 23 | wait $hugo_pid 24 | -------------------------------------------------------------------------------- /Hugs/layouts/404.html: -------------------------------------------------------------------------------- 1 | {{ define "title" }}Oops!{{ end }} 2 | 3 | {{ define "main" }} 4 | 5 |
This is item 1.
19 | 20 | 21 | 22 | 23 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Hugs/public/item/2/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |This is item 2.
19 | 20 | 21 | 22 | 23 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Hugs/public/item/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |