academic_homepage2
A simple homepage for academic use, based on Angular and Bootstrap.
This replaces http://github.com/pettni/academic_homepage which was built using the deprecated AngularJS.
The main changes are:
- Using Angular instead of AngularJS
- Less dependence on remote js/css, they are instead installed via npm and compiled. The only remaining remote css is Academicons
- Better structured publication code
- Linking to individual publications
- Small widget for posting recent news
- Publications can be included in other parts of the site (although this is still hacky)
- With Angular the deployed page is optimized
Features
- Lightweight.
- Creates a searchable list of publications from a
.bib
file. - Includes node scripts for streamlined development with livereload etc.
Publication list
If the .bib
file has entries named "Abstract" (text), "Url" (url) or "Slides" (url), the information will be appended to the publication list. Currently, there is support for @article, @inproceedings, @mastersthesis, @phdthesis, @book, and @inbook.
Development
For easy development/personalization, clone the repo and run
npm install
to install all dependencies. Then run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Deployment
Execute
ng build --prod --deploy-url "DEPLOY_URL" --base-href "BASE_HREF"
where DEPLOY_URL is the address where the page will be deployed (e.g. http://its.caltech.edu
), and BASE_HREF is the location on that server (e.g. /~lnilsson/
)