|
@@ -21,7 +21,7 @@
|
|
<ul class="tree" id="tree">
|
|
<ul class="tree" id="tree">
|
|
<li id="list-heading"><a href="{{ site.BaseURL | absLangURL }}posts" data-filter="all">Posts</a></li>
|
|
<li id="list-heading"><a href="{{ site.BaseURL | absLangURL }}posts" data-filter="all">Posts</a></li>
|
|
<div class="subtree">
|
|
<div class="subtree">
|
|
- {{ partial "navigators/sidebar.html" (dict "menus" .Site.Menus.sidebar "ctx" .) }}
|
|
|
|
|
|
+ {{ partial "navigators/sidebar.html" (dict "menus" site.Menus.sidebar "ctx" .) }}
|
|
</div>
|
|
</div>
|
|
</ul>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
@@ -35,13 +35,13 @@
|
|
<div class="content">
|
|
<div class="content">
|
|
<div class="container p-0 read-area">
|
|
<div class="container p-0 read-area">
|
|
<!--Hero Area-->
|
|
<!--Hero Area-->
|
|
- <div class="hero-area col-sm-12" id="hero-area" style='background-image: url({{ strings.TrimSuffix "/" .Site.BaseURL }}{{ partial "helpers/get-hero.html" . }});'>
|
|
|
|
|
|
+ <div class="hero-area col-sm-12" id="hero-area" style='background-image: url({{ strings.TrimSuffix "/" site.BaseURL }}{{ partial "helpers/get-hero.html" . | relURL }});'>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<!--Content Start-->
|
|
<!--Content Start-->
|
|
<div class="page-content">
|
|
<div class="page-content">
|
|
<div class="author-profile ml-auto align-self-lg-center">
|
|
<div class="author-profile ml-auto align-self-lg-center">
|
|
- <img class="rounded-circle" src='{{ partial "helpers/get-author-image.html" . }}'/>
|
|
|
|
|
|
+ <img class="rounded-circle" src='{{ partial "helpers/get-author-image.html" . | relURL }}'/>
|
|
<h5 class="author-name">{{ partial "helpers/get-author-name.html" . }}</h5>
|
|
<h5 class="author-name">{{ partial "helpers/get-author-name.html" . }}</h5>
|
|
<p>{{ .Page.Date.Format "January 2, 2006" }}</p>
|
|
<p>{{ .Page.Date.Format "January 2, 2006" }}</p>
|
|
</div>
|
|
</div>
|
|
@@ -55,9 +55,9 @@
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<!--- Improve this page button --->
|
|
<!--- Improve this page button --->
|
|
- {{ if .Site.Params.GitRepo }}
|
|
|
|
|
|
+ {{ if site.Params.GitRepo }}
|
|
<div class="btn-improve-page">
|
|
<div class="btn-improve-page">
|
|
- <a href="{{ .Site.Params.GitRepo }}/edit/master/content/{{ .File.Path }}">
|
|
|
|
|
|
+ <a href="{{ site.Params.GitRepo }}/edit/master/content/{{ .File.Path }}">
|
|
<i class="fas fa-code-branch"></i>
|
|
<i class="fas fa-code-branch"></i>
|
|
Improve This Page
|
|
Improve This Page
|
|
</a>
|
|
</a>
|
|
@@ -69,7 +69,7 @@
|
|
{{ partial "navigators/next-prev-navigator.html" . }}
|
|
{{ partial "navigators/next-prev-navigator.html" . }}
|
|
<hr />
|
|
<hr />
|
|
<!-- Add Disqus forum -->
|
|
<!-- Add Disqus forum -->
|
|
- {{ if .Site.DisqusShortname }}
|
|
|
|
|
|
+ {{ if site.DisqusShortname }}
|
|
{{ partial "disqus.html" . }}
|
|
{{ partial "disqus.html" . }}
|
|
{{ end }}
|
|
{{ end }}
|
|
</div>
|
|
</div>
|