Skip to content

Commit

Permalink
Remove the product_name variable definition (#54191)
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacmbrown authored Jan 31, 2025
1 parent 4498baa commit 2051295
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion content/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: '{% data variables.product.product_name %}{% ifversion fpt or ghec%}.com{% endif %} Help Documentation'
title: '{% data variables.product.github %}{% ifversion fpt or ghec%}.com{% endif %} Help Documentation'
featuredLinks:
gettingStarted:
- /get-started/getting-started-with-git/set-up-git
Expand Down
3 changes: 0 additions & 3 deletions data/variables/product.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ github: 'GitHub'
## DO NOT USE. Use the `github` variable instead. (Writers found the name of this variable to be misleading.)
prodname_dotcom: 'GitHub'

product_name: >-
{% ifversion ghec %}GitHub Enterprise Cloud{% elsif ghes %}GitHub Enterprise Server{% else %}GitHub{% endif %}
## Use this variable when the output should always be GitHub Enterprise, regardless of the product the user is using
prodname_enterprise: 'GitHub Enterprise'

Expand Down

0 comments on commit 2051295

Please sign in to comment.