2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-04-27 21:16:45 +00:00

fix pattern

This commit is contained in:
Matthias Mair 2023-01-28 00:36:51 +01:00
parent a502ea722b
commit ddeed15ed5
No known key found for this signature in database
GPG Key ID: A593429DDA23B66A
2 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ collections:
permalink: "/:title" permalink: "/:title"
repo: repo:
output: true output: true
permalink: ":author/:title" permalink: ":doc_author/:title"
news: news:
output: true output: true
permalink: /news/:year/:month/:day/:title permalink: /news/:year/:month/:day/:title

View File

@ -1,8 +1,8 @@
module Jekyll module Jekyll
module Drops module Drops
class UrlDrop < Drop class UrlDrop < Drop
def author def doc_author
@obj.author @obj.data['author']
end end
end end
end end