You've already forked focalboard
mirror of
https://github.com/mattermost/focalboard.git
synced 2025-07-15 23:54:29 +02:00
enabled edit link in documentation pages
- updated GH Repo URL to match the GH edit URL format/template - updated edit-page partial
This commit is contained in:
@ -17,7 +17,7 @@ pygmentsStyle = "manni"
|
|||||||
author = ""
|
author = ""
|
||||||
description = ""
|
description = ""
|
||||||
email = ""
|
email = ""
|
||||||
ghrepo = "https://github.com/mattermost/focalboard/tree/main/website"
|
ghrepo = "https://github.com/mattermost/focalboard/"
|
||||||
|
|
||||||
[params.mailinglist]
|
[params.mailinglist]
|
||||||
enable = false
|
enable = false
|
||||||
|
@ -8,22 +8,20 @@
|
|||||||
<head>
|
<head>
|
||||||
{{ partial "head.html" .}}
|
{{ partial "head.html" .}}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
{{ partial "nav2.html" .}}
|
{{ partial "nav2.html" .}}
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
{{ partial "sidebar.html" .}}
|
{{ partial "sidebar.html" .}}
|
||||||
<div class="col-lg-9 doc-content">
|
<div class="col-lg-9 doc-content">
|
||||||
<!-- {{ partial "page-edit.html" . }} -->
|
{{ partial "page-edit.html" . }}
|
||||||
<h1 class="mt-0 doc-title">
|
<h1 class="mt-0 doc-title">{{ .Title }}</h1>
|
||||||
{{ .Title }}
|
{{ partial "hanchor.html" .Content }}
|
||||||
</h1>
|
</div>
|
||||||
{{ partial "hanchor.html" .Content }}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
{{ partial "footer.html" .}}
|
||||||
{{ partial "footer.html" .}}
|
</body>
|
||||||
</body>
|
|
||||||
</html>
|
</html>
|
||||||
|
@ -8,22 +8,20 @@
|
|||||||
<head>
|
<head>
|
||||||
{{ partial "head.html" .}}
|
{{ partial "head.html" .}}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
{{ partial "nav2.html" .}}
|
{{ partial "nav2.html" .}}
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
{{ partial "sidebar.html" .}}
|
{{ partial "sidebar.html" .}}
|
||||||
<div class="col-lg-9 doc-content">
|
<div class="col-lg-9 doc-content">
|
||||||
<!-- {{ partial "page-edit.html" . }} -->
|
{{ partial "page-edit.html" . }}
|
||||||
<h1 class="mt-0 doc-title">
|
<h1 class="mt-0 doc-title">{{ .Title }}</h1>
|
||||||
{{ .Title }}
|
{{ partial "hanchor.html" .Content }}
|
||||||
</h1>
|
</div>
|
||||||
{{ partial "hanchor.html" .Content }}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
{{ partial "footer.html" .}}
|
||||||
{{ partial "footer.html" .}}
|
</body>
|
||||||
</body>
|
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
{{ if .File }}
|
{{ 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
|
Edit on GitHub
|
||||||
</a>
|
</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Reference in New Issue
Block a user