tobiasgerstenberg / homepage Goto Github PK
View Code? Open in Web Editor NEWHomepage
Homepage
It would be nice if the publication names that we use to filter the list of publications on a particular member's name could have many possible values, not just a single string. Would be particularly helpful for cases where we want the site to recognize both the author's name and the name with an * denoting joint first author.
Played around with this for a little while but got kind of stuck.
the homepage cannot be built under the current version of hugo (hugo 0.58.3
). i've installed hugo 0.55.5 (and building the page works with this version).
to install the legacy version of hugo, i've used the trick posted here: https://www.fernandomc.com/posts/brew-install-legacy-hugo-site-generator/
in my case, i ran this command:
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/2d7e602ad4c26d1d509e5f6c17fd5911323788a3/Formula/hugo.rb
just tried the parser and from this bibtex entry:
@article{gerstenberg2019interesting,
Author = {Tobias Gerstenberg},
Title = {Interesting paper},
Year = {{submitted}}}
it generated the following markdown file:
+++
title = "Interesting paper"
date = "submitted-01-01"
authors = ["T. Gerstenberg"]
publication_types = ["2"]
publication = "Gerstenberg T. (submitted). Interesting paper."
image_preview = ""
selected = false
projects = []
#url_pdf = "papers/gerstenberg2019interesting.pdf"
url_preprint = ""
url_code = ""
url_dataset = ""
url_slides = ""
url_video = ""
url_poster = ""
url_source = ""
#url_custom = [{name = "Github", url = ""}]
math = true
highlight = true
[header]
# image = "publications/gerstenberg2019interesting.pdf"
caption = ""
here is what should be fixed:
Year =
entry of the bibtex file, the date =
entry in the markdown file is wrong: date = "submitted-01-01"
date = "2018-06-13"
# image = "publications/gerstenberg2019interesting.png"
+++
on the last line to indicate that this is the end of the markdown file headerSee if there is a way to get them back to the previous effect.
Change the section of the parser that writes the publication_types array to file, so that it correctly ascribes the publication category ('article', 'inproceedings', 'incollection') as well as whether or not the paper is forthcoming.
To check whether the paper is forthcoming, check the year field of the bibtex entry. If the year is an actual year, it is not forthcoming, otherwise its forthcoming status is the same as the value of the year field.
/layouts/section/publication.html
to create separate sections for forthcoming publications, and then the publications for each year (similar to how publications are shown here: http://web.mit.edu/tger/www/)year
and publication type
author
:
config.toml
date = "2018-08-15"
rather than date = "2018-8-15"
(i.e. day and month need to be specified with two numbers)year =
entry for publications that have {submitted}
in their date fieldModify the bibtex parser to handle latex syntax for umlauts and other common accents
Bring the homepage up to date with the current academic theme: https://github.com/gcushen/hugo-academic
just saw that they have written a parser now for academic: https://github.com/sourcethemes/academic-admin
worth checking out at some point
Make it so that the publication filter allows entries to show up under multiple categories. i.e. a publication can be both from a collection and forthcoming
submitted
, accepted
, or in press
at the top of the publication listForthcoming
(i.e. use value 3 in publication_types
as stated in in config.toml
line 140)homepage/layouts/partials/publication_li_apa.html
(line 8) to either display the year, or (if publication type is 3) display the text insteadWhen in fullscreen mode, if you hover over the github icon for some lab members it overlaps the picture. Relatedly, different people seem to have different margins between their pictures and their icons. It would be good to make it so that everyone has the same spacing and there is no overlap.
config.toml
publication_types = [
'Thesis', # 0
'Conference proceedings', # 1
'Journal', # 2
'Forthcoming', # 3
'Technical report', # 4
'Book', # 5
'Book chapter', # 6
'Preprint' # 7
]
publication_types = [
'Forthcoming', # 0
'Preprint' # 1
'Journal', # 2
'Conference Proceedings', # 3
'Book chapter', # 4
'Thesis' # 5
]
it would be nice to add a third filter which allows to display publications only be a specific lab member (this won't be useful just now, but later once there are more lab members :) )
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.