|
10 | 10 | <section class="sidebar-section" id="sidebar-section"> |
11 | 11 | <div class="sidebar-holder"> |
12 | 12 | <div class="sidebar" id="sidebar"> |
13 | | - <form class="mx-auto" method="get" action="{{ " search" | relLangURL }}"> |
14 | | - <input type="text" name="keyword" value="" placeholder="{{ i18n " search" }}" data-search="" id="search-box" /> |
| 13 | + <form class="mx-auto" method="get" action="{{ "search" | relLangURL }}"> |
| 14 | + <input type="text" name="keyword" value="" placeholder="{{ i18n "search" }}" data-search="" id="search-box" /> |
15 | 15 | </form> |
16 | 16 | <div class="sidebar-tree"> |
17 | 17 | <ul class="tree" id="tree"> |
18 | | - <li id="list-heading"><a href="{{ " /posts/" | relLangURL }}" data-filter="all">{{ i18n "posts" }}</a></li> |
| 18 | + <li id="list-heading"><a href="{{ "/posts/" | relLangURL }}" data-filter="all">{{ i18n "posts" }}</a></li> |
19 | 19 | <div class="subtree"> |
20 | 20 | {{ partial "navigators/sidebar.html" (dict "menuName" "sidebar" "menuItems" site.Menus.sidebar "ctx" .) }} |
21 | 21 | </div> |
@@ -154,14 +154,14 @@ <h1>{{ .Page.Title }}</h1> |
154 | 154 | {{ end }} |
155 | 155 | <div class="col-md-6 btn-improve-page"> |
156 | 156 | {{ if ( eq site.Params.GitForge "gitlab" ) }} |
157 | | - <a href="{{ site.Params.GitRepo }}/-/edit/{{ .Scratch.Get " GitBranch" }}/content/{{ .File.Path }}" |
158 | | - title="{{ i18n " improve_this_page" }}" target="_blank" rel="noopener"> |
| 157 | + <a href="{{ site.Params.GitRepo }}/-/edit/{{ .Scratch.Get "GitBranch" }}/content/{{ .File.Path }}" |
| 158 | + title="{{ i18n "improve_this_page" }}" target="_blank" rel="noopener"> |
159 | 159 | {{ else if ( eq site.Params.GitForge "gitea" ) }} |
160 | | - <a href="{{ site.Params.GitRepo }}/_edit/{{ .Scratch.Get " GitBranch" }}/content/{{ .File.Path }}" |
161 | | - title="{{ i18n " improve_this_page" }}" target="_blank" rel="noopener"> |
| 160 | + <a href="{{ site.Params.GitRepo }}/_edit/{{ .Scratch.Get "GitBranch" }}/content/{{ .File.Path }}" |
| 161 | + title="{{ i18n "improve_this_page" }}" target="_blank" rel="noopener"> |
162 | 162 | {{ else }} <!--- Make Github-style the default --> |
163 | | - <a href="{{ site.Params.GitRepo }}/edit/{{ .Scratch.Get " GitBranch" }}/content/{{ .File.Path }}" |
164 | | - title="{{ i18n " improve_this_page" }}" target="_blank" rel="noopener"> |
| 163 | + <a href="{{ site.Params.GitRepo }}/edit/{{ .Scratch.Get "GitBranch" }}/content/{{ .File.Path }}" |
| 164 | + title="{{ i18n "improve_this_page" }}" target="_blank" rel="noopener"> |
165 | 165 | {{ end }} |
166 | 166 | <i class="fas fa-code-branch"></i> |
167 | 167 | {{ i18n "improve_this_page" }} |
|
0 commit comments