Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/hauke96/hugo-theme-hamburg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHauke Stieler <mail@hauke-stieler.de>2019-03-18 02:27:42 +0300
committerHauke Stieler <mail@hauke-stieler.de>2019-03-18 02:27:42 +0300
commit7b8d9f6a00d7ae164044f85a8d858490dae26394 (patch)
treeaf2e3e91a23f7d7e18db468c574ee9928f7dac9e /README.md
parentcf8c7ecbddd55a703d2994d6957ba9712a2fd235 (diff)
Add shortcodes to README
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/README.md b/README.md
index d786578..637c90f 100644
--- a/README.md
+++ b/README.md
@@ -109,6 +109,21 @@ summary = "Dies ist nur ein Testbeitrag um die Website zu testen."
noshowdate = true
```
+## Shortcodes
+There're some simple shortcodes to make things easier.
+
+### Link to a tag
+Creates a simple link to a tag page:
+```
+I like {{< linkTag veggy-food "yummi vegetarian food" >}}.
+```
+
+### Include images
+Includes images and opens them in a new tab when clicked:
+```
+{{< img "photo.png" "What a lovely picture" >}}
+```
+
## Multiple authors
This theme will read the information of an author based on the language code of a page.