Browse Source

docs: Use date-based urls for blog posts

Michael Bromley 6 years ago
parent
commit
21428a4966

+ 2 - 0
docs/config.toml

@@ -11,4 +11,6 @@ disableKinds = [
 ]
 ]
 [params]
 [params]
     BookSection = "docs"
     BookSection = "docs"
+[permalinks]
+    blog = "/blog/:year/:month/:slug/"
 
 

+ 4 - 2
docs/content/blog/introducing-vendure/index.md → docs/content/blog/2019-02-11-introducing-vendure/index.md

@@ -4,12 +4,14 @@ date: 2019-02-11T10:27:46+01:00
 draft: false
 draft: false
 author: "Michael Bromley"
 author: "Michael Bromley"
 images: 
 images: 
-    - "./blog/introducing-vendure/introducing-vendure.jpg"
+    - "./introducing-vendure.jpg"
+aliases:
+    - /blog/introducing-vendure/
 ---
 ---
 
 
 Vendure is a new open-source headless e-commerce framework built on [Node.js](https://nodejs.org) with [TypeScript](http://www.typescriptlang.org/) and exposing a [GraphQL](https://graphql.org/) API. Today it is available to try with its first alpha release. In this post I'll outline some of the of major features and give some background to its development.
 Vendure is a new open-source headless e-commerce framework built on [Node.js](https://nodejs.org) with [TypeScript](http://www.typescriptlang.org/) and exposing a [GraphQL](https://graphql.org/) API. Today it is available to try with its first alpha release. In this post I'll outline some of the of major features and give some background to its development.
 
 
-{{< figure src="/blog/introducing-vendure/introducing-vendure.jpg" >}}
+{{< figure src="./introducing-vendure.jpg" >}}
 
 
 ## Headless Architecture
 ## Headless Architecture
 
 

+ 0 - 0
docs/content/blog/introducing-vendure/introducing-vendure.jpg → docs/content/blog/2019-02-11-introducing-vendure/introducing-vendure.jpg


+ 2 - 0
docs/content/blog/beta-release-and-roadmap-2019/index.md → docs/content/blog/2019-05-27-beta-release-and-roadmap-2019/index.md

@@ -5,6 +5,8 @@ draft: false
 author: "Michael Bromley"
 author: "Michael Bromley"
 images: 
 images: 
     - "./blog/introducing-vendure/introducing-vendure.jpg"
     - "./blog/introducing-vendure/introducing-vendure.jpg"
+aliases:
+    - /blog/beta-release-and-roadmap-2019/
 --- 
 --- 
 
 
 Vendure, a new headless e-commerce framework built on Nodejs, TypeScript and GraphQL, has just graduated from *alpha* to *beta*! 
 Vendure, a new headless e-commerce framework built on Nodejs, TypeScript and GraphQL, has just graduated from *alpha* to *beta*!