mirror of
https://github.com/inventree/inventree-website.git
synced 2025-04-28 13:36:47 +00:00
merge in repo changes
This commit is contained in:
parent
59d480cee9
commit
df9d37ad79
@ -33,8 +33,7 @@ collections:
|
|||||||
permalink: "/:title"
|
permalink: "/:title"
|
||||||
repo:
|
repo:
|
||||||
output: true
|
output: true
|
||||||
custom_permalink_placeholders: ["publisher"]
|
permalink: ":author/:title"
|
||||||
#permalink: "/:publisher/:title"
|
|
||||||
news:
|
news:
|
||||||
output: true
|
output: true
|
||||||
permalink: /news/:year/:month/:day/:title
|
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