Dave Anderson
0337854eb2
Chrome and Safari default <svg> width and height to 'auto', which expands the viewport to fit the pixels within. Safari doesn't, and the viewport collapses to 0x0 unless explicitly expanded. Firefox calculates the viewport's natural dimensions to be 16x18.35, so I used those values. Fixes #8 |
||
---|---|---|
.. | ||
archetypes | ||
assets | ||
images | ||
layouts | ||
static | ||
.gitlab-ci.yml | ||
config.yaml | ||
LICENSE | ||
README.md | ||
theme.toml |
Hugo Up Business Theme
Up Business is a clean and modern landing page, inspired on light illustrations with a modern look, that can be used for companies or to showcase a product.
Live Demo
See here.
Quick Start
If you are creating a new website, the quickest way to get up and running is to clone the theme into your themes folder:
git clone https://gitlab.com/writeonlyhugo/up-business-theme.git themes/up-business-theme
The folder hugoBasicExample
contains a working version of a website with the
theme. It includes: the configuration file config.yaml
, the content folder
content
and the data
folder. It's a good idea to copy this over to the
project folder to get an initial version of the website up and running.
You can also use it as s Git submodule. If you are starting a new website:
hugo new site NewSite
cd NewSite
git init
git submodule add https://gitlab.com/writeonlyhugo/up-business-theme.git themes/up-business-theme
rm hugo.toml
cp themes/up-business-theme/hugoBasicExample/config.yaml .
cp -a themes/up-business-theme/hugoBasicExample/content/* content/
cp -a themes/up-business-theme/hugoBasicExample/data/* data/
Now hugo server
will start the local development server with a working
version of the website with the theme.
Credits
Hugo Up Business Theme is based on a Figma Design by Abell Vo.
License
Up Business is licensed under the MIT license.