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:
parent
a502ea722b
commit
ddeed15ed5
@ -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
|
||||
|
@ -1,8 +1,8 @@
|
||||
module Jekyll
|
||||
module Drops
|
||||
class UrlDrop < Drop
|
||||
def author
|
||||
@obj.author
|
||||
def doc_author
|
||||
@obj.data['author']
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user