mirror of
https://github.com/bitwarden/help
synced 2025-12-06 00:03:30 +00:00
hosting category and refactored category usage
This commit is contained in:
9
_plugins/filename.rb
Normal file
9
_plugins/filename.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
module FileName
|
||||
def filename(path)
|
||||
extn = File.extname path
|
||||
name = File.basename path, extn
|
||||
"#{name}"
|
||||
end
|
||||
end
|
||||
|
||||
Liquid::Template.register_filter(FileName)
|
||||
Reference in New Issue
Block a user