Skip to content

Commit c8a4a2e

Browse files
committed
Unify top-nav template. Setup theming for appbar. Add trim plugin
1 parent 07ed9b5 commit c8a4a2e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Diff for: _plugins/trim.rb

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
require 'liquid'
2+
3+
module TrimFilter
4+
5+
# Trim whitespace
6+
def trim(input)
7+
input.strip
8+
end
9+
10+
end
11+
12+
Liquid::Template.register_filter(TrimFilter)
13+

0 commit comments

Comments
 (0)