diff --git a/config/_default/config.toml b/config/_default/config.toml index f8f12850..18bc5bb0 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -9,7 +9,6 @@ defaultContentLanguage = "en" title = "Congo" # copyright = "Copy, _right?_ :thinking_face:" -enableEmoji = true enableRobotsTXT = true summaryLength = 0 diff --git a/exampleSite/config.toml b/exampleSite/config.toml index bccba71d..dc301580 100755 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -11,7 +11,6 @@ theme = "congo" languageCode = "en-AU" defaultContentLanguage = "en" title = "Congo" -enableEmoji = true summaryLength = 0 [author] diff --git a/exampleSite/content/docs/configuration.md b/exampleSite/content/docs/configuration.md index 5573531e..dea6ef3f 100644 --- a/exampleSite/content/docs/configuration.md +++ b/exampleSite/content/docs/configuration.md @@ -36,7 +36,6 @@ Note that the variable names provided in this table use dot notation to simplify |`defaultContentLanguage`|string|`"en"`|This value determines the language of theme components."| |`title`|string|`"Congo"`|The title of the website. This will be displayed in the site header and footer.| |`copyright`|string|_Not set_|A Markdown string containing the copyright message to be displayed in the site footer. If none is provided, Congo will automatically generate a copyright string using the site `title`. -|`enableEmoji`|boolean|`true`|Whether emoji strings in content should be converted to emoji symbols.| |`enableRobotsTXT`|boolean|`true`|When enabled a `robots.txt` file will be created in the site root that allows search engines to crawl the entire site. Set to `false` if you wish to provide your own file.| |`summaryLength`|integer|`0`|The number of words that are used to generate the article summary when one is not provided in the [front matter]({{< ref "front-matter" >}}). A value of `0` will use the first sentence. This value has no effect when summaries are hidden.| |`author.name`|string|_Not set_|The author's name. This will be displayed in article footers, and on the homepage when the profile layout is used.| diff --git a/exampleSite/content/samples/emoji.md b/exampleSite/content/samples/emoji.md index 3efbefc2..b36c7bc2 100755 --- a/exampleSite/content/samples/emoji.md +++ b/exampleSite/content/samples/emoji.md @@ -12,7 +12,7 @@ Emoji is supported throughout Congo by default. Emoji can be used in titles, men **Note:** The rendering of these glyphs depends on the browser and the platform. To style the emoji you can either use a third party emoji font or a font stack. {{< /alert >}} -Emoji replacements are controlled via the `enableEmoji` parameter in your [site configuration]({{< ref "configuration#site-configuration" >}}). Set it to `true` and then you can type Emoji shorthand codes directly in content files. +Emoji replacements are automatic throughout Congo, so you can use shorthand codes in your content and front matter and they will be converted to their corresponding symbols at build time. **Example:** `see_no_evil` :see_no_evil:, `hear_no_evil` :hear_no_evil:, `speak_no_evil` :speak_no_evil:.