jade
ad8ff9bfbb
This is in response to a minor complaint about the text size on mastodon, which I agree with: https://chaos.social/@imadnyc@mstdn.social/112961604691513932 I personally agree that 20px does not feel right, and more to the point, our previous type scale was really odd: body text was 1.25rem (20px), while the nav links were 1rem (16px). It seems like the intent of this was to make it so that the body text was not 16px, which felt too small (and does to me too). However, it seems to me like the *actual* solution here is to set the entire type scale overall larger, then decrease the size of any type that looks particularly silly. Thus, I've set the root font-size to 18px (via a percentage of 112.5%) instead of the default 16px, which will fix all the 1rem font sizes elsewhere in the site, to *make* 1rem a reasonable body text size. |
||
---|---|---|
.. | ||
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.