With Git installed, run the following commands inside the Hugo site folder. If Hugo has not yet been installed, read the setup guide here.
mkdir themes
cd themes
git clone https://github.com/MDUrtk/University-Institute-Hugo-Theme.git
You can get a zip of the latest version of the theme from the home page and extract it to the themes folder.
Go to the themes folder as in the installation and run the following command.
git pull
baseURL = "http://example.org/"
languageCode = "en-us"
title = "My New Hugo Site"
theme = "University-Institute-Hugo-Theme"
#theme Specific variables:
[params]
#custom head scripts
headScripts = ''
##appears on header and throughout the site
logoImg = "logo.png"
instituteName = "University Institute of Engineering & Technology"
instituteAccredationSuperText = "AICTE Approved"
universityName = "Chira International University"
universityAccredationSuperText = "(Accredited 'A++' by You)"
universityUnderText = "(A State University established under Some Act No. XXV of 1998)"
##footer
footerImportantLinks = []
###contact us section
addressLines = ["University Institute of Engineering & Technology",
"Chira International University",
"City 12345",
"State, Country"]
####telephone array with array of [telephone , description strings, etc]
telephones = [ ['+xx-xxxx-xxx-xxx', '(Office)'],
['+xx-xxxx-xxx-xxx', '(Director)']
]
####emails array with array of String email and optional description.
emails = [ ['[email protected]'],
['[email protected]', '(Director)']
]
##main navigation menu
[[menu.main]]
name = "Home"
URL = "/"
weight = 1
[[menu.main]]
name = "Department"
hasChildren = true
weight = 2
[[menu.main]]
parent = "Department"
name = "CSE"
URL = "department/cse"