This is the repository for the BALab web site. This system is used to create and maintain the website. The system manages information regarding
- group members and alumni
- research projects
- publications
- software
This is a responsive website (mobile, tablets and computers); using HTML, CSS & Boostrap 3.3.7
The technologies that are used are Pelican, Markdown & BiBTeX
Data are kept in MARKDOWN form (members, alumni, projects) and for the publications BiBTeX is used. Data are transformed into static HTML pages by Pelican.
python
pelican
: pip install pelicanmarkdown
: pip install Markdowntypogrify
: pip install typogrifypybtex
: pip install pybtex
- Locally:
pelican content/
- To update the web site on the server:
bin/update/
- To add a new publication edit the file in
content/pubs.bib
You can use a BibTeX entry exported from a digital library. However, you need to add theXEmember
andXEcategory
fields and change url field to XEurl field and doi to XEdoi; look at existing entries for examples. (XEcategory
= 'Monographs and Edited Volumes','Journal Articles', 'Book Chapters', 'Conference Publications', 'Technical Reports','White Papers','Magazine Articles','Working Papers') - To add a new member, add a file under
content/members
; - To add a new associate, add a file under
content/alumni
; - to add a new project, add a file under
content/projects
; - to add new software, add a file under
content/software
; - To update a static page (ex. PhD Student Achievements), go to
pages
, follow the existing stracture and use class="img-responsive" for images; - To modify an existing one, edit the corresponding file.
Again, when adding, you can get a head-start by copy-pasting a template (see below).
content
: MD and bibtex user datamembers
: Members' information (MD)alumni
: Alumni' information (MD)projects
: Project information (MD)pubs.bib
: publications - Bibliographic data (Bibtex)pages
: Rogue HTML pages, which are assigned to the site.images
: Put your image here
plugins
: bibtex plugintheme
: templates and static filestemplates
:static
:css
:images
:fonts
:
output
:
doc/templates/member-associate-example.md
: Template for a group member or associatedoc/templates/project-example.md
: Template for a research projectdoc/templates/publication-schema.bib
: Bibtex entries templates
To create,
- a new member, copy the template file to the
content/members/
directory - a new associate, copy the template file to the
content/alumni/
directory - a new project, copy the template file to the
content/projects/
directory - a new publication, update the appropriate bib file in
content/pubs.bib
directory