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

github.com/thingsym/hugo-theme-techdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthingsym <thingsym@gmail.com>2021-03-05 15:37:32 +0300
committerthingsym <thingsym@gmail.com>2021-03-05 15:37:32 +0300
commit71ccdf26cbba86f3e68a68d4d27fc5e8482e04a6 (patch)
treef996e78e94e8fa1116163fe7ed0559960645bb4c
parentf43af68c916a4e585898392a86b815ad99ec1058 (diff)
fix: fix space for minify publish
-rw-r--r--layouts/partials/edit-page.html2
-rw-r--r--layouts/partials/pagination.html2
-rw-r--r--layouts/shortcodes/button.html2
-rw-r--r--layouts/shortcodes/panel.html2
4 files changed, 4 insertions, 4 deletions
diff --git a/layouts/partials/edit-page.html b/layouts/partials/edit-page.html
index de94e06..c6458c6 100644
--- a/layouts/partials/edit-page.html
+++ b/layouts/partials/edit-page.html
@@ -1,3 +1,3 @@
{{- if and .Site.Params.github_doc_repository .File -}}
-<a href="{{ .Site.Params.github_doc_repository }}/edit/master/content/{{ .File.Path }}" class="edit-page"><i class="fas fa-pen-square"></i> Edit on GitHub</a>
+<a href="{{ .Site.Params.github_doc_repository }}/edit/master/content/{{ .File.Path }}" class="edit-page"><i class="fas fa-pen-square"></i>&nbsp;Edit on GitHub</a>
{{- end -}}
diff --git a/layouts/partials/pagination.html b/layouts/partials/pagination.html
index c0f933e..104ea8a 100644
--- a/layouts/partials/pagination.html
+++ b/layouts/partials/pagination.html
@@ -2,7 +2,7 @@
<nav class="pagination">
{{- template "pagination" dict "menu" .Site.Home "currentnode" $currentNode "menu_exclusion" .Site.Params.menu_exclusion -}}
{{- with ($.Scratch.Get "prevPage") -}}
-<a class="nav nav-prev" href="{{ .Permalink }}" title="{{ .Title }}"><i class="fas fa-arrow-left" aria-hidden="true"></i> Prev - {{ .Title }}</a>
+<a class="nav nav-prev" href="{{ .Permalink }}" title="{{ .Title }}"><i class="fas fa-arrow-left" aria-hidden="true"></i>&nbsp;Prev - {{ .Title }}</a>
{{ end -}}
{{- with ($.Scratch.Get "nextPage") -}}
<a class="nav nav-next" href="{{ .Permalink }}" title="{{ .Title }}">Next - {{ .Title }} <i class="fas fa-arrow-right" aria-hidden="true"></i></a>
diff --git a/layouts/shortcodes/button.html b/layouts/shortcodes/button.html
index a42661d..181d31d 100644
--- a/layouts/shortcodes/button.html
+++ b/layouts/shortcodes/button.html
@@ -1,3 +1,3 @@
<a href="{{ with .Get "url" }}{{ . }}{{ end }}" class="button {{ with .Get "status" }}button-{{ . }}{{ else }}button-primary{{ end }}">
-{{ with .Get "icon" }}<i class="{{ . }}"></i> {{ end }}{{- .Inner -}}
+{{ with .Get "icon" }}<i class="{{ . }}"></i>&nbsp;{{ end }}{{- .Inner -}}
</a>
diff --git a/layouts/shortcodes/panel.html b/layouts/shortcodes/panel.html
index f76f718..51f7b62 100644
--- a/layouts/shortcodes/panel.html
+++ b/layouts/shortcodes/panel.html
@@ -1,7 +1,7 @@
<div class="panel {{ with .Get "status" }}panel-{{ . }}{{ else }}panel-primary{{ end }}">
{{- with .Get "title" -}}
<div class="panel-header">
-<h3>{{ if $.Get "icon" }}<i class="{{ $.Get "icon" }}"></i> {{ end }}{{- htmlUnescape . | markdownify -}}</h3>
+<h3>{{ if $.Get "icon" }}<i class="{{ $.Get "icon" }}"></i>&nbsp;{{ end }}{{- htmlUnescape . | markdownify -}}</h3>
</div>
{{- end -}}
<div class="panel-body">