- Make logo and favicon
- Get everyone profile done
- Get working papers to publications page
- Get a proper domain
- Get some nice banner images.
- Add blog page
- Add news / events / updates / features reel.
- Add project pages
- Add Disqus or other commenting options.
The following steps
- Clone the repository
git clone [email protected]:mrc-ide/hiv-inference-website.git
- Create a new branch using
git checkout -b <new_branch_name>
. - Make changes to file and avatar within
content/authors/yourname
. - Commit changes using
git commit
. - Create a pull request to branch
master
.
Assumed working directory is the cloned folder above
# Start serving a preview of the website
blogdown::serve_site()
# Create a new blog
blogdown::new_post(
title = "A title alright",
kind = "post/", # keep this as is
author = "Jeff Eaton", # or "jeffeaton"
categories = "Statistics",
tags = c("HIV", "Model"))
# Create a new publication
blogdown::new_content(
path = "publications/005-Eaton/index.md",
kind = "publication")
# or duplicate an existing one and modify it, commit, and pull request
Classify publication type using the YAML field publication_types
, see Tim's or
Katherin's publication for examples.
0
: Uncategorized1
: Conference paper2
: Journal article3
: Preprint / Working Paper4
: Report5
: Book6
: Book section7
: Thesis (v4.2+ required)8
: Patent (v4.2+ required)
Here you can edit and preview contents. Once done, commit and create pull request like the previous steps.
Assuming you have cloned this repo to ~/hivref
, then open Terminal and do
cd ~/hivref
hugo new content/blog/the-title-of-your-blog.md
# on Mac this will open your default markdown's editor
open content/blog/the-title-of-your-blog.md
hugo serve
# add publication
hugo new --kind publication publications/005-ABC/
Start to fill in the contents while previewing it at localhost:1313
on your
browser (assuming Hugo is already
installed).
Once done editing, commit the changes > push > make pull request.
- Theme colors are defined in
data/themes/custom_theme.toml
. The theme can be changed by setting thetheme =
line inconfig/_default/params.toml
.