Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
fix: location shouldn't be required when setting author in front …
Browse files Browse the repository at this point in the history
…matter (#58)
  • Loading branch information
billyyyyy3320 authored Jan 25, 2020
1 parent c0bc780 commit 654a971
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions global-components/BaseListLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@

<div v-if="page.frontmatter.author" class="ui-post-meta ui-post-author">
<NavigationIcon />
<span
>{{ page.frontmatter.author }} in
{{ page.frontmatter.location }}</span
>
<span>{{ page.frontmatter.author }}</span>
<span v-if="page.frontmatter.location">
&nbsp; in {{ page.frontmatter.location }}
</span>
</div>

<div v-if="page.frontmatter.date" class="ui-post-meta ui-post-date">
Expand Down

0 comments on commit 654a971

Please sign in to comment.