Note: The default ITS GitLab runner is a shared resource and is subject to slowdowns during heavy usage.
You can run your own GitLab runner that is dedicated just to your group if you need to avoid processing delays.

Commit ec5a1246 authored by Seth A Johnson's avatar Seth A Johnson
Browse files

fix news page reloading

parent 03b246c0
...@@ -15,10 +15,10 @@ const LinkFileComponent = { ...@@ -15,10 +15,10 @@ const LinkFileComponent = {
}; };
}, },
toBlock: function({file, text}) { toBlock: function({file, text}) {
return `<a target="_blank" rel="noopener noreferrer" href="${file}">${text}</a>` return `<a href="${file}">${text}</a>`
}, },
toPreview: function({file, text}) { toPreview: function({file, text}) {
return `<a target="_blank" rel="noopener noreferrer" href="${file}">${text}</a>` return `<a href="${file}">${text}</a>`
} }
} }
......
...@@ -14,7 +14,7 @@ const News = ({data}) => { ...@@ -14,7 +14,7 @@ const News = ({data}) => {
<h1 className="mb-3">{title}</h1> <h1 className="mb-3">{title}</h1>
<Img fluid={image.childImageSharp.fluid} /> <Img fluid={image.childImageSharp.fluid} />
<h4 className="mt-4">{date}</h4> <h4 className="mt-4">{date}</h4>
<p dangerouslySetInnerHTML={{ __html: html }} /> <div dangerouslySetInnerHTML={{ __html: html }} />
</div> </div>
</Layout> </Layout>
) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment