From 4fde0b40b5d68f514eecc22ae866fb5acb130ce5 Mon Sep 17 00:00:00 2001 From: hamdy Date: Tue, 10 Nov 2020 12:16:25 +0200 Subject: [PATCH] fixes to projects --- content/project/artheon/artheon.md | 4 +-- src/components/ProjectListItem.vue | 15 ++++++----- src/pages/Projects.vue | 6 ++++- src/templates/Project.vue | 41 ++++++++++++------------------ src/templates/Tag.vue | 9 ++----- 5 files changed, 34 insertions(+), 41 deletions(-) diff --git a/content/project/artheon/artheon.md b/content/project/artheon/artheon.md index 33e81c182..2da71bc0f 100644 --- a/content/project/artheon/artheon.md +++ b/content/project/artheon/artheon.md @@ -14,10 +14,10 @@ logo: ./logo.png author: kristine_vilnite members: vasily_gnuchev websites: https://artheon.co/ -tags: tfgrid +tags: tfgrid, grid private: 0 potential: - +linkedin: '' --- # Artheon diff --git a/src/components/ProjectListItem.vue b/src/components/ProjectListItem.vue index 6249bdd96..d1aa98f22 100644 --- a/src/components/ProjectListItem.vue +++ b/src/components/ProjectListItem.vue @@ -30,14 +30,17 @@

-

- - - - {{ record.status }} -

+ +
+

+ {{record.status}} +

+ +
+ + diff --git a/src/pages/Projects.vue b/src/pages/Projects.vue index 76704e716..c0fa6f3d4 100644 --- a/src/pages/Projects.vue +++ b/src/pages/Projects.vue @@ -22,7 +22,11 @@ query($page:Int) { title members rank - + linkedin + startDate : startdate(format:"MM YYYY") + humanTime : created(format:"DD MMMM YYYY") + datetime : created(format:"ddd MMM DD YYYY hh:mm:ss zZ") + status excerpt image(width:800) path diff --git a/src/templates/Project.vue b/src/templates/Project.vue index b3023e521..91c3f364b 100644 --- a/src/templates/Project.vue +++ b/src/templates/Project.vue @@ -12,26 +12,8 @@

{{ $page.project.title }}

{{ $page.project.bio }}

- {{ $page.project.belongsTo.totalCount }} Projects  ·  - +
- +
-
- + @@ -92,12 +92,7 @@ export default { Pagination, PostListItem }, - computed: { - postLabel: function() { - var pluralize = require("pluralize"); - return pluralize("post", this.$page.tag.belongsTo.totalCount); - } - }, + metaInfo() { return { title: this.$page.tag.title