I decided to use Hugo Academic for my professional website. I also recently decided to migrate to Ubuntu 18.04. There are many benefits to using Hugo Academic for one’s website, but the best reasons is that it is possible to create and host the website totally for free. One awesome feature is the ability to automatically display all of one’s publications on the website automatically, simply by following a few steps. Below I show the steps that are necessary for doing so.
I am assuming that Hugo has been downloaded and installed on a computer running Ubuntu 18.04 and that the Academic theme is being used. I am also assuming that you have set up a profile using Google Scholar.
First, go to Google Scholar and download all of your citations in .bib format. To do this, click on ‘My Profile’ and then check the box next to the word ‘Title.’ You will then see the option to ‘Export’ in ‘BibTex’ format.
Download the file to a place on the computer you will remember. I called the file ‘citations.bib’
Next, I installed JabRef, which comes with the Ubuntu installation. JabRef is a referencing software that is similar to EndNote. Open the bib file you downloaded in JabRef and make sure all of the entries are correctly displayed and that author, title, year, etc. fields are not blank.
Download and install the academic tool using Python. To do this type the following at the command line
sudo -H pip3 install academic
Next navigate to the website directory where you want the publications to appear (i.e., the “publication” directory) and type
academic import --bibtex /home/barbozag/Downloads/citations.bib
and when the website is served, all of the publications will appear as markdown files. From here, you can add content to the files including links to the publications and/or associated data and code!
In order to update the citation list, you can overwrite the existing content by typing
academic import --bibtex /home/barbozag/Downloads/citations.bib --overwrite