Commit Graph

20 Commits

Author SHA1 Message Date
Vinicius Silva fb955529c0 Website almost completely 2024-08-25 00:35:25 -03:00
Jake Nabasny, PhD 82e73254d9
Correct config variable for enabling latest_posts on about page (#2243)
I noticed disabling latest_posts in `_config.yml` didn't work because
the variable in the liquid template was seemingly incorrect. This should
fix that.

---------

Co-authored-by: Jake Nabasny <jake@nabasny.com>
2024-03-03 13:28:58 -03:00
Maruan beb6f27d59
format code with prettier.io (#2048)
summary:
- adds prettier formatter configuration
- formats the entire repo using prettier, ignoring minified files
(`*.min.css`) and heavy generated html
- changes extensions of all `.html` files to `.liquid`, which is more
correct and necessary for prettier to work correctly
- replaces "%-" and "-%" with just "%" — manual liquid formatting using
minus signs is superfluous since we are compressing and minifying the
code anyway
- adds CI action for running prettier check on PR and pushes to master
2024-01-10 00:10:51 -05:00
Rachel 13c277eff5
Update Font Awesome url (#1943)
Previous link returns a `404`
2023-11-22 15:48:56 -03:00
George 45d349fc8e
Added support for multiple profiles in about page (#1243)
Addresses #963.

Supports two setups: getting profile text from page content.

```markdown
---
layout: about
title: about
permalink: /
subtitle: <a href='#'>Affiliations</a>. Address. Contacts. Moto. Etc.

profiles:
  # if you want to include more than one profile, just replicate the following block
  # and create one content file for each profile inside _pages/
  - align: right
    image: prof_pic.jpg
    # content: about_einstein.md
    image_circular: false # crops the image to make it circular
    more_info: >
      <p>555 your office number</p>
      <p>123 your address street</p>
      <p>Your City, State 12345</p>

news: true  # includes a list of news items
selected_papers: true # includes a list of papers marked as "selected={true}"
social: true  # includes social icons at the bottom of the page
---

Write your biography here. Tell the world about yourself. Link to your favorite [subreddit](http://reddit.com). You can put a picture in, too. The code is already in, just name your picture `prof_pic.jpg` and put it in the `img/` folder.

Put your address / P.O. box / other info right below your picture. You can also disable any these elements by editing `profile` property of the YAML header of your `_pages/about.md`. Edit `_bibliography/papers.bib` and Jekyll will render your [publications page](/al-folio/publications/) automatically.

Link to your social media connections, too. This theme is set up to use [Font Awesome icons](http://fortawesome.github.io/Font-Awesome/) and [Academicons](https://jpswalsh.github.io/academicons/), like the ones below. Add your Facebook, Twitter, LinkedIn, Google Scholar, or just disable all of them.
```

Or getting profile text from `content` (useful when having multiple
profiles).

```markdown
---
layout: about
title: about
permalink: /
subtitle: <a href='#'>Affiliations</a>. Address. Contacts. Moto. Etc.

profiles:
  # if you want to include more than one profile, just replicate the following block
  # and create one content file for each profile inside _pages/
  - align: right
    image: prof_pic.jpg
    content: about_einstein.md
    image_circular: false # crops the image to make it circular
    more_info: >
      <p>555 your office number</p>
      <p>123 your address street</p>
      <p>Your City, State 12345</p>
  - align: left
    image: prof_pic.jpg
    content: about_einstein.md
    image_circular: false # crops the image to make it circular
    more_info: >
      <p>555 your office number</p>
      <p>123 your address street</p>
      <p>Your City, State 12345</p>

news: true  # includes a list of news items
selected_papers: true # includes a list of papers marked as "selected={true}"
social: true  # includes social icons at the bottom of the page
---
```

Which looks like this:


![image](https://user-images.githubusercontent.com/31376482/223251956-aec09f92-55c4-4a17-8ab6-0b30da0970cc.png)

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
Signed-off-by: George Araujo <george.gcac@gmail.com>
2023-09-28 15:01:24 -03:00
Furkan Akkurt 2b725c1863
Fix typo (#1356) 2023-04-24 22:54:45 -03:00
George 60209cfd93
Implemented latest posts on about page (#1307)
Adresses #340

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2023-04-08 10:19:08 -03:00
Yavuz Alp Sencer ÖZTÜRK ca883669a1
fixe typos (#823) 2022-08-16 22:00:09 +05:30
Rohan Deb Sarkar bcd43a18fe
Support for cicular image (#728) 2022-06-26 13:50:45 +05:30
José M. Requena Plens b950fc3fdb
Better SEO, OpenGraph, schema.org and clean generated code (#481) 2021-12-31 11:46:42 -05:00
Amir Pourmand 6b0bf87846
add jekyll target blank plugin (#404)
* add jekyll target blank

* Remove manual target blank from everywhere

* Update README.md

* Set ruby version to 3.0.2 in the deploy script

Co-authored-by: Maruan Al-Shedivat <maruan@genesistherapeutics.ai>
2021-10-03 21:16:05 -04:00
Maruan 4dc26260d7
v0.3.1 (#112)
* Add an option for showing selected publications

* Improve publication styles

* Update README.md

* Clearfix
2020-09-03 19:24:34 -04:00
Maruan Al-Shedivat edc854aa3a First step toward moving to Bootstrap. 2020-05-01 18:36:18 -04:00
Maruan Al-Shedivat 39f821b7a3 Update README.md 2017-05-27 13:33:40 -07:00
Maruan Al-Shedivat dc6cb63fbe Second round of style cleaning 2017-02-26 14:57:28 -05:00
Maruan Al-Shedivat 20e8a83fcd Refresh and update styles 2017-01-31 10:05:44 -05:00
Maruan Al-Shedivat ed63169e50 Update the theme with a neat publications page. 2016-07-05 02:38:32 -04:00
Maruan Al-Shedivat ecafb6544b Add profile property to about.md 2015-10-22 14:59:20 -04:00
Maruan Al-Shedivat 8a3e818873 Extract social and news as separate includes. Overall slight improvements. 2015-10-22 10:50:19 -04:00
Maruan Al-Shedivat 1e8dff52bc Basic modifications of the *folio theme 2015-10-19 17:38:04 -04:00