Add support for article summaries

This commit is contained in:
James Panther
2021-10-19 17:04:42 +11:00
parent 1901917d7c
commit 0a59984b44
11 changed files with 27 additions and 8 deletions
+2 -1
View File
@@ -4,6 +4,7 @@ description: "See what's possible with Congo."
cascade:
showEdit: false
showSummary: true
---
{{< lead >}}
@@ -14,6 +15,6 @@ This section contains some demo pages that show how Congo renders different type
You can also see an example [taxonomy listing]({{< ref "tags" >}}) page.
_**Sidenote:** This page is just a standard Congo article listing and Hugo has been configured to generate a `samples` content type._
_**Sidenote:** This page is just a standard Congo article listing and Hugo has been configured to generate a `samples` content type and display article summaries._
---
+1 -2
View File
@@ -2,13 +2,12 @@
title: "Emoji Support"
date: 2019-03-05
description: "Guide to emoji usage in Hugo"
summary: "📖🏞️🧗🏽🪂🐉🧙🏽‍♂️🧚🏽👸"
tags: ["emoji", "sample"]
---
Emoji can be enabled in a Hugo project in a number of ways.
<!--more-->
The [`emojify`](https://gohugo.io/functions/emojify/) function can be called directly in templates or [Inline Shortcodes](https://gohugo.io/templates/shortcode-templates/#inline-shortcodes).
To enable emoji globally, set `enableEmoji` to `true` in your site's [configuration](https://gohugo.io/getting-started/configuration/) and then you can type emoji shorthand codes directly in content files; e.g.
+1 -2
View File
@@ -2,13 +2,12 @@
title: "Rich Content"
date: 2019-03-10
description: "A brief description of Hugo Shortcodes"
summary: "This is an _example_ of a **rich** content summary."
tags: ["shortcodes", "privacy", "sample"]
---
Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes) for rich content, along with a [Privacy Config](https://gohugo.io/about/hugo-and-gdpr/) and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.
## <!--more-->
## YouTube Privacy Enhanced Shortcode
{{< youtube ZJthWmvUzzc >}}