Skip to content

Commit 2939393

Browse files
zeroedinbennypowers
authored andcommitted
docs: remove frontmatter url data move to snippet
1 parent b16a558 commit 2939393

File tree

2 files changed

+8
-15
lines changed

2 files changed

+8
-15
lines changed

docs/_snippets/pf-bar-html.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<div class="pf-bar">
2-
<a href="https://www.patternfly.org/" class="cta">PatternFly.org</a>
3-
<a href="{{ githubLink }}" class="cta">
4-
<pf-icon size="md" icon="github" set="fab" aria-hidden="true"></pf-icon>
5-
Contribute on Github
6-
</a>
7-
</div>
1+
<div class="pf-bar">
2+
<a href="https://www.patternfly.org/" class="cta">PatternFly.org</a>
3+
<a href="https://github.com/patternfly/patternfly-elements" class="cta">
4+
<pf-icon size="md" icon="github" set="fab" aria-hidden="true"></pf-icon>
5+
Contribute on Github
6+
</a>
7+
</div>

docs/index.html

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,12 @@
33
title: PatternFly Elements
44
templateEngineOverride: njk
55
description: A set of community-created web components based on PatternFly design.
6-
githubLink: https://github.com/patternfly/patternfly-elements
76
---
87

98
<link rel="stylesheet" href="home.css">
109

1110
<body>
12-
<div class="pf-bar">
13-
<a href="https://www.patternfly.org/" class="cta">PatternFly.org</a>
14-
<a href="{{ githubLink }}" class="cta">
15-
<pf-icon size="md" icon="github" set="fab" aria-hidden="true"></pf-icon>
16-
Contribute on Github
17-
</a>
18-
</div>
11+
{% renderFile "./docs/_snippets/pf-bar-html.md" %}
1912
<header class="band accent" id="home-header">
2013
<h1>
2114
<img alt="" src="{{ '/images/pfe-logo-inverse-white.svg' | url }}">

0 commit comments

Comments
 (0)