UNICEF Inventory theme, for use with Hugo static site generator. Forked from Dot, a Hugo theme by ThemeFisher.
The recommended installation method for an existing Hugo site is with a git submodule. Use the commands below to add the theme to an existing Hugo site:
cd /path/to/hugo-site/
git submodule add git@github.com:unicef/inventory-hugo-theme.git themes/inventory
git commit --signoff --message="Add UNICEF Inventory Hugo theme as a git submodule"
git push
Sometimes you will want to update the git submodule with new changes added upstream to this repository. To pull newer upstream changes into your pre-existing git submodule, run the following from your Hugo project root directory:
git submodule update --remote --rebase
See exampleSite/config.yaml
for an example Hugo site using the UNICEF Inventory theme.
See CONTRIBUTING.md
for contribution guidelines, conventions and courtesies, and other advice for working on the UNICEF Inventory theme.
The upstream Dot theme includes the following features:
- Support for translated content (English and Spanish built-in)
- Google analytics support
- CSS and Js bundle with hugo pipe
- Color and fonts variable in config file
- Contact form Support
- Google page speed optimized ( 81% )
- Open graph meta tag
- Twitter card meta tag
- Search suggestions
- Powered by Bootstrap 4
- Next/Prev buttons in single-post page
- Frequently Asked Questions (F.A.Q.) page
- Responsive-ready
Open a new issue to report bugs and request new features.
Licensed under MPL-2.0. From choosealicense.com:
Permissions of this weak copyleft license are conditioned on making available source code of licensed files and modifications of those files under the same license (or in certain cases, one of the GNU licenses). Copyright and license notices must be preserved. Contributors provide an express grant of patent rights. However, a larger work using the licensed work may be distributed under different terms and without source code for files added in the larger work.