/saltire

Hugo theme of NSGov Saltire

Primary LanguageJavaScriptMIT LicenseMIT

saltire - hugo theme

sample screenshot

How to use

Create a new site

hugo new site samplesite

Now clone this as a submodule

cd samplesite
git init
git submodule add https://github.com/paulbadcock/saltire.git themes/saltire

activate this theme in hugo's config in the config.toml

echo theme = \"saltire\" >> config.toml

To construct a menu, use the following

[menu]
    [[menu.main]]
        name = 'Home'
        url = ''
        weight = -110
    [[menu.main]]
        name = 'About'
        url = '/about'
        weight = -109
    [[menu.main]]
        name = 'Docs'
        url = '/docs'
        weight = -108