dynamic route generation
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
<p class="title article-title">{{ article.title }}</p>
|
||||
<div class="tags has-addons level-item">
|
||||
<span class="tag is-rounded is-info">@{{ article.authorV2.name }}</span>
|
||||
<span class="tag is-rounded">{{ $moment(article.publishedAt).format('DD MMMM Y') }}</span>
|
||||
<span class="tag is-rounded">{{ $moment(article.publishedAt, $moment.ISO_8601).format('DD MMMM Y') }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
+1
-10
@@ -51,16 +51,7 @@ export default {
|
||||
query: `query {
|
||||
shop {
|
||||
name,
|
||||
description,
|
||||
privacyPolicy {
|
||||
handle
|
||||
},
|
||||
termsOfService {
|
||||
handle
|
||||
},
|
||||
refundPolicy {
|
||||
handle
|
||||
}
|
||||
description
|
||||
},
|
||||
blogs(first: 10) {
|
||||
edges {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="container">
|
||||
<h1>Policy</h1>
|
||||
<h1>Privacy Policy</h1>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user