Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xexampleSite/content/en/blog/long-form-post.md2
-rw-r--r--layouts/partials/head/metadata.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/exampleSite/content/en/blog/long-form-post.md b/exampleSite/content/en/blog/long-form-post.md
index fafd351..b15867e 100755
--- a/exampleSite/content/en/blog/long-form-post.md
+++ b/exampleSite/content/en/blog/long-form-post.md
@@ -1,5 +1,5 @@
---
-title: "_Long_ Form Post"
+title: "**Long** Form Post!"
date: 2020-05-30T20:18:53-05:00
showDate: true
draft: false
diff --git a/layouts/partials/head/metadata.html b/layouts/partials/head/metadata.html
index 7481c1c..fc624d2 100644
--- a/layouts/partials/head/metadata.html
+++ b/layouts/partials/head/metadata.html
@@ -6,7 +6,7 @@
<meta name="referrer" content="no-referrer">
{{ if .Site.Params.description }}<meta name="description" content="{{ .Site.Params.description }}">{{ end }}
<title>
-{{ .Title | markdownify }}{{ if ne .Title .Site.Title }} - {{ .Site.Title | markdownify }}{{ end }}
+{{ .Title | humanize | title }}{{ if ne .Title .Site.Title }} - {{ .Site.Title | markdownify }}{{ end }}
</title>
<!-- RSS -->
{{ with .OutputFormats.Get "RSS" }}<link href="{{ .RelPermalink }}" rel="alternate" type="application/rss+xml" title="{{ $.Site.Title }}" />{{ end }}