-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{# | ||
Copyright 2024 Scape Agency BV | ||
#} | ||
|
||
{# | ||
Blockquote (<blockquote>) | ||
=========================================================================== | ||
Defines a section that is quoted from another source. | ||
Variables: | ||
- `blockquote_text`: The text to be displayed as a blockquote. Defaults to "Default quote text". | ||
- `cite_url`: The URL of the source of the quote. Defaults to "#". | ||
Notes: | ||
- The `| e` filter is used to escape any special characters in the variables to prevent XSS attacks. | ||
Links: | ||
- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blockquote | ||
- https://www.w3schools.com/tags/tag_blockquote.asp | ||
#} | ||
|
||
<blockquote cite="{{ cite_url | default('#') | e }}"> | ||
{{ blockquote_text | default('Default quote text') | e }} | ||
</blockquote> |