diff --git a/src/components/EventList.js b/src/components/EventList.js index 4fd5af1..9662afa 100644 --- a/src/components/EventList.js +++ b/src/components/EventList.js @@ -75,7 +75,7 @@ export default class EventList extends React.Component {

{event.title}

- {moment(event.start_time).format('HH:mm')} + kl. {moment(event.start_time).format('HH:mm')} {event.event_types && event.event_types.length && (
diff --git a/src/components/Pagination.js b/src/components/Pagination.js index 8edcdc1..59f5140 100644 --- a/src/components/Pagination.js +++ b/src/components/Pagination.js @@ -7,13 +7,13 @@ const Pagination = ({ pageContext, pathPrefix }) => { return ( diff --git a/src/components/PostList.js b/src/components/PostList.js index a3d3530..79a3742 100644 --- a/src/components/PostList.js +++ b/src/components/PostList.js @@ -12,7 +12,7 @@ export default class PostList extends React.Component {

{title}

{posts.map(({ node: post }) => ( - + {post.featured_media && post.featured_media.localFile && (
-
-

{title}

-
-

- {moment(date).format('dddd D. MMMM YYYY')} av{' '} - {author.name} -

+
+
+

{title}

+
+

+ {moment(date).format('dddd D. MMMM YYYY')} av{' '} + {author.name} +

+
- {hasFeaturedMedia && ( -
- -
- )}
+ {hasFeaturedMedia && ( +
+ +
+ )}