Skip to content
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.

Commit

Permalink
fix(Gallery): Hide datePublished and update to new schema for list items
Browse files Browse the repository at this point in the history
  • Loading branch information
nokome committed Mar 14, 2020
1 parent 544b8d6 commit 56fe408
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/scripts/gallery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,8 @@ async function generateGallery(): Promise<void> {
list({
items: Object.entries(summaries).map(([theme, summary]) => {
return listItem({
// TODO: change this from `meta.url` to `url` after refactoring `ListItem` schema
meta: { url: `?theme=${theme}` },
// TODO: change this from `content` to `item` after refactoring `ListItem` schema
content: [summary]
url: `?theme=${theme}`,
item: summary
})
})
})
Expand Down
1 change: 1 addition & 0 deletions src/themes/galleria/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

:--root > :--title,
:--root > :--authors,
:--Article:--root > :--datePublished,
:--root > span,
:--root > :--Organization {
display: none;
Expand Down

0 comments on commit 56fe408

Please sign in to comment.