Skip to content

Commit f014876

Browse files
committed
DOC-13760 add alternate link for markdown docs if supplied
1 parent 9bdcddd commit f014876

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/partials/head-meta.hbs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,13 @@
7878
<meta name="docsearch:edition" content="{{page.attributes.edition}}">
7979
<meta name="docsearch:page_rank" content="{{page.attributes.rank}}">
8080

81-
8281
{{#with page.attributes.meta-zd-site-verification}}
8382
<meta name="zd-site-verification" content="{{this}}">
8483
{{/with}}
8584
{{/if}}
8685
<meta name="generator" content="Antora {{antoraVersion}}">
8786
<link rel="icon" href="{{{uiRootPath}}}/img/favicon.svg" type="image/svg+xml">
8887
<link rel="icon" href="{{{uiRootPath}}}/img/favicon.ico" type="image/x-icon" sizes="any">
88+
{{#with page.attributes.markdown-alt}}
89+
<link rel="alternate" type="text/markdown" href="{{.}}">
90+
{{/with}}

0 commit comments

Comments
 (0)