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 c3bbb879 authored by Seth A Johnson's avatar Seth A Johnson
Browse files

event to navbar; fix event date field

parent 2448b358
......@@ -57,6 +57,11 @@ const Navbar = () => {
News
</Link>
</li>
<li>
<Link to="/events" className="nav-link">
Events
</Link>
</li>
</ul>
</div>
</nav>
......
---
templateKey: event
title: An Duck Event
data: 2019-11-11T20:11:21.024Z
date: 2019-11-11T20:11:21.024Z
image: /assets/collection-of-cute-baby-duck.jpg
---
Sit amet tellus cras adipiscing enim eu turpis egestas pretium. Sed felis eget velit aliquet sagittis. Lacus laoreet non curabitur gravida. Eu turpis egestas pretium aenean. Orci ac auctor augue mauris augue neque. Sit amet facilisis magna etiam tempor. Eget mauris pharetra et ultrices neque ornare aenean euismod elementum. Morbi tristique senectus et netus et. Mattis enim ut tellus elementum sagittis vitae. Odio tempor orci dapibus ultrices in. Maecenas accumsan lacus vel facilisis volutpat est velit egestas dui. Eu augue ut lectus arcu bibendum at varius vel pharetra.
......
......@@ -7,7 +7,6 @@ const Event = ({data}) => {
const { html } = data.markdownRemark
const { title, date, image } = data.markdownRemark.frontmatter
return (
<Layout>
<h1>{title}</h1>
......
......@@ -28,7 +28,7 @@ collections:
fields:
- { name: templateKey, label: "Template Key", widget: hidden, default: event }
- { name: title, label: Title }
- { name: data, label: Published, widget: datetime }
- { name: date, label: Published, widget: datetime }
- { name: image, label: Image, widget: image }
- { name: body, label: Body, widget: markdown }
- name: books
......
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