From 4f241dda9c18a4a0f916b81cc2b45e6d14ccb139 Mon Sep 17 00:00:00 2001 From: Josh Borrow <joshua.borrow@durham.ac.uk> Date: Fri, 18 Aug 2017 08:29:41 +0100 Subject: [PATCH] Added information about adding talks and publications. --- README.md | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 79b20c1..88d13c1 100644 --- a/README.md +++ b/README.md @@ -54,4 +54,32 @@ To add images stick the image file into ```images``` and then you can reference + I should now run ```python3 compiler.py``` (see the top-level information for how to compile correctly) and everything will be copied such that the images live in the same directory as the final HTML files. -### Adding Talks/Publications \ No newline at end of file +### Adding Talks/Publications + +Adding talks or publications is as simple as editing a YAML file in the ```data``` directory. + +To add a publication, you need to add the following data structure to ```data/pubs.yaml```, + + - title: + date: + img: + link: + +Please place the image file into ```/images```. +I would not recommend adding a publication without an image, even if it is possible. + +To add a talk, you need to add the following data structure to ```data/talks.yaml```, + + - meeting: + location: + date: + title: + author: + abstract: + links: + - href: + name: + +and recompile the website with ```compiler.py```. + +You can place slides, etc. in the ```/talks``` directory and reference them here with ```href: filename``` with no need to worry about the directory -- again, these are all copied automatically. \ No newline at end of file -- GitLab