mirror of https://github.com/onweru/compose.git

weru
05.19.2020 0f9766005157cbb0ef4ececc2e656d54e52cd6b4
update
1 files modified
6 ■■■■ changed files
exampleSite/content/docs/customization/shortcodes/index.md 6 ●●●● patch | view | raw | blame | history
exampleSite/content/docs/customization/shortcodes/index.md
@@ -1,8 +1,12 @@
---
title: "Shortcodes"
weight: 4
weight: 7
description: >
  Use hugo shortcodes to quickly compose site pages.
resources:
- src: "**spruce*.jpg"
  params:
    byline: "Photo: Bjørn Erik Pedersen / CC-BY-SA"
---
Rather than writing all your site pages from scratch, Hugo lets you define and use [shortcodes](https://gohugo.io/content-management/shortcodes/). These are reusable snippets of content that you can include in your pages, often using HTML to create effects that are difficult or impossible to do in simple Markdown. Shortcodes can also have parameters that let you, for example, add your own text to a fancy shortcode text box. As well as Hugo's [built-in shortcodes](https://gohugo.io/content-management/shortcodes/), Compose provides some shortcodes of its own to help you build your pages.