Rename exampleSite to example
This commit is contained in:
87
example/content/shortcodes/quote.md
Normal file
87
example/content/shortcodes/quote.md
Normal file
@@ -0,0 +1,87 @@
|
||||
+++
|
||||
authors = ["author-demo"]
|
||||
categories = ["paige", "shortcodes"]
|
||||
description = "Demonstration of the quote shortcode."
|
||||
tags = ["figures", "quotations"]
|
||||
title = "Quote"
|
||||
+++
|
||||
|
||||
The `paige/quote` shortcode displays a quotation.
|
||||
|
||||
<!--more-->
|
||||
|
||||
## Basic
|
||||
|
||||
Code:
|
||||
|
||||
```go-html-template
|
||||
{{</* paige/quote */>}}
|
||||
Hickory dickory dock.<br>
|
||||
The mouse ran up the clock.<br>
|
||||
The clock struck one,<br>
|
||||
The mouse ran down,<br>
|
||||
Hickory dickory dock.
|
||||
{{</* /paige/quote */>}}
|
||||
```
|
||||
|
||||
Result:
|
||||
|
||||
{{< paige/quote >}}
|
||||
Hickory dickory dock.<br>
|
||||
The mouse ran up the clock.<br>
|
||||
The clock struck one,<br>
|
||||
The mouse ran down,<br>
|
||||
Hickory dickory dock.
|
||||
{{< /paige/quote >}}
|
||||
|
||||
## Cite
|
||||
|
||||
Code:
|
||||
|
||||
```go-html-template
|
||||
{{</* paige/quote cite="Hickory Dickory Dock" */>}}
|
||||
Hickory dickory dock.<br>
|
||||
The mouse ran up the clock.<br>
|
||||
The clock struck one,<br>
|
||||
The mouse ran down,<br>
|
||||
Hickory dickory dock.
|
||||
{{</* /paige/quote */>}}
|
||||
```
|
||||
|
||||
Result:
|
||||
|
||||
{{< paige/quote cite="Hickory Dickory Dock" >}}
|
||||
Hickory dickory dock.<br>
|
||||
The mouse ran up the clock.<br>
|
||||
The clock struck one,<br>
|
||||
The mouse ran down,<br>
|
||||
Hickory dickory dock.
|
||||
{{< /paige/quote >}}
|
||||
|
||||
## Figure
|
||||
|
||||
Code:
|
||||
|
||||
```go-html-template
|
||||
{{</* paige/figure caption="Hickory Dickory Dock" */>}}
|
||||
{{</* paige/quote */>}}
|
||||
Hickory dickory dock.<br>
|
||||
The mouse ran up the clock.<br>
|
||||
The clock struck one,<br>
|
||||
The mouse ran down,<br>
|
||||
Hickory dickory dock.
|
||||
{{</* /paige/quote */>}}
|
||||
{{</* /paige/figure */>}}
|
||||
```
|
||||
|
||||
Result:
|
||||
|
||||
{{< paige/figure caption="Hickory Dickory Dock" >}}
|
||||
{{< paige/quote >}}
|
||||
Hickory dickory dock.<br>
|
||||
The mouse ran up the clock.<br>
|
||||
The clock struck one,<br>
|
||||
The mouse ran down,<br>
|
||||
Hickory dickory dock.
|
||||
{{< /paige/quote >}}
|
||||
{{< /paige/figure >}}
|
Reference in New Issue
Block a user