📘
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

Tags

A list of clickable tags

PreviousAlertNextFloat

Last updated 3 months ago

This component is automatically included in other components such as the and . But you can also use it stand-alone to manually list a set of tags that a visitor can .

{%
  include tags.html
  tags="ovarian cancer, dataset, gene expression"
  repo="your-lab/some-repo"
  link="blog"
%}
Parameter
Description
Default

tags

List of tags to display. Can be a comma-separated string or an array.

repo

GitHub repository to automatically fetch additional from. Just user/org name and repo name, e.g. greenelab/deep-review.

link

What page of your site to go to when clicking on a tag. The template will go to this page and for items that have that tag.

Current page

👁️
PREVIEW
card
citation
filter the page by
"tags"
search