Skip to content

Commit

Permalink
fixed dates and queries
Browse files Browse the repository at this point in the history
  • Loading branch information
Nichlas W. Andersen committed Aug 7, 2019
1 parent 8b2da9a commit 456d368
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .forestry/front_matter/templates/journal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ fields:
config:
required: true
display_utc: true
date_format: D. MMMM YYYY
date_format: YYYY-MM-DD
time_format: ''
export_format: MM/DD/YYYY
export_format: YYYY-MM-DD
default: now
- type: select
name: author
Expand Down
4 changes: 2 additions & 2 deletions .forestry/front_matter/templates/project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ fields:
label: Date
config:
required: true
date_format: YYYY
date_format: YYYY-MM-DD
time_format: ''
export_format: YYYY
export_format: YYYY-MM-DD
display_utc: true
default: now
hidden: true
Expand Down
2 changes: 1 addition & 1 deletion journal/macos-development-environment.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 05/16/2019
date: 2019-05-16
title: macOS development environment
author: Nichlas W. Andersen
excerpt: Get up and running with a fresh macOS Mojave install
Expand Down
2 changes: 1 addition & 1 deletion journal/test-1.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 05/17/2019
date: 2019-05-17
title: Yet another great journal entry
author: Nichlas W. Andersen
excerpt: Get up and running with a fresh macOS Mojave install
Expand Down
2 changes: 1 addition & 1 deletion journal/test-2.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 05/04/2019
date: 2019-05-04
title: Use VueJS for your next project
author: Nichlas W. Andersen
excerpt: Do it!
Expand Down
2 changes: 1 addition & 1 deletion journal/test-3.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 05/07/2019
date: 2019-05-07
title: Gridsome with Forestry CMS starter-kit
author: Nichlas W. Andersen
excerpt: Get up and running with a fresh macOS Mojave install
Expand Down
2 changes: 1 addition & 1 deletion projects/3d-graff.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
thumbnail: "/uploads/ian-dooley-281897-unsplash.jpg"
title: Ice Cream
date: 2019-01-04T23:00:00.000+00:00
date: 2019-01-04
categories:
- photography
- yellow
Expand Down
2 changes: 1 addition & 1 deletion projects/chelsea-landmark.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2018
date: 2019-05-16
year: 2019
title: Banana
category: Identity
Expand Down
2 changes: 1 addition & 1 deletion projects/ios-concept.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
thumbnail: "/uploads/markus-spiske-516263-unsplash.jpg"
title: Porta400
date: 2019-01-03T23:00:00.000+00:00
date: 2019-01-03
categories:
- photography
- yellow
Expand Down
2 changes: 1 addition & 1 deletion projects/sunk.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
thumbnail: "/uploads/cody-davis-253925-unsplash.jpg"
title: Pineapple
date: 2019-01-03T23:00:00.000+00:00
date: 2019-02-06
categories:
- photography
- blue
Expand Down
4 changes: 2 additions & 2 deletions src/components/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
</g-link>
</div>
<nav class="nav right">
<g-link class="nav__link" :to="{ name: 'journal' }">Journal</g-link>
<g-link class="nav__link" :to="{ name: 'contact' }">Say Hi!</g-link>
<g-link class="nav__link" to="/journal">Journal</g-link>
<g-link class="nav__link" to="/contact">Say Hi!</g-link>
</nav>
</div>
</header>
Expand Down
4 changes: 2 additions & 2 deletions src/templates/ProjectPost.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
query ProjectPost ($path: String!) {
post: projectPost (path: $path) {
title
date (format: "D. MMMM YYYY")
date (format: "YYYY")
content
categories
project_bg_color
Expand All @@ -54,7 +54,7 @@ export default {
return {
title: this.$page.post.title,
bodyAttrs: {
style: `background-color: ${this.$page.post.projectBgColor ? this.$page.post.projectBgColor : 'var(--color-base)'}; color: ${this.$page.post.projectFgColor ? this.$page.post.projectFgColor : 'var(--color-contrast)'}`
style: `background-color: ${this.$page.post.project_bg_color ? this.$page.post.project_bg_color : 'var(--color-base)'}; color: ${this.$page.post.project_fg_color ? this.$page.post.project_fg_color : 'var(--color-contrast)'}`
}
}
}
Expand Down

0 comments on commit 456d368

Please sign in to comment.