Ver Fonte

Jekyll style post locations, including dates

Kevin van Zonneveld há 8 anos atrás
pai
commit
98ebd36269

+ 2 - 2
website/_config.yml

@@ -30,7 +30,7 @@ language: English
 ## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
 url: http://uppy.io
 root: /
-permalink: :year/:month/:day/:title/
+permalink: blog/:year/:month/:title/
 tag_dir: tags
 archive_dir: archives
 category_dir: categories
@@ -41,7 +41,7 @@ source_dir: src
 public_dir: public
 
 # Writing
-new_post_name: :title.md # File name of new posts
+new_post_name: :year-:month-:title.md # File name of new posts
 default_layout: post
 auto_spacing: false # Add spaces between asian characters and western characters
 titlecase: false # Transform title into titlecase

+ 1 - 1
website/src/_posts/uppy-begins.md → website/src/_posts/2015-10-uppy-begins.md

@@ -1,6 +1,6 @@
 ---
 title: Uppy Begins
-date: 2015-10-26 10:00:00
+date: 2015-10-26
 ---
 
 > On November 26 we gathered in Skype and that’s how Uppy was born. We didn’t know it would be called Uppy yet.

+ 1 - 1
website/src/_posts/0.6.0.md → website/src/_posts/2016-06-0.6.0.md

@@ -1,6 +1,6 @@
 ---
 title: Uppy 0.6.0 Released
-date: 2016-06-04 10:00:00
+date: 2016-06-04
 ---
 
 > Hi! We released Uppy 0.6.0. It was mainly a refactor release, but nonetheless very important, so we are proud.