From 8baa91a0c0a2bd1fb1b8bff64d1d52d158779b8f Mon Sep 17 00:00:00 2001 From: popcor255 Date: Wed, 6 May 2020 11:42:56 -0400 Subject: [PATCH] Removed edit this page on right-side navbar. This commit is a fix for [issue 65](https://github.com/tektoncd/website/issues/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. --- i18n/en.toml | 2 -- themes/docsy/layouts/partials/page-meta-links.html | 1 - 2 files changed, 3 deletions(-) diff --git a/i18n/en.toml b/i18n/en.toml index d2f1e861..66589798 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -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] diff --git a/themes/docsy/layouts/partials/page-meta-links.html b/themes/docsy/layouts/partials/page-meta-links.html index 8e2650f8..a5489b35 100644 --- a/themes/docsy/layouts/partials/page-meta-links.html +++ b/themes/docsy/layouts/partials/page-meta-links.html @@ -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 )}} - {{ T "post_edit_this" }} {{ T "post_create_issue" }} {{ if $gh_project_repo }} {{ $project_issueURL := printf "%s/issues/new" $gh_project_repo }}