mirror of
https://github.com/inventree/inventree-website.git
synced 2025-04-28 05:26:44 +00:00
merge in repo changes
This commit is contained in:
parent
59d480cee9
commit
df9d37ad79
@ -33,8 +33,7 @@ collections:
|
||||
permalink: "/:title"
|
||||
repo:
|
||||
output: true
|
||||
custom_permalink_placeholders: ["publisher"]
|
||||
#permalink: "/:publisher/:title"
|
||||
permalink: ":author/:title"
|
||||
news:
|
||||
output: true
|
||||
permalink: /news/:year/:month/:day/:title
|
||||
|
9
_plugins/author_permalink.rb
Normal file
9
_plugins/author_permalink.rb
Normal file
@ -0,0 +1,9 @@
|
||||
module Jekyll
|
||||
module Drops
|
||||
class UrlDrop < Drop
|
||||
def author
|
||||
@obj.author
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Loading…
x
Reference in New Issue
Block a user