Merge pull request #205 from rakhi2104/enable-edit-link-on-documentation
enabled edit link in documentation pages
This commit is contained in:
commit
1b285939f3
4 changed files with 32 additions and 32 deletions
|
@ -17,7 +17,7 @@ pygmentsStyle = "manni"
|
|||
author = ""
|
||||
description = ""
|
||||
email = ""
|
||||
ghrepo = "https://github.com/mattermost/focalboard/tree/main/website"
|
||||
ghrepo = "https://github.com/mattermost/focalboard/"
|
||||
|
||||
[params.mailinglist]
|
||||
enable = false
|
||||
|
|
|
@ -8,22 +8,20 @@
|
|||
<head>
|
||||
{{ partial "head.html" .}}
|
||||
</head>
|
||||
<body>
|
||||
{{ partial "nav2.html" .}}
|
||||
<div id="wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
{{ partial "sidebar.html" .}}
|
||||
<div class="col-lg-9 doc-content">
|
||||
<!-- {{ partial "page-edit.html" . }} -->
|
||||
<h1 class="mt-0 doc-title">
|
||||
{{ .Title }}
|
||||
</h1>
|
||||
{{ partial "hanchor.html" .Content }}
|
||||
<body>
|
||||
{{ partial "nav2.html" .}}
|
||||
<div id="wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
{{ partial "sidebar.html" .}}
|
||||
<div class="col-lg-9 doc-content">
|
||||
{{ partial "page-edit.html" . }}
|
||||
<h1 class="mt-0 doc-title">{{ .Title }}</h1>
|
||||
{{ partial "hanchor.html" .Content }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ partial "footer.html" .}}
|
||||
</body>
|
||||
{{ partial "footer.html" .}}
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -8,22 +8,20 @@
|
|||
<head>
|
||||
{{ partial "head.html" .}}
|
||||
</head>
|
||||
<body>
|
||||
{{ partial "nav2.html" .}}
|
||||
<div id="wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
{{ partial "sidebar.html" .}}
|
||||
<div class="col-lg-9 doc-content">
|
||||
<!-- {{ partial "page-edit.html" . }} -->
|
||||
<h1 class="mt-0 doc-title">
|
||||
{{ .Title }}
|
||||
</h1>
|
||||
{{ partial "hanchor.html" .Content }}
|
||||
<body>
|
||||
{{ partial "nav2.html" .}}
|
||||
<div id="wrapper">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
{{ partial "sidebar.html" .}}
|
||||
<div class="col-lg-9 doc-content">
|
||||
{{ partial "page-edit.html" . }}
|
||||
<h1 class="mt-0 doc-title">{{ .Title }}</h1>
|
||||
{{ partial "hanchor.html" .Content }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ partial "footer.html" .}}
|
||||
</body>
|
||||
{{ partial "footer.html" .}}
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
{{ if .File }}
|
||||
<a href="{{.Site.Params.ghrepo}}edit/master/site/content/{{ .File.Path }}" class="float-right edit-github">
|
||||
<a
|
||||
href="{{.Site.Params.ghrepo}}edit/main/website/site/content/{{ .File.Path }}"
|
||||
class="float-right edit-github"
|
||||
target="_blank"
|
||||
>
|
||||
Edit on GitHub
|
||||
</a>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue