Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2051295

Browse files
authored
Remove the product_name variable definition (#54191)
1 parent 4498baa commit 2051295

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

content/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: '{% data variables.product.product_name %}{% ifversion fpt or ghec%}.com{% endif %} Help Documentation'
2+
title: '{% data variables.product.github %}{% ifversion fpt or ghec%}.com{% endif %} Help Documentation'
33
featuredLinks:
44
gettingStarted:
55
- /get-started/getting-started-with-git/set-up-git

data/variables/product.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ github: 'GitHub'
1515
## DO NOT USE. Use the `github` variable instead. (Writers found the name of this variable to be misleading.)
1616
prodname_dotcom: 'GitHub'
1717

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

0 commit comments

Comments
 (0)