removes all space consuming symbols in templates
This commit is contained in:
parent
c5ab13bf48
commit
90a8c7d5af
26 changed files with 126 additions and 126 deletions
|
@ -6,12 +6,12 @@
|
|||
{{.}}
|
||||
</span>
|
||||
{{ end }}
|
||||
{{ partial "page-single/post-meta-top.html" . }}
|
||||
{{ partial "page-single/post-meta.html" . }}
|
||||
</header>
|
||||
<div class="post">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
{{ partial "page-single/post-meta-bottom.html" . }}
|
||||
{{ partial "page-single/post-navigation.html" . }}
|
||||
{{ partial "page-single/post-related.html" . }}
|
||||
{{- partial "page-single/post-comment.html" . -}}
|
||||
{{ partial "page-single/post-comment.html" . }}
|
||||
</article>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{{ if .Site.GoogleAnalytics -}}
|
||||
{{ if .Site.GoogleAnalytics }}
|
||||
<!-- Google Analytics -->
|
||||
{{- template "_internal/google_analytics_async.html" . -}}
|
||||
{{- end }}
|
||||
{{ template "_internal/google_analytics_async.html" . }}
|
||||
{{ end }}
|
||||
{{ partial "footer/font-awesome-js.html" . }}
|
||||
{{ partial "highlight-js.html" . }}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{{- if ne .Params.showcomments false -}}
|
||||
{{ if .Site.DisqusShortname -}}
|
||||
{{- partial "page-single/comment/disqus.html" . -}}
|
||||
{{- else if .Site.Params.GraphCommentId -}}
|
||||
{{- partial "page-single/comment/graphcomment.html" . -}}
|
||||
{{- end -}}
|
||||
{{- end }}
|
||||
{{ if ne .Params.showcomments false }}
|
||||
{{ if .Site.DisqusShortname }}
|
||||
{{ partial "page-single/comment/disqus.html" . }}
|
||||
{{ else if .Site.Params.GraphCommentId }}
|
||||
{{ partial "page-single/comment/graphcomment.html" . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
{{ $enabledPostNavigation := .Site.Params.postNavigation | default true }}
|
||||
{{ if $enabledPostNavigation }}
|
||||
<div class="post--navigation post--navigation-single">
|
||||
{{ with .PrevInSection -}}
|
||||
{{ with .PrevInSection }}
|
||||
<a href="{{ .RelPermalink }}" class="post--navigation-prev">
|
||||
<i aria-hidden="true" class="fa fa-chevron-left"></i>
|
||||
<span class="navigation-tittle">{{ .Title }}</span>
|
||||
</a>
|
||||
{{- end }}
|
||||
{{ with .NextInSection -}}
|
||||
{{ end }}
|
||||
{{ with .NextInSection }}
|
||||
<a href="{{ .RelPermalink }}" class="post--navigation-next">
|
||||
<span class="navigation-tittle">{{ .Title }}</span>
|
||||
<i aria-hidden="true" class="fa fa-chevron-right"></i>
|
||||
</a>
|
||||
{{- end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{{ if .Site.Params.relatedPosts }}
|
||||
{{ $related := .Site.RegularPages.Related . | first 5 }}
|
||||
{{ with $related -}}
|
||||
{{ with $related }}
|
||||
<div class="post__related">
|
||||
<!-- related content -->
|
||||
<h2>Related Articles</h2>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue