new_site/_layouts
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
..
about.html Added support for multiple profiles in about page (#1243) 2023-09-28 15:01:24 -03:00
archive-category.html Added Jekyll-Archives (for tags, categories) and Jekyll site-map (#346) 2021-10-30 16:58:42 -04:00
archive-tag.html Added Jekyll-Archives (for tags, categories) and Jekyll site-map (#346) 2021-10-30 16:58:42 -04:00
archive-year.html Added Jekyll-Archives (for tags, categories) and Jekyll site-map (#346) 2021-10-30 16:58:42 -04:00
bib.html Publication image zoom (#1554) 2023-07-12 14:06:57 -03:00
cv.html Moved ToC Menu to Sidebar (#1582) 2023-09-17 15:03:21 -04:00
default.html add WeChat to socials (#1730) 2023-09-17 15:49:27 -04:00
distill.html Add support for giscus comments (#1028) 2022-12-11 22:33:09 -05:00
none.html Update the theme with a neat publications page. 2016-07-05 02:38:32 -04:00
page.html Al folio main giscus pages (#1596) 2023-07-23 16:18:03 -03:00
post.html Support for bibliography in blog posts and projects (#1553) 2023-07-12 14:07:33 -03:00
profiles.html Added support for multiple profiles in about page (#1243) 2023-09-28 15:01:24 -03:00