mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
Make edit page links take you to editing the page on github (#2677)
This commit is contained in:
parent
79f2c7c391
commit
66faac25c9
@ -143,7 +143,7 @@
|
||||
|
||||
<div purpose="edit-button-container">
|
||||
<div purpose="edit-button">
|
||||
<a :href="'https://github.com/fleetdm/fleet/tree/main/docs/'+thisPage.sectionRelativeRepoPath"><i class="fa fa-pencil"></i>Edit page</a>
|
||||
<a :href="'https://github.com/fleetdm/fleet/edit/main/docs/'+thisPage.sectionRelativeRepoPath"><i class="fa fa-pencil"></i>Edit page</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -212,7 +212,7 @@
|
||||
<div class="d-block">
|
||||
<h3 class="pb-4 m-0">Is there something missing?</h3>
|
||||
<p>
|
||||
If you notice something we’ve missed, or that could be improved, please click <a :href="'https://github.com/fleetdm/fleet/tree/main/docs/'+thisPage.sectionRelativeRepoPath">here</a> to edit this page.
|
||||
If you notice something we’ve missed, or that could be improved, please click <a :href="'https://github.com/fleetdm/fleet/edit/main/docs/'+thisPage.sectionRelativeRepoPath">here</a> to edit this page.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
<div purpose="maintainer" class="mb-lg-3">
|
||||
<h4>Maintained by:</h4>
|
||||
<img class="maintainer-image" alt="The page maintainer's github profile picture" :src="'https://github.com/'+thisPage.meta.maintainedBy+'.png?size=200'">
|
||||
<a style="margin-top: 24px;" :href="'https://github.com/fleetdm/fleet/tree/main/handbook/'+thisPage.sectionRelativeRepoPath"> Edit this page</a>
|
||||
<a style="margin-top: 24px;" :href="'https://github.com/fleetdm/fleet/edit/main/handbook/'+thisPage.sectionRelativeRepoPath"> Edit this page</a>
|
||||
</div>
|
||||
<h4 class="font-weight-bold pb-2 m-0 mb-2" v-if="!_.isEmpty(subtopics)">On this page:</h4>
|
||||
<div purpose="subtopics">
|
||||
|
Loading…
Reference in New Issue
Block a user