From 0f9766005157cbb0ef4ececc2e656d54e52cd6b4 Mon Sep 17 00:00:00 2001 From: weru <onewesh@gmail.com> Date: Wed, 05 Feb 2020 19:19:13 +0000 Subject: [PATCH] update --- exampleSite/content/docs/customization/shortcodes/index.md | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/exampleSite/content/docs/customization/shortcodes/index.md b/exampleSite/content/docs/customization/shortcodes/index.md index 5badbba..d0a6066 100644 --- a/exampleSite/content/docs/customization/shortcodes/index.md +++ b/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. -- Gitblit v1.10.0