Skip to content

Commit

Permalink
Removed edit this page on right-side navbar.
Browse files Browse the repository at this point in the history
This commit is a fix for [issue 65](tektoncd#65). The right side-navbar had a link to github to edit the page. However, the reference was to the webiste. The website does not hold any documentation. This is confusing for the user. Since, editing the index will be ignored and some docs are missing on the website repo because the source of truth is the project repo. Removing the link is a temporary solution to fix broken links. The link was removed because it confuses the user.
  • Loading branch information
popcor255 committed May 6, 2020
1 parent 0c101dc commit 8baa91a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions i18n/en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ other = "By"
other = "Created"
[post_last_mod]
other = "Last modified"
[post_edit_this]
other = "Edit this page"
[post_create_issue]
other = "Create documentation issue"
[post_create_project_issue]
Expand Down
1 change: 0 additions & 1 deletion themes/docsy/layouts/partials/page-meta-links.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
{{ $editURL = printf "%s/edit/master/%s/content/%s" $gh_repo $gh_subdir $.Path }}
{{ end }}
{{ $issuesURL := printf "%s/issues/new?title=%s" $gh_repo (htmlEscape $.Title )}}
<a href="{{ $editURL }}" target="_blank"><i class="fa fa-edit fa-fw"></i> {{ T "post_edit_this" }}</a>
<a href="{{ $issuesURL }}" target="_blank"><i class="fab fa-github fa-fw"></i> {{ T "post_create_issue" }}</a>
{{ if $gh_project_repo }}
{{ $project_issueURL := printf "%s/issues/new" $gh_project_repo }}
Expand Down

0 comments on commit 8baa91a

Please sign in to comment.