Skip to content

Commit 76c36e7

Browse files
committed
Updated for Feebacks issue
1 parent 07e111b commit 76c36e7

File tree

3 files changed

+60
-6
lines changed

3 files changed

+60
-6
lines changed

layouts/v1/single.html

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
11
{{ define "main" }}
2-
{{ .Render "content" }}
3-
{{ end }}
2+
<div class="td-content">
3+
<h1>{{ .Title }}</h1>
4+
<!-- {{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }} -->
5+
{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) }}
6+
{{ partial "reading-time.html" . }}
7+
{{ end }}
8+
9+
{{ .Content }}
10+
11+
{{ partial "section-index.html" . }}
12+
{{ partial "feedback1.html" . -}}
13+
14+
15+
{{ if (.Site.Config.Services.Disqus.Shortname) }}
16+
<br />
17+
{{ partial "disqus-comment.html" . }}
18+
{{ end }}
19+
<!-- <div class="text-muted mt-5 pt-3 border-top">{{ partial "page-meta-lastmod.html" . }}</div> -->
20+
</div>
21+
{{ end }}

layouts/v2/single.html

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
11
{{ define "main" }}
2-
{{ .Render "content" }}
3-
{{ end }}
2+
<div class="td-content">
3+
<h1>{{ .Title }}</h1>
4+
<!-- {{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }} -->
5+
{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) }}
6+
{{ partial "reading-time.html" . }}
7+
{{ end }}
8+
9+
{{ .Content }}
10+
11+
{{ partial "section-index.html" . }}
12+
{{ partial "feedback1.html" . -}}
13+
14+
15+
{{ if (.Site.Config.Services.Disqus.Shortname) }}
16+
<br />
17+
{{ partial "disqus-comment.html" . }}
18+
{{ end }}
19+
<!-- <div class="text-muted mt-5 pt-3 border-top">{{ partial "page-meta-lastmod.html" . }}</div> -->
20+
</div>
21+
{{ end }}

layouts/v3/single.html

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
11
{{ define "main" }}
2-
{{ .Render "content" }}
3-
{{ end }}
2+
<div class="td-content">
3+
<h1>{{ .Title }}</h1>
4+
<!-- {{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }} -->
5+
{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) }}
6+
{{ partial "reading-time.html" . }}
7+
{{ end }}
8+
9+
{{ .Content }}
10+
11+
{{ partial "section-index.html" . }}
12+
{{ partial "feedback1.html" . -}}
13+
14+
15+
{{ if (.Site.Config.Services.Disqus.Shortname) }}
16+
<br />
17+
{{ partial "disqus-comment.html" . }}
18+
{{ end }}
19+
<!-- <div class="text-muted mt-5 pt-3 border-top">{{ partial "page-meta-lastmod.html" . }}</div> -->
20+
</div>
21+
{{ end }}

0 commit comments

Comments
 (0)