From cd9eb74a8587a621dbf895be12a0aaf321a26772 Mon Sep 17 00:00:00 2001
From: Karl <kc0bfv@gmail.com>
Date: Sun, 02 Feb 2020 22:02:09 +0000
Subject: [PATCH] Remove some broken html, add emoji

---
 exampleSite/content/emoji-support.md     |    5 +++--
 exampleSite/config.toml                  |    1 +
 exampleSite/content/markdown-syntax.md   |   16 ++--------------
 exampleSite/content/rich-content.md      |    4 ----
 exampleSite/config_for_github_pages.toml |    1 +
 layouts/partials/head.html               |    2 +-
 6 files changed, 8 insertions(+), 21 deletions(-)

diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index ace17d8..4cb9398 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -4,6 +4,7 @@
 theme = "ticky_tacky_dark"
 #googleAnalytics = ""
 disableKinds = ["taxonomy", "taxonomyTerm"]
+enableEmoji = true
 
 [params]
     favicon = "favicon.ico"
diff --git a/exampleSite/config_for_github_pages.toml b/exampleSite/config_for_github_pages.toml
index dd76d8d..4fb2402 100644
--- a/exampleSite/config_for_github_pages.toml
+++ b/exampleSite/config_for_github_pages.toml
@@ -3,6 +3,7 @@
 title = "Ticky Tacky Dark"
 theme = "ticky_tacky_dark"
 #googleAnalytics = ""
+enableEmoji = true
 disableKinds = ["taxonomy", "taxonomyTerm"]
 
 [params]
diff --git a/exampleSite/content/emoji-support.md b/exampleSite/content/emoji-support.md
index 5a7858b..8b48c0d 100644
--- a/exampleSite/content/emoji-support.md
+++ b/exampleSite/content/emoji-support.md
@@ -21,8 +21,9 @@
 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.
 
 
-<p><span class="nowrap"><span class="emojify">πŸ™ˆ</span> <code>:see_no_evil:</code></span>  <span class="nowrap"><span class="emojify">πŸ™‰</span> <code>:hear_no_evil:</code></span>  <span class="nowrap"><span class="emojify">πŸ™Š</span> <code>:speak_no_evil:</code></span></p>
-<br>
+:see_no_evil: :hear_no_evil: :speak_no_evil:
+
+πŸ™ˆ πŸ™‰ πŸ™Š
 
 The [Emoji cheat sheet](http://www.emoji-cheat-sheet.com/) is a useful reference for emoji shorthand codes.
 
diff --git a/exampleSite/content/markdown-syntax.md b/exampleSite/content/markdown-syntax.md
index ee170be..8bb4658 100644
--- a/exampleSite/content/markdown-syntax.md
+++ b/exampleSite/content/markdown-syntax.md
@@ -54,8 +54,8 @@
 
 #### Blockquote with attribution
 
-> Don't communicate by sharing memory, share memory by communicating.</p>
-> β€” <cite>Rob Pike[^1]</cite>
+> Don't communicate by sharing memory, share memory by communicating.
+> β€” Rob Pike[^1]
 
 
 [^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015.
@@ -139,15 +139,3 @@
 1. First Sub-item
 2. Second Sub-item
 
-## Other Elements β€” abbr, sub, sup, kbd, mark
-
-<abbr title="Graphics Interchange Format">GIF</abbr> is a bitmap image format.
-
-H<sub>2</sub>O
-
-X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup>
-
-Press <kbd><kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>Delete</kbd></kbd> to end the session.
-
-Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and other small creatures.
-
diff --git a/exampleSite/content/rich-content.md b/exampleSite/content/rich-content.md
index f67c4f9..14d106b 100644
--- a/exampleSite/content/rich-content.md
+++ b/exampleSite/content/rich-content.md
@@ -21,7 +21,6 @@
 
 {{< instagram_simple BGvuInzyFAe hidecaption >}}
 
-<br>
 
 ---
 
@@ -29,7 +28,6 @@
 
 {{< youtube ZJthWmvUzzc >}}
 
-<br>
 
 ---
 
@@ -37,8 +35,6 @@
 
 {{< twitter_simple 1085870671291310081 >}}
 
-<br>
-
 ---
 
 ## Vimeo Simple Shortcode
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 34a32b1..75ceab9 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -1,7 +1,7 @@
 <meta charset="utf-8">
 <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
 <title>{{ .Site.Title }}{{ with .Params.title }} - {{ . }}{{ end }}</title>
-{{ $description := .Params.description | default .Site.Params.description }}
+{{ $description := $.Param "description" }}
 {{- with $description }}<meta name="description" content="{{ . }}">{{ end }}
 {{ $author := .Params.author.name | default .Site.Author.name }}
 {{- with $author }}<meta name="author" content="{{ . }}">{{ end }}

--
Gitblit v1.10.0