Skip to content

Commit 6f57851

Browse files
authored
Merge pull request #1989 from hpe-dev-incubator/#1934-External_blog_links
#1934-External-Blog-Links
2 parents 8e8ac75 + cd3a278 commit 6f57851

File tree

3 files changed

+25
-24
lines changed

3 files changed

+25
-24
lines changed

src/components/Header/index.js

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,16 @@ function Header() {
4141
/* const leftColumn = greenlake.filter((gl, index) => index % 2 === 0); */
4242
const leftColumn = greenlake;
4343
const rightColumn = greenlake.filter((gl, index) => index % 2);
44-
const externalLinks = [
45-
{
46-
title: 'HPE GreenLake API Portal',
47-
slug: 'https://developer.greenlake.hpe.com/',
48-
},
49-
{
50-
title: 'HPE GreenLake Test Drive',
51-
slug: 'https://testdrive.greenlake.hpe.com/',
52-
},
53-
];
44+
// const externalLinks = [
45+
// {
46+
// title: 'HPE GreenLake API Portal',
47+
// slug: 'https://developer.greenlake.hpe.com/',
48+
// },
49+
// {
50+
// title: 'HPE GreenLake Test Drive',
51+
// slug: 'https://testdrive.greenlake.hpe.com/',
52+
// },
53+
// ];
5454

5555
// const externalLeftColumn = externalLinks.filter(
5656
// (el, index) => index % 2 === 0,
@@ -75,18 +75,18 @@ function Header() {
7575
);
7676
});
7777

78-
// const elColumns = externalLinksColumn.map((el, index) => {
79-
// const { slug, title } = el;
80-
// return (
81-
// <ExternalButtonLink
82-
// key={index}
83-
// label={title}
84-
// to={`${slug}`}
85-
// alignSelf="start"
86-
// fill="horizontal"
87-
// />
88-
// );
89-
// });
78+
// const elColumns = externalLinksColumn.map((el, index) => {
79+
// const { slug, title } = el;
80+
// return (
81+
// <ExternalButtonLink
82+
// key={index}
83+
// label={title}
84+
// to={`${slug}`}
85+
// alignSelf="start"
86+
// fill="horizontal"
87+
// />
88+
// );
89+
// });
9090
const allLinks = [/* ...elColumns, */ ...glColumns];
9191
return allLinks;
9292
};

src/pages/slack-signup/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ export default function Slacksignup() {
175175
borderRadius: '100px',
176176
color: '#ffffff',
177177
width: '250px',
178-
position: 'relative',
178+
position: 'relative',
179179
height: '40px',
180180
}}
181181
/>

src/templates/tags.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ export const pageQuery = graphql`
112112
allMarkdownRemark(
113113
limit: 2000
114114
sort: { fields: [frontmatter___date], order: DESC }
115-
filter: { frontmatter: { tags: { regex: $tagRE } } }
115+
filter: {
116+
frontmatter: { tags: { regex: $tagRE },disable: {ne: true} }}
116117
) {
117118
totalCount
118119
edges {

0 commit comments

Comments
 (0)