Commit e6a8e04f authored by Jamie Tanna's avatar Jamie Tanna
Browse files

Merge branch 'feature/restructure-mf2-permalinks' into 'master'

Restructure /mf2/ permalinks for citability

Closes #702

See merge request !552
parents 05894470 9e65add5
Pipeline #90723607 failed with stages
in 20 minutes and 35 seconds
......@@ -32,7 +32,7 @@ paginate = 25
[permalinks]
categories = "/categories/:title/"
events = "/:sections/:slug/"
mf2 = "/mf2/:filename/"
mf2 = "/mf2/:slug/"
posts = "/posts/:year/:month/:day/:slug/"
tags = "/tags/:title/"
kinds = "/kind/:title/"
......
......@@ -37,5 +37,9 @@
},
"h": "h-entry",
"date": "2019-08-09T16:55:00Z",
"kind": "rsvps"
"kind": "rsvps",
"slug": "2019/08/SMfBV",
"aliases": [
"/mf2/00276d65-8767-40fe-bb37-59fc075a4942/"
]
}
......@@ -19,5 +19,9 @@
"client_id": "https://www-api.jvt.me/fit",
"date": "2017-03-28T00:00:00Z",
"kind": "steps",
"h": "h-measure"
"h": "h-measure",
"slug": "2017/03/bHmcC",
"aliases": [
"/mf2/0038ad4a-4283-46c0-a0ec-0f0435a4bbf8/"
]
}
......@@ -19,5 +19,9 @@
"client_id": "https://www-api.jvt.me/fit",
"date": "2018-04-13T00:00:00Z",
"kind": "steps",
"h": "h-measure"
"h": "h-measure",
"slug": "2018/04/g27OV",
"aliases": [
"/mf2/0086c36d-df0c-4130-9080-e7e45ebd390c/"
]
}
......@@ -19,5 +19,9 @@
"client_id": "https://www-api.jvt.me/fit",
"date": "2017-07-11T00:00:00Z",
"kind": "steps",
"h": "h-measure"
"h": "h-measure",
"slug": "2017/07/TYvym",
"aliases": [
"/mf2/009946fe-6295-4683-995a-1af249cd002a/"
]
}
......@@ -19,5 +19,9 @@
"client_id": "https://www-api.jvt.me/fit",
"date": "2017-02-05T00:00:00Z",
"kind": "steps",
"h": "h-measure"
"h": "h-measure",
"slug": "2017/02/3rEAz",
"aliases": [
"/mf2/00b81d28-7ec5-4479-9b12-f0a274b56d5d/"
]
}
......@@ -19,5 +19,9 @@
"client_id": "https://www-api.jvt.me/fit",
"date": "2017-09-17T00:00:00Z",
"kind": "steps",
"h": "h-measure"
"h": "h-measure",
"slug": "2017/09/pPAEq",
"aliases": [
"/mf2/00df3bec-866e-491c-bbb5-713f94ad86e6/"
]
}
......@@ -19,5 +19,9 @@
"client_id": "https://www-api.jvt.me/fit",
"date": "2018-01-26T00:00:00Z",
"kind": "steps",
"h": "h-measure"
"h": "h-measure",
"slug": "2018/01/twDjH",
"aliases": [
"/mf2/0123c27d-5274-4af8-95ff-bd34d91d65e0/"
]
}
......@@ -19,5 +19,9 @@
"client_id": "https://www-api.jvt.me/fit",
"date": "2019-05-26T00:00:00Z",
"kind": "steps",
"h": "h-measure"
"h": "h-measure",
"slug": "2019/05/y5fpo",
"aliases": [
"/mf2/0148eba5-8265-447f-aa81-ed03f0cb3558/"
]
}
{
"kind" : "likes",
"client_id" : "https://quill.p3k.io/",
"date" : "2019-09-30T18:20:15.472+02:00",
"h" : "h-entry",
"properties" : {
"name" : [ "Like of https://seblog.nl/2019/09/29/12/introducing-dark-mode" ],
"like-of" : [ "https://seblog.nl/2019/09/29/12/introducing-dark-mode" ],
"published" : [ "2019-09-30T18:20:15.472+02:00" ]
}
"kind": "likes",
"client_id": "https://quill.p3k.io/",
"date": "2019-09-30T18:20:15.472+02:00",
"h": "h-entry",
"properties": {
"name": [
"Like of https://seblog.nl/2019/09/29/12/introducing-dark-mode"
],
"like-of": [
"https://seblog.nl/2019/09/29/12/introducing-dark-mode"
],
"published": [
"2019-09-30T18:20:15.472+02:00"
]
},
"slug": "2019/09/QCd7V",
"aliases": [
"/mf2/0169b455-7afe-4f2f-9b79-2f16fcc1d2f1/"
]
}
......@@ -24,5 +24,9 @@
"tags": [
"code-style"
],
"kind": "bookmarks"
"kind": "bookmarks",
"slug": "2019/08/RvNq9",
"aliases": [
"/mf2/0200e13d-a612-4707-8b8d-c4dcedbd3137/"
]
}
{
"kind" : "bookmarks",
"client_id" : "https://indigenous.realize.be",
"date" : "2019-10-17T12:31:00+0100",
"h" : "h-entry",
"properties" : {
"name" : [ "UK's controversial 'porn blocker' plan dropped" ],
"bookmark-of" : [ "https://www.bbc.co.uk/news/technology-50073102" ],
"published" : [ "2019-10-17T12:31:00+0100" ],
"category" : [ "privacy" ]
"kind": "bookmarks",
"client_id": "https://indigenous.realize.be",
"date": "2019-10-17T12:31:00+0100",
"h": "h-entry",
"properties": {
"name": [
"UK's controversial 'porn blocker' plan dropped"
],
"bookmark-of": [
"https://www.bbc.co.uk/news/technology-50073102"
],
"published": [
"2019-10-17T12:31:00+0100"
],
"category": [
"privacy"
]
},
"tags" : [ "privacy" ]
"tags": [
"privacy"
],
"slug": "2019/10/Gllhm",
"aliases": [
"/mf2/020e2f4f-5d5d-4a59-bf36-1f7923ba2b4f/"
]
}
......@@ -19,5 +19,9 @@
"client_id": "https://www-api.jvt.me/fit",
"date": "2019-01-21T00:00:00Z",
"kind": "steps",
"h": "h-measure"
"h": "h-measure",
"slug": "2019/01/Nm7Ab",
"aliases": [
"/mf2/0227469f-fdb2-45a7-972b-0b4555b16e2f/"
]
}
......@@ -19,5 +19,9 @@
"client_id": "https://www-api.jvt.me/fit",
"date": "2019-07-31T00:00:00Z",
"kind": "steps",
"h": "h-measure"
"h": "h-measure",
"slug": "2019/07/xjq9C",
"aliases": [
"/mf2/024596ea-4346-43f6-94f4-87cf02feaf5d/"
]
}
......@@ -19,5 +19,9 @@
"client_id": "https://www-api.jvt.me/fit",
"date": "2018-12-18T00:00:00Z",
"kind": "steps",
"h": "h-measure"
"h": "h-measure",
"slug": "2018/12/mjGOz",
"aliases": [
"/mf2/02701936-8dc3-4542-bf33-645f617393c7/"
]
}
......@@ -19,5 +19,9 @@
"client_id": "https://www-api.jvt.me/fit",
"date": "2017-02-07T00:00:00Z",
"kind": "steps",
"h": "h-measure"
"h": "h-measure",
"slug": "2017/02/Aq9Ke",
"aliases": [
"/mf2/02c7c0b0-9bbc-468c-92cd-eb949f97569c/"
]
}
......@@ -19,5 +19,9 @@
"client_id": "https://www-api.jvt.me/fit",
"date": "2018-04-15T00:00:00Z",
"kind": "steps",
"h": "h-measure"
"h": "h-measure",
"slug": "2018/04/1g0dC",
"aliases": [
"/mf2/02d9bdb4-8d97-4be2-80fb-fb8e285c528e/"
]
}
......@@ -19,5 +19,9 @@
"client_id": "https://www-api.jvt.me/fit",
"date": "2017-08-24T00:00:00Z",
"kind": "steps",
"h": "h-measure"
"h": "h-measure",
"slug": "2017/08/Ndhyh",
"aliases": [
"/mf2/02fe69b9-3ea3-48bf-8bcf-68a4aa95eca2/"
]
}
......@@ -19,5 +19,9 @@
"client_id": "https://www-api.jvt.me/fit",
"date": "2018-04-23T00:00:00Z",
"kind": "steps",
"h": "h-measure"
"h": "h-measure",
"slug": "2018/04/3LS6K",
"aliases": [
"/mf2/03b69017-2316-4c6a-933b-671a97ec1238/"
]
}
{
"kind" : "bookmarks",
"client_id" : "https://indigenous.realize.be",
"date" : "2019-10-15T13:48:00+0100",
"h" : "h-entry",
"properties" : {
"name" : [ "Is a Tech Company Ever Neutral?" ],
"bookmark-of" : [ "https://slate.com/technology/2019/10/apple-chinese-government-microsoft-amazon-ice.amp?__twitter_impression=true" ],
"published" : [ "2019-10-15T13:48:00+0100" ],
"category" : [ "ethics" ]
"kind": "bookmarks",
"client_id": "https://indigenous.realize.be",
"date": "2019-10-15T13:48:00+0100",
"h": "h-entry",
"properties": {
"name": [
"Is a Tech Company Ever Neutral?"
],
"bookmark-of": [
"https://slate.com/technology/2019/10/apple-chinese-government-microsoft-amazon-ice.amp?__twitter_impression=true"
],
"published": [
"2019-10-15T13:48:00+0100"
],
"category": [
"ethics"
]
},
"tags" : [ "ethics" ]
"tags": [
"ethics"
],
"slug": "2019/10/Phdy5",
"aliases": [
"/mf2/03b90be7-5cbb-4560-9edd-cdf2aeb1ef38/"
]
}
......@@ -19,5 +19,9 @@
"client_id": "https://www-api.jvt.me/fit",
"date": "2017-09-11T00:00:00Z",
"kind": "steps",
"h": "h-measure"
"h": "h-measure",
"slug": "2017/09/cIsU5",
"aliases": [
"/mf2/03b9330d-b141-4105-86d8-862689f8340b/"
]
}
......@@ -19,5 +19,9 @@
"client_id": "https://www-api.jvt.me/fit",
"date": "2018-02-14T00:00:00Z",
"kind": "steps",
"h": "h-measure"
"h": "h-measure",
"slug": "2018/02/4UnWv",
"aliases": [
"/mf2/03c763f7-6f48-4ab3-8b96-25c9e6e9b4ef/"
]
}
......@@ -19,5 +19,9 @@
"client_id": "https://www-api.jvt.me/fit",
"date": "2017-08-21T00:00:00Z",
"kind": "steps",
"h": "h-measure"
"h": "h-measure",
"slug": "2017/08/dW5Cm",
"aliases": [
"/mf2/03ce0577-7ea5-47c6-b9e3-a39b58bd7e8d/"
]
}
......@@ -19,5 +19,9 @@
"client_id": "https://www-api.jvt.me/fit",
"date": "2018-05-31T00:00:00Z",
"kind": "steps",
"h": "h-measure"
"h": "h-measure",
"slug": "2018/05/pJJHd",
"aliases": [
"/mf2/03dd0f40-f0c5-427c-a237-85fa38aa67d8/"
]
}
{
"kind" : "likes",
"client_id" : "https://indigenous.realize.be",
"date" : "2019-09-25T16:36:00+0100",
"h" : "h-entry",
"properties" : {
"name" : [ "Like of https://blog.digitalocean.com/hacktoberfest-is-back-for-year-six/" ],
"like-of" : [ "https://blog.digitalocean.com/hacktoberfest-is-back-for-year-six/" ],
"published" : [ "2019-09-25T16:36:00+0100" ],
"category" : [ "hacktoberfest" ]
"kind": "likes",
"client_id": "https://indigenous.realize.be",
"date": "2019-09-25T16:36:00+0100",
"h": "h-entry",
"properties": {
"name": [
"Like of https://blog.digitalocean.com/hacktoberfest-is-back-for-year-six/"
],
"like-of": [
"https://blog.digitalocean.com/hacktoberfest-is-back-for-year-six/"
],
"published": [
"2019-09-25T16:36:00+0100"
],
"category": [
"hacktoberfest"
]
},
"tags" : [ "hacktoberfest" ]
"tags": [
"hacktoberfest"
],
"slug": "2019/09/UYWFx",
"aliases": [
"/mf2/04129b01-d505-47fb-b07f-31e078e894eb/"
]
}
......@@ -19,5 +19,9 @@
"client_id": "https://www-api.jvt.me/fit",
"date": "2017-02-02T00:00:00Z",
"kind": "steps",
"h": "h-measure"
"h": "h-measure",
"slug": "2017/02/pAcww",
"aliases": [
"/mf2/044934bc-3d53-4565-99ca-4a59f7821e0e/"
]
}
......@@ -19,5 +19,9 @@
"client_id": "https://www-api.jvt.me/fit",
"date": "2018-05-17T00:00:00Z",
"kind": "steps",
"h": "h-measure"
"h": "h-measure",
"slug": "2018/05/GdSE7",
"aliases": [
"/mf2/0459f776-3ad4-4ca6-9e99-fc8f6acd5ead/"
]
}
{
"kind" : "bookmarks",
"date" : "2019-08-31T22:56:00+0100",
"h" : "h-entry",
"properties" : {
"name" : [ "Medium is only an edge server of your POSSE CDN, your own blog is the origin" ],
"bookmark-of" : [ "https://nicolas-hoizey.com/2017/11/medium-is-only-an-edge-server-of-your-posse-cdn-your-own-blog-is-the-origin.html" ],
"published" : [ "2019-08-31T22:56:00+0100" ],
"category" : [ "indieweb", "ownership" ]
"kind": "bookmarks",
"date": "2019-08-31T22:56:00+0100",
"h": "h-entry",
"properties": {
"name": [
"Medium is only an edge server of your POSSE CDN, your own blog is the origin"
],
"bookmark-of": [
"https://nicolas-hoizey.com/2017/11/medium-is-only-an-edge-server-of-your-posse-cdn-your-own-blog-is-the-origin.html"
],
"published": [
"2019-08-31T22:56:00+0100"
],
"category": [
"indieweb",
"ownership"
]
},
"tags" : [ "indieweb", "ownership" ]
"tags": [
"indieweb",
"ownership"
],
"slug": "2019/08/MLlfW",
"aliases": [
"/mf2/04c1313c-fedd-41d6-986d-6c41aaf854c4/"
]
}
......@@ -19,5 +19,9 @@
"client_id": "https://www-api.jvt.me/fit",
"date": "2019-06-18T00:00:00Z",
"kind": "steps",
"h": "h-measure"
"h": "h-measure",
"slug": "2019/06/wlxPP",
"aliases": [
"/mf2/04f47619-c1f1-4fec-a08c-a623684da0a1/"
]
}
......@@ -19,5 +19,9 @@
"client_id": "https://www-api.jvt.me/fit",
"date": "2017-07-10T00:00:00Z",
"kind": "steps",
"h": "h-measure"
"h": "h-measure",
"slug": "2017/07/xeuK5",
"aliases": [
"/mf2/050199de-217c-49d7-aae7-8aa26b22703e/"
]
}
{
"kind" : "steps",
"client_id" : "https://www-api.jvt.me/fit",
"date" : "2019-10-08T09:26:00.826+02:00",
"h" : "h-measure",
"properties" : {
"start" : [ "2019-10-07T00:00:00Z" ],
"end" : [ "2019-10-08T00:00:00Z" ],
"num" : [ "8787" ],
"unit" : [ "steps" ],
"published" : [ "2019-10-08T09:26:00.826+02:00" ]
}
"kind": "steps",
"client_id": "https://www-api.jvt.me/fit",
"date": "2019-10-08T09:26:00.826+02:00",
"h": "h-measure",
"properties": {
"start": [
"2019-10-07T00:00:00Z"
],
"end": [
"2019-10-08T00:00:00Z"
],
"num": [
"8787"
],
"unit": [
"steps"
],
"published": [
"2019-10-08T09:26:00.826+02:00"
]
},
"slug": "2019/10/WTnQ6",
"aliases": [
"/mf2/050ebc43-1dee-414e-a0b5-f4641abed12c/"
]
}
......@@ -19,5 +19,9 @@
"client_id": "https://www-api.jvt.me/fit",
"date": "2017-05-01T00:00:00Z",
"kind": "steps",
"h": "h-measure"
"h": "h-measure",
"slug": "2017/05/ajhTx",
"aliases": [
"/mf2/051b033e-c8c8-4a3b-ad4f-82367e5c55e1/"
]
}
{
"kind" : "steps",
"client_id" : "https://www-api.jvt.me/fit",
"date" : "2019-10-20T08:00:01.629+02:00",
"h" : "h-measure",
"properties" : {
"start" : [ "2019-10-19T00:00:00Z" ],
"end" : [ "2019-10-20T00:00:00Z" ],
"num" : [ "5018" ],
"unit" : [ "steps" ],
"published" : [ "2019-10-20T08:00:01.629+02:00" ]
}
"kind": "steps",
"client_id": "https://www-api.jvt.me/fit",
"date": "2019-10-20T08:00:01.629+02:00",
"h": "h-measure",
"properties": {
"start": [
"2019-10-19T00:00:00Z"
],
"end": [
"2019-10-20T00:00:00Z"
],
"num": [
"5018"
],
"unit": [
"steps"
],
"published": [
"2019-10-20T08:00:01.629+02:00"
]
},
"slug": "2019/10/XDL6B",
"aliases": [
"/mf2/051dad2e-4310-4de8-b19e-ede788d45b73/"
]
}
......@@ -30,5 +30,6 @@
"shell",
"cli"
],
"kind": "bookmarks"
"kind": "bookmarks",
"slug": "2019/05/hq0Ub"
}
......@@ -19,5 +19,9 @@
"client_id": "https://www-api.jvt.me/fit",
"date": "2017-07-17T00:00:00Z",
"kind": "steps",
"h": "h-measure"
"h": "h-measure",
"slug": "2017/07/Yj2NA",