This is the source code for my personal webpage.
The code is based on the Academic framework for Hugo. This framework allows you to never touch HTML/CSS to build your own website. I simplified and streamlined the theme significantly to match the type of personal webpages you would find in the Machine Learning community. You can check out the original demo of Academic or its official documentation.
In this README I will re-iterate the very basics needed to get started, mostly for my own sake.
-
Download and install Hugo.
-
Clone or fork this repository:
git clone --recurse-submodules https://github.com/eldar/personal-website.git mywebsite
cd mywebsite
- View your website
hugo server
Now you can go to http://localhost:1313 and your new Academic powered website should appear.
-
Set your name in
config.toml
in the[params]
section. Also set the title of the website -
Add short bio to the
content/home/about.md
- Now you can start adding publications. Publications are stored in the
content/publication
directory, you can use mine as an example. In order to generate data for publication you can use a python tool that is supplied with the Academic framework:
# First install the tool:
pip3 install academic
# then import the .bib file into the website
# make sure your current directory is the root of the website repo
academic import --bibtex /path/to/publication.bib
- The previous step will create a directory corresponding to the publication under
content/publication
. This directory will contain fileindex.md
which contains various definitions. You will have to open it and make further edits:
- Set the abstract to the
abstract
field, if not already there - Set unique publication identifier to the
shortname
, much like you do in the bibtex, for example"watson2018cvpr"
- Specify abbreviation for the conference in
venue
field, for example"CVPR, 2018"
- You can place an optional teaser image to the publication directory, its file name has to contain
featured
in it. - Add various URLs associated with the paper:
url_pdf
to link to the PDF of the paper (required),url_project
for the project page,url_video
for the video,url_code
for the code andurl_slides
for the slides.
Copyright 2018 George Cushen, Eldar Insafutdinov.
Released under the MIT license.