📘
Lab Website Template docs
  • Introduction
    • Overview
    • Is this right for me?
    • Gallery
    • Support
  • Getting Started
    • Set up your site
    • Set up your URL
    • Tidy up your repo
    • Change your site
    • Preview your site
  • Basics
    • Repo structure
    • Configure your site
    • Edit pages
    • Write basic content
    • Use your logo
    • Customize your theme
    • Team members
    • Blog posts
    • Citations
    • Components
      • Section
      • Figure
      • Button
      • Icon
      • Feature
      • List
      • Citation
      • Card
      • Portrait
      • Post Excerpt
      • Alert
      • Tags
      • Float
      • Grid
      • Cols
      • Search
      • Site Search
  • Advanced
    • Update your template
    • Embeds
    • Math, diagrams, videos, etc.
    • Analytics
    • Data and collections
    • Jekyll plugins
    • Custom components
    • Background knowledge
Powered by GitBook
On this page
  1. Basics
  2. Components

Portrait

A portrait for a team member, with image, link, name, and role

PreviousCardNextPost Excerpt

Last updated 2 years ago

Typically you'd use this with the component, which would automatically read from members and pass this component the parameters. But you can also use it stand-alone to manually display individual members:

{%
  include portrait.html
  lookup="tim-member"
  style="small"
%}
Parameter
Description

lookup

Lookup member details from members by filename, without the .md extension.

style

Visual style of the portrait. Set to small to make it a bit smaller, or set to tiny to make it very small and horizontal layout.

name / etc.

The same parameters outlined in . Retrieved from lookup, or passed automatically from list component.

👁️
PREVIEW
list
team members