Commit Graph

29 Commits

Author SHA1 Message Date
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
George 312cbdb4c5
Cache busting for _sass and individual files (#1557)
Addressing #1395 but with a different solution from #1478, using
semantic versioning based on implementation found
[here](https://distresssignal.org/busting-css-cache-with-jekyll-md5-hash).

Implemented a way of calculating the hash for both a single file or
directory. This way we can calculate the hash for when there is a change
in the `_sass` dir, for example, or in the contents of a single file.

Examples of generated outputs of the plugin:
```
/al-folio/assets/css/main.css?d41d8cd98f00b204e9800998ecf8427e
/al-folio/assets/js/theme.js?96d6b3e1c3604aca8b6134c7afdd5db6
/al-folio/assets/js/dark_mode.js?9b17307bb950ffa2e34be0227f53558f
/al-folio/assets/js/no_defer.js?d633890033921b33e0ceb13d22340a9c
/al-folio/assets/js/common.js?acdb9690d7641b2f8d40529018c71a01
/al-folio/assets/js/copy_code.js?c9d9dd48933de3831b3ee5ec9c209cac
/al-folio/assets/img/prof_pic.jpg?974957d202f671e4fa6700c04e68deae
```

Signed-off-by: George Araujo <george.gcac@gmail.com>
2023-07-30 00:14:23 -03:00
George 0b109a23ed
Fixed news limit (#1359)
Fixes #1346.

---------

Signed-off-by: George Araujo <george.gcac@gmail.com>
Co-authored-by: Yifan Jiang <55911052+YifanJiang233@users.noreply.github.com>
Co-authored-by: Raffaele Mancuso <54762742+raffaem@users.noreply.github.com>
Co-authored-by: Yue Gao <11145354+Lodour@users.noreply.github.com>
2023-04-27 12:26:48 -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
Rohan Deb Sarkar f2be212967
Add news page (#1085)
fixes #993 

Also added links to news and publications from respective section
headers on the home page. Changed the colors of the header links to make
it consistent with the previous look.
2023-01-08 22:46:31 +05:30
Yavuz Alp Sencer ÖZTÜRK ca883669a1
fixe typos (#823) 2022-08-16 22:00:09 +05:30
Maruan a27cf93331
Fix typos in _layouts/about.html (#739) 2022-07-04 01:51:39 -04:00
Rohan Deb Sarkar bcd43a18fe
Support for cicular image (#728) 2022-06-26 13:50:45 +05:30
Rohan Deb Sarkar dcce13b442
Minor fixes (#522) 2022-01-13 17:48:12 -05:00
José M. Requena Plens b950fc3fdb
Better SEO, OpenGraph, schema.org and clean generated code (#481) 2021-12-31 11:46:42 -05:00
Rohan Deb Sarkar 0e3cff9137
Use WebP responsive images (#498)
This PR replaces the jekyll-responsive-images with jekyll-imagemagick for responsive WebP images.

WebP images are much smaller compared to PNG and JPEG, faster to load and most of the modern browsers recommend it.

More information about WebP images: https://developers.google.com/speed/webp
2021-12-22 03:13:52 -05:00
Rohan Deb Sarkar 7f10dc3ec9
Lighthouse enhancements (#445) 2021-11-21 15:05:46 -05:00
Maruan 174024e76c
Add support for responsive images (#439) 2021-10-30 16:26:55 -04:00
JD 4849b5a8dc
Issue 183 (#192)
* Issue 183

* CSS fixes for : 
  * Citations
  * Footer
  * Project Cards
  * Code background

* Fix dark mode edge cases (mainly with distill)

Co-authored-by: Maruan Al-Shedivat <alshedivat.maruan@gmail.com>
2021-03-29 11:49:42 -04:00
Roger Iyengar 218291bceb
Fix titles and headings (#204)
* Update head.html

* Update header.html

* Update head.html

* Update header.html

* Update about.html

Co-authored-by: Maruan <alshedivat@users.noreply.github.com>
2021-03-04 09:54:38 -05:00
Swabha Swayamdipta 8f12d73123
Adding back the description on the About page (#136)
Added back the missing description on `about.html`, similar to `page.html`. This could additionally be added back to the `post.html` template as well.
2020-11-06 11:01:08 -05: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 619bb2df74 Minor fixes 2020-09-03 18:49:23 -04:00
Maruan 4ce137840f
Apply suggestions from code review 2020-09-03 18:26:17 -04:00
Matteo Visconti di Oleggio Castello cec9abe2cd FIX add first/middle/last name var in config 2020-08-29 18:44:52 -07:00
Jason Fleischer 605df838f3
Changes allow for more than first and last name to be displayed (#102)
If more than 2 elements in _config.yml variable `site.title`, any middle names or initials will be displayed.
2020-07-14 10:41:06 -04:00
Maruan Al-Shedivat b6543ef41e Simplify layout logic 2020-05-17 05:52:09 -04:00
Maruan Al-Shedivat 6fda5af2b0 Add distill post styles and template 2020-05-02 19:14:27 -04:00
Maruan Al-Shedivat 6e9de53d68 Update pagination 2020-05-02 18:09:42 -04:00
Maruan Al-Shedivat 39745a9224 Minor fixes to navbar 2020-05-02 15:45:16 -04:00
Maruan Al-Shedivat edc854aa3a First step toward moving to Bootstrap. 2020-05-01 18:36:18 -04:00
Maruan Al-Shedivat ed63169e50 Update the theme with a neat publications page. 2016-07-05 02:38:32 -04:00
Maruan Al-Shedivat 4b73664d56 Add the news collection with emoji support. Restructure assets. 2015-10-22 18:09:12 -04:00
Maruan Al-Shedivat ecafb6544b Add profile property to about.md 2015-10-22 14:59:20 -04:00