Skip to content
This repository was archived by the owner on Jun 2, 2020. It is now read-only.

Move "edit this page in GitHub" link to near feedback buttons per #305 #356

Merged
merged 3 commits into from
Oct 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -245,15 +245,18 @@ weight = 90
parent = "community"
name = "Awesome IPFS"
url = "https://awesome.ipfs.io/"
weight = 91
[[menu.community]]
parent = "community"
name = "Public Archives on IPFS"
title = "A community project to host archives of valuable public data."
url = "https://awesome.ipfs.io/datasets/"
weight = 93
[[menu.community]]
parent="community"
name = "FAQ"
name = "Forum FAQ Archive"
url = "https://discuss.ipfs.io/c/help/Old-FAQ"
weight = 95

[[menu.community]]
identifier = "contribute"
Expand Down
3 changes: 3 additions & 0 deletions layouts/partials/feedback.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@ <h3>Was this information helpful?</h3>
<div class="feedback--result">
<p>Thank you for the feedback.</p>
</div>
<p class="feedback--edit-or-open">
<a href="https://github.com/ipfs/docs/blob/master/content/{{ .File.Path }}" target="_blank">Edit this page</a> in GitHub or <a href="https://github.com/ipfs/docs/issues/new?assignees=&labels=docs-ipfs&template=issue.md&title=Page%20Feedback%20-%20{{ .Page.Title }}" target="_blank">open an issue</a>
</p>
</div>
3 changes: 0 additions & 3 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
{{/* We temporarily removed the search functionality and therefore lunrjs.
<a href="https://lunrjs.com">lunr.js</a>, */}}
</p>
<p>
<a href="https://github.com/ipfs/docs/blob/master/content/{{ .File.Path }}" class="edit-page-link">Edit this page in GitHub</a>
</p>
</div>

<div class="page-footer--social">
Expand Down
4 changes: 4 additions & 0 deletions src/styles/components/feedback.less
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,7 @@
}
}
}

.feedback--edit-or-open {
font-size: .875rem;
}