diff --git a/includes/contribution.html b/includes/contribution.html index 3f3ace786f6d..1968105c7cf1 100644 --- a/includes/contribution.html +++ b/includes/contribution.html @@ -2,7 +2,12 @@

{% data ui.contribution_cta.title %}

{% data ui.contribution_cta.body %}

- + {% if page.relativePath %} + {% assign contribution_href = "https://github.com/github/docs/edit/main/content/" | append: page.relativePath %} + {% else %} + {% assign contribution_href = "https://github.com/github/docs" %} + {% endif %} + {% octicon "git-pull-request" height="16" %} {% data ui.contribution_cta.button %} diff --git a/layouts/enterprise-server-releases.html b/layouts/enterprise-server-releases.html index 24ee07a5bb4d..c15f61b01937 100644 --- a/layouts/enterprise-server-releases.html +++ b/layouts/enterprise-server-releases.html @@ -6,6 +6,9 @@ {% include sidebar %}
+ {% include header %} + {% include deprecation-banner %} +
@@ -52,8 +55,9 @@

Enterprise Server {{version}} {% endfor %} - {% include support %} + {% include support-section %} {% include small-footer %} + {% include scroll-button %}

diff --git a/layouts/error-404.html b/layouts/error-404.html index 4435cbebca13..7fca6a7f4783 100644 --- a/layouts/error-404.html +++ b/layouts/error-404.html @@ -1,3 +1,4 @@ + {% assign error = '404' %} {% include head %} @@ -31,8 +32,9 @@

{% data ui.search.need_help %}

- {% include support %} + {% include support-section %} {% include small-footer %} + {% include scroll-button %} diff --git a/layouts/error-500.html b/layouts/error-500.html index 26f6cb970054..762dc6ad4719 100644 --- a/layouts/error-500.html +++ b/layouts/error-500.html @@ -1,3 +1,4 @@ + {% include head %} @@ -21,7 +22,8 @@

{% data ui.errors.oops %}

- {% include support %} + {% include support-section %} {% include small-footer %} + {% include scroll-button %} diff --git a/layouts/graphql-explorer.html b/layouts/graphql-explorer.html index 4b27a9c47c9d..ae0658fa72a0 100644 --- a/layouts/graphql-explorer.html +++ b/layouts/graphql-explorer.html @@ -7,6 +7,7 @@
{% include header %} + {% include deprecation-banner %}
@@ -32,8 +33,9 @@

{{ page.title }}

- {% include support %} + {% include support-section %} {% include small-footer %} + {% include scroll-button %}
diff --git a/layouts/product-landing.html b/layouts/product-landing.html index fc8e00406d30..9e27c58bcc55 100644 --- a/layouts/product-landing.html +++ b/layouts/product-landing.html @@ -7,6 +7,7 @@
{% include header %} + {% include deprecation-banner %}
@@ -142,9 +143,9 @@

Guides

{% endif %}
-
- {% include small-footer %} -
+ {% include support-section %} + {% include small-footer %} + {% include scroll-button %}
diff --git a/layouts/product-sublanding.html b/layouts/product-sublanding.html index f9650843bbab..f7c5792ea1e5 100644 --- a/layouts/product-sublanding.html +++ b/layouts/product-sublanding.html @@ -9,6 +9,7 @@
{% include header %} + {% include deprecation-banner %}
@@ -108,9 +109,9 @@
{{ guide.title }}
{% endif %} -
- {% include small-footer %} -
+ {% include support-section %} + {% include small-footer %} + {% include scroll-button %}
diff --git a/layouts/release-notes.html b/layouts/release-notes.html index 0c903420beba..6a0d8bb18a44 100644 --- a/layouts/release-notes.html +++ b/layouts/release-notes.html @@ -162,9 +162,9 @@

- {% include small-footer %} - + {% include support-section %} + {% include small-footer %} + {% include scroll-button %}