tobiasgerstenberg / homepage

Homepage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

update publications page

tobiasgerstenberg opened this issue · comments

it would be great to have a publications page that looks like this: https://www.bramleylab.ppls.ed.ac.uk/publication/

and also has a search filter like this one:
http://www.mit.edu/~k2smith/publication/

we can then remove the date and type dropdown menus from our page.

here is neil's homepage as a template: https://github.com/bramleyccslab/website_files

some things neil said:

It's a bit of a mess because I found some of the edits I made to the original theme had to be within the themes/hugo-academic-group/ folder for some complicated reason (otherwise they didn't overwrite some properties of the theme) even though the original idea was to leave the academic-group folders unmodified and only modify in the outer folders. So its no longer the hugo-academic-group but one i tweaked in a bunch of places. However, i did make the publications work as you describe. I don't have any working papers on there right now, but if I change the date of a paper to "submitted-01-01" in its markdown file, it appears as a section above the latest year with the title "Working Papers". The relevant code is in themes/hugo-academic-group/section/publication.html lines 25 onward.

Can't remember exactly why that works, looking at it now, I'm guessing if the date is invalid it defaults to the year 1AD, which falls in the scope of the 'if eq .Key "0001"' bit. Otherwise it gets placed in reverse year order below. I'm not sure what the "2006"s are about. Maybe the theme originally was supposed to only pull papers from post 2006?!

for the personal publications page, it would be neat if the author name were bolded, like on the publications page here: http://www.mit.edu/~maxkw/