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

github.com/vjeantet/hugo-theme-docport.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/body-article-sidepage.html')
-rw-r--r--layouts/partials/body-article-sidepage.html13
1 files changed, 4 insertions, 9 deletions
diff --git a/layouts/partials/body-article-sidepage.html b/layouts/partials/body-article-sidepage.html
index dead969..d675571 100644
--- a/layouts/partials/body-article-sidepage.html
+++ b/layouts/partials/body-article-sidepage.html
@@ -23,9 +23,9 @@
</li>
{{end}}
- {{ if .Site.Params.editWithNetlifyCMSCollection }}
+ {{ if .Site.Params.editWithNetlifyCMSURL }}
<li>
- <a href="{{.Site.BaseURL}}/admin/#/collections/{{ .Site.Params.editWithNetlifyCMSCollection }}/entries/{{with .File}}{{ replace .Dir "\\" "/" | safeURL }}{{ .BaseFileName }}{{end}}" target="blank">
+ <a href="{{ .Site.Params.editWithNetlifyCMSURL }}{{with .File}}{{ replace .Dir "\\" "/" | safeURL }}{{ .BaseFileName }}{{end}}" target="blank">
<i class="fab fa-github"></i>
{{T "Edit-this-page"}}</a>
</li>
@@ -37,18 +37,13 @@
</li>
{{end}}
{{with .GitInfo}}
- <li title="{{.AuthorDate}}">
+ <li title="">
<i class='fas fa-user'></i>
{{T "last-update-by"}} {{ .AuthorName }}
</li>
{{end}}
-
-
-
-
-
- </ul>
+ </ul>
</nav>
</div> \ No newline at end of file