{{ page.title }}
-{% octicon "info" %}{% data ui.pages.contributor_callout %} {{ page.contributor.name }}.
-{% data ui.pages.miniToc %}
--
- {% for item in miniTocItems %}
-
- {{ item.contents }} - {% endfor %} -
diff --git a/components/DefaultLayout.tsx b/components/DefaultLayout.tsx index a88f2bd228ec..659ad94a2f27 100644 --- a/components/DefaultLayout.tsx +++ b/components/DefaultLayout.tsx @@ -11,14 +11,14 @@ import { useTranslation } from './hooks/useTranslation' type Props = { children?: React.ReactNode } export const DefaultLayout = (props: Props) => { - const { page, error, isHomepageVersion } = useMainContext() + const { page, error, isHomepageVersion, currentPathWithoutLanguage } = useMainContext() const { t } = useTranslation('errors') return (
{intro}
-{% octicon "info" %}{% data ui.pages.contributor_callout %} {{ page.contributor.name }}.
-{% data ui.product_landing.no_result %}
{% data ui.product_landing.try_another %}
{% data ui.product_landing.no_example %}
{% data ui.product_landing.try_another %}
{{ patch.date | date: "%B %d, %Y" }}
- - {% if patch.version != latestPatch and currentVersionObject.currentRelease == latestRelease %} -{% data ui.header.notices.ghes_release_notes_upgrade_patch_only %} {% data ui.header.notices.release_notes_use_latest %}
- {% endif %} - - {% if patch.version == latestPatch and currentVersionObject.currentRelease != latestRelease %} -{% data ui.header.notices.ghes_release_notes_upgrade_release_only %} {% data ui.header.notices.release_notes_use_latest %}
- {% endif %} - - {% if patch.version != latestPatch and currentVersionObject.currentRelease != latestRelease %} -{% data ui.header.notices.ghes_release_notes_upgrade_patch_and_release %} {% data ui.header.notices.release_notes_use_latest %}
- {% endif %} -GraphQL explorer is not available on this environment.
- {% else %} - - {% endif %} -{{ link.intro }}
- diff --git a/includes/featured-links.html b/includes/featured-links.html deleted file mode 100644 index 96766d3738f3..000000000000 --- a/includes/featured-links.html +++ /dev/null @@ -1,27 +0,0 @@ -{{ patch.friendlyDate }} - {{ bannerText }}
-{% octicon "list-unordered" %} {% data ui.product_landing.release_notes_for %} {{ latestPatch.version }} ({{ latestPatch.date }})
-{% octicon "arrow-up" %} {% data ui.product_landing.upgrade_from %} {{ release.firstPreviousRelease }} or {{ release.secondPreviousRelease }}
-{% octicon "file" %} {% data ui.product_landing.browse_all_docs %}
-GraphQL explorer is not available on this environment.
- {% else %} - - {% endif %} -{{ link.intro | truncatewords: 12 }}
- -{{ track.description }}
-