diff options
author | EuAndreh <eu@euandre.org> | 2020-10-10 19:29:58 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-10-10 19:30:12 -0300 |
commit | d37970ccd647b89a790c0944611f3e3be1f05eaf (patch) | |
tree | 3e19e8b77ddee7a3c3db057bcc75568e212efecb /_plugins/noop-converter.rb | |
parent | Fix home page entry listing (diff) | |
download | euandre.org-d37970ccd647b89a790c0944611f3e3be1f05eaf.tar.gz euandre.org-d37970ccd647b89a790c0944611f3e3be1f05eaf.tar.xz |
Use Jekyll to output slides HTML files
Diffstat (limited to '_plugins/noop-converter.rb')
-rw-r--r-- | _plugins/noop-converter.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/_plugins/noop-converter.rb b/_plugins/noop-converter.rb new file mode 100644 index 0000000..118d103 --- /dev/null +++ b/_plugins/noop-converter.rb @@ -0,0 +1,18 @@ +module Jekyll + class NoOpConverter < Converter + safe true + priority :high + + def matches(ext) + ext == '.slides' + end + + def output_ext(ext) + ".html" + end + + def convert(content) + content + end + end +end |