📘
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

Citation

A citation for a particular source, with regular citation details and extra "rich" details

PreviousListNextCard

Last updated 1 year ago

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

{%
  include citation.html
  lookup="doi:10.1016/j.csbj.2020.05.017"
  style="rich"
%}
Parameter
Description
Default

lookup

Lookup citation details from citations.yaml by id or title.

style

Visual style of citation. Set to rich to show image and more .

Plain card with basic info

title / etc.

The same basic and rich citation parameters outlined in the Retrieved from lookup, or passed automatically from list component.

👁️
PREVIEW
list
rich details
citation examples.