mirror of
https://github.com/inventree/inventree-website.git
synced 2025-04-27 04:56:45 +00:00
fix pattern
This commit is contained in:
parent
a502ea722b
commit
ddeed15ed5
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user