Removing contribute button from project posts
This commit is contained in:
parent
7d72fce74c
commit
8a6d2e3e38
1 changed files with 4 additions and 2 deletions
|
@ -18,7 +18,7 @@
|
||||||
</form>
|
</form>
|
||||||
<div class="sidebar-tree">
|
<div class="sidebar-tree">
|
||||||
<ul class="tree" id="tree">
|
<ul class="tree" id="tree">
|
||||||
<li id="list-heading"><a href="{{ "/posts/" | relLangURL }}" data-filter="all">{{ i18n "posts" }}</a></li>
|
<li id="list-heading"><a href="{{ "/toha/posts/" | relLangURL }}" data-filter="all">{{ i18n "posts" }}</a></li>
|
||||||
<div class="subtree">
|
<div class="subtree">
|
||||||
{{ partial "navigators/sidebar.html" (dict "menuName" "sidebar" "menuItems" site.Menus.sidebar "ctx" .) }}
|
{{ partial "navigators/sidebar.html" (dict "menuName" "sidebar" "menuItems" site.Menus.sidebar "ctx" .) }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -126,6 +126,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--- Improve this page button --->
|
<!--- Improve this page button --->
|
||||||
|
<!--
|
||||||
{{ if site.Params.GitRepo }}
|
{{ if site.Params.GitRepo }}
|
||||||
{{ if site.Params.GitBranch }}
|
{{ if site.Params.GitBranch }}
|
||||||
{{ .Scratch.Set "GitBranch" site.Params.GitBranch }}
|
{{ .Scratch.Set "GitBranch" site.Params.GitBranch }}
|
||||||
|
@ -137,7 +138,7 @@
|
||||||
<a href="{{ site.Params.GitRepo }}/-/edit/{{ .Scratch.Get "GitBranch" }}/content/{{ .File.Path }}" title="{{ i18n "improve_this_page" }}" target="_blank" rel="noopener">
|
<a href="{{ site.Params.GitRepo }}/-/edit/{{ .Scratch.Get "GitBranch" }}/content/{{ .File.Path }}" title="{{ i18n "improve_this_page" }}" target="_blank" rel="noopener">
|
||||||
{{ else if ( eq site.Params.GitForge "gitea" ) }}
|
{{ else if ( eq site.Params.GitForge "gitea" ) }}
|
||||||
<a href="{{ site.Params.GitRepo }}/_edit/{{ .Scratch.Get "GitBranch" }}/content/{{ .File.Path }}" title="{{ i18n "improve_this_page" }}" target="_blank" rel="noopener">
|
<a href="{{ site.Params.GitRepo }}/_edit/{{ .Scratch.Get "GitBranch" }}/content/{{ .File.Path }}" title="{{ i18n "improve_this_page" }}" target="_blank" rel="noopener">
|
||||||
{{ else }} <!--- Make Github-style the default -->
|
{{ else }} <--- Make Github-style the default
|
||||||
<a href="{{ site.Params.GitRepo }}/edit/{{ .Scratch.Get "GitBranch" }}/content/{{ .File.Path }}" title="{{ i18n "improve_this_page" }}" target="_blank" rel="noopener">
|
<a href="{{ site.Params.GitRepo }}/edit/{{ .Scratch.Get "GitBranch" }}/content/{{ .File.Path }}" title="{{ i18n "improve_this_page" }}" target="_blank" rel="noopener">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<i class="fas fa-code-branch"></i>
|
<i class="fas fa-code-branch"></i>
|
||||||
|
@ -146,6 +147,7 @@
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
-->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue