|
9 years ago | |
---|---|---|
archetypes | 9 years ago | |
exampleSite | 9 years ago | |
images | 9 years ago | |
layouts | 9 years ago | |
static | 9 years ago | |
LICENSE.md | 9 years ago | |
README.md | 9 years ago | |
theme.toml | 9 years ago |
A personal academic website theme for Hugo.
Key features:
Install Hugo and create a new website:
hugo new site my_website
cd my_website
Install Academic theme with git
:
git clone git@github.com:gcushen/hugo-academic.git themes/hugo-academic
Or alternatively, install by downloading from Github into a themes/hugo-academic
folder within your Hugo website.
If you are creating a new website, copy the contents of the exampleSite
folder to your website root folder, overwriting existing files if necessary. The exampleSite
folder contains an example config file and content to help you get started.
Start the Hugo server from your website root folder:
hugo server --watch
Now you can go to localhost:1313 and your new Academic themed website should appear.
hugo
, and deploy it by copying the public/
directory (by FTP, Rsync, git push, etc.) to your production web server.The configuration file config.toml
contains the core parameters for the website. For deployment, the baseURL
variable can be changed to match your website URL such as baseURL = "http://yoursite.org/"
.
To change the biography text, edit content/home/about.md
and/or the param
variables in config.toml
.
To create a new publication:
hugo new publications/my-paper-name.md
Then edit the default variables at the top of publications/my-paper-name.md
to include the details of your publication. Note that the date
variable for publications is the publish date in the format 2016-01-01
.
To create a blog/news article:
hugo new blog/my-article-name.md
To remove content, simply delete the relevant file from your content/blog
or content/publications
folder. If you wish to remove the Teaching section from the home page, simply delete the content/home/teaching.md
file. Then rebuild and view the updated website with the hugo
and hugo server --watch
commands.
To enable Google Analytics, add your tracking code to config.toml
similarly to googleAnalytics = "UA-12345678-9"
.
Improvements to the theme will be recorded in the Github releases changelog. Feel free to star the project on Github and monitor the progress for updates.
Created by George Cushen.