2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-04-26 20:46: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"
repo:
output: true
permalink: ":author/:title"
permalink: ":doc_author/:title"
news:
output: true
permalink: /news/:year/:month/:day/:title

View File

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