Very new to hugo: I have been trying to build my site usng the academc-folio theme avalable at: GitHub - rohandebsarkar/academic-folio: DISCONTINUED: Hugo port of the popular Jekyll theme al-folio
I understand this theme is discontinued because the author has gone over to Jekyll (from what I understand) but I am not planning to change my theme much once I can get things going.
Anyway, there is an exampleSite in there, but what I am lost about is how to translate it to my website. (I know how to make this exampleSite work, through make serve and the site does render “fine” but my question is how do I make this work with my site.
Here is what I tried:
- create my site using
hugo new site my_site - copied
academic-foliotheme to thethemessubfolder, and all the files inassets,config,contentand so on from theexampleSiteinto themy_sitefolder/directory. - Added
theme = ‘academic-folio’to my automatically createdhugo.toml - Used
hugo serveron the “root directory.
Is this generally the correct thing to have done?
However, I get the following:
Error: command error: failed to load modules: module “ GitHub - FortAwesome/Font-Awesome: The iconic SVG, font, and CSS toolkit ” not found in “/home/aarem/mysite/themes/github.com/FortAwesome/Font-Awesome”; either add it as a Hugo Module or store it in “/home/aarem/mysite/themes”.: module does not exist
-
I do not understand why this font is a problem here, when the
exampleSiterun does not show this problem in the sense of why this font is suddenly being asked for while it was not asked for with theexampleSiterun. -
It appears that the
config/_default/config.yamlhas a section which says:module: imports: - path: github.com/FortAwesome/Font-Awesome mounts: - source: svgs target: assets/svgs/fontawesome
What do I do here? Are there instructions on this anywhere?
I am sorry I found instructions on how to borrow from exampleSite or in the case of installing(?) fontawesome very difficult to find.
Thanks in advance for any suggestions and help!