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
+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.