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:
Diffstat (limited to 'layouts/partials/home')
-rw-r--r--layouts/partials/home/blog.html2
-rw-r--r--layouts/partials/home/projects.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/home/blog.html b/layouts/partials/home/blog.html
index 2c2b55b..0582a20 100644
--- a/layouts/partials/home/blog.html
+++ b/layouts/partials/home/blog.html
@@ -6,7 +6,7 @@
<h2 class="title is-2 has-text-centered">{{ i18n "index_blog_latestPosts" . }}</h2>
{{ range first 1 .Pages.ByPublishDate.Reverse }}
<div class="summary">{{ if .Params.date }}{{ .Date.Format (.Site.Params.dateFormat | default "Jan 02, 2006") }}{{ end }}
- <h3 class="title is-3 latest-post-title"><a href="{{ .Permalink }}">{{ .Title }}</a></h3>
+ <h3 class="title is-3 latest-post-title"><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h3>
<div class="markdown">
{{ .Summary }}
{{ if .Truncated }}
diff --git a/layouts/partials/home/projects.html b/layouts/partials/home/projects.html
index e5a28a8..0cf6d96 100644
--- a/layouts/partials/home/projects.html
+++ b/layouts/partials/home/projects.html
@@ -3,7 +3,7 @@
<!-- Begin Projects container -->
<div class="container">
<h2 class="title is-2 has-text-centered">
- {{ .Title }}
+ {{ .Title | markdownify }}
</h2>
<div class="section">
<div class="columns is-multiline">
@@ -32,7 +32,7 @@
</div>
<div class="card-content has-text-centered top-pad">
<a {{ if .Params.external_link }} href="{{ .Params.external_link }}" {{ end }}>
- {{ .Title }}
+ {{ .Title | markdownify }}
</a>
</div>
</div>