diff --git a/README.md b/README.md index f2b77c1..29b728c 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,15 @@ The site specific parameters that this theme :wrecognizes are: This theme provides the following shortcodes. +- `blockquote` + - Description: Wrap text in a blockquote and insert optional + `cite` or `footer` metadata. + - Example: + ```html + {{% blockquote cite="www.shawnohare.com" footer="Shawn" %}} + There is nothing more beautiful than an elegant mathematical proof. + {{% /blockquote %}}` + ``` - `marginnote` - Description: Wrap text to produce a numberless margin note. - Usage: Accepts a required positional argument that is the margin note id. @@ -54,6 +63,7 @@ This theme provides the following shortcodes. `{{% sidenote """ %}}...{{% /sidenote %}}` - Example: `{{% sidenote "sn-example" %}}Some sidenote{{% /sidenote %}}` + ## Templates TODO - [ ] Describe the role of each template file, as commenting within the files diff --git a/layouts/shortcodes/blockquote.html b/layouts/shortcodes/blockquote.html new file mode 100644 index 0000000..e00389c --- /dev/null +++ b/layouts/shortcodes/blockquote.html @@ -0,0 +1,4 @@ +
+ {{ .Inner }} + +