📘
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

Alert

Colored box with icon and content

PreviousPost ExcerptNextTags

Last updated 11 months ago

{% capture lorem %}
_Lorem_ **ipsum**.
{% endcapture %}

{%
  include alert.html
  type="info"
  content=content
%}
Parameter
Description

type

Type of alert. Determines the and color to show. See /_data/types.yaml for what types of alerts are built-in or to add your own.

content

Content to show as main content of box. Can contain Markdown. Accepts .

👁️
PREVIEW
icon
arbitrary content