Commit e7974da 1 parent c36c727 commit e7974da Copy full SHA for e7974da
File tree 5 files changed +9
-13
lines changed
5 files changed +9
-13
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,7 @@ <h1>{{ .Title }}</h1>
8
8
{{ end -}}
9
9
</ header >
10
10
{{ .Content }}
11
- {{ if (and (not .Params.hide_feedback) (.Site.Params.ui.feedback.enable) (.Site.GoogleAnalytics)) -}}
12
- {{ partial "feedback.html" .Site.Params.ui.feedback }}
13
- < br />
14
- {{ end -}}
11
+ {{ partial "feedback.html" . -}}
15
12
{{ if (.Site.Params.DisqusShortname) -}}
16
13
< br />
17
14
{{- partial "disqus-comment.html" . -}}
Original file line number Diff line number Diff line change @@ -10,10 +10,7 @@ <h1>{{ .Title }}</h1>
10
10
</ header >
11
11
{{ .Content }}
12
12
{{ partial "section-index.html" . -}}
13
- {{ if (and (not .Params.hide_feedback) (.Site.Params.ui.feedback.enable) (.Site.GoogleAnalytics)) -}}
14
- {{ partial "feedback.html" .Site.Params.ui.feedback -}}
15
- < br />
16
- {{ end -}}
13
+ {{ partial "feedback.html" . -}}
17
14
{{ if (.Site.DisqusShortname) -}}
18
15
< br />
19
16
{{- partial "disqus-comment.html" . -}}
Original file line number Diff line number Diff line change
1
+ {{ if (and (not .Params.hide_feedback) (.Site.Params.ui.feedback.enable)) -}}
2
+ {{ with .Site.Params.ui.feedback -}}
1
3
< style >
2
4
.feedback--answer {
3
5
display : inline-block;
@@ -57,3 +59,6 @@ <h2 class="feedback--title">{{- i18n "feedback_title" -}}</h2>
57
59
sendFeedback ( 0 ) ;
58
60
} ) ;
59
61
</ script >
62
+ {{ end -}}
63
+ < br />
64
+ {{ end -}}
Original file line number Diff line number Diff line change @@ -10,10 +10,7 @@ <h1>{{ .Title }}</h1>
10
10
</ header >
11
11
{{ .Content }}
12
12
{{ partial "section-index.html" . -}}
13
- {{ if (and (not .Params.hide_feedback) (.Site.Params.ui.feedback.enable) (.Site.GoogleAnalytics)) -}}
14
- {{ partial "feedback.html" .Site.Params.ui.feedback -}}
15
- < br />
16
- {{ end -}}
13
+ {{ partial "feedback.html" . -}}
17
14
{{ if (.Site.DisqusShortname) -}}
18
15
< br />
19
16
{{ partial "disqus-comment.html" . -}}
Original file line number Diff line number Diff line change 30
30
31
31
services :
32
32
googleAnalytics :
33
- id : UA-00000000-0
33
+ # id: G-XXXXXXXXX
34
34
35
35
languages :
36
36
en :
You can’t perform that action at this time.
0 commit comments