diff options
Diffstat (limited to '')
-rw-r--r-- | _plugins/add-anchor-to-header-from-header-id.rb | 2 | ||||
-rw-r--r-- | _plugins/graphviz-block.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/_plugins/add-anchor-to-header-from-header-id.rb b/_plugins/add-anchor-to-header-from-header-id.rb index 373389a..7138262 100644 --- a/_plugins/add-anchor-to-header-from-header-id.rb +++ b/_plugins/add-anchor-to-header-from-header-id.rb @@ -5,7 +5,7 @@ Jekyll::Hooks.register [:documents, :pages], :post_render do |doc| doc.output = doc.output.gsub( /<h([1-6])(.*?)id="([\w-]+)"(.*?)>(.*?)<\/h[1-6]>/, - '<div class="header-anchor"><h\1\2id="\3"\4>\5</h\1><a href="#\3"><img class="simple-icon" src="/images/link.svg" aria-hidden="true" alt="' + alt + '" /></a></div>' + '<div class="header-anchor"><h\1\2id="\3"\4>\5</h\1><a href="#\3"><img class="simple-icon" src="/static/link.svg" aria-hidden="true" alt="' + alt + '" /></a></div>' ) end end diff --git a/_plugins/graphviz-block.rb b/_plugins/graphviz-block.rb index 4ddd2ee..a2e32bf 100644 --- a/_plugins/graphviz-block.rb +++ b/_plugins/graphviz-block.rb @@ -1,7 +1,7 @@ require 'tempfile' require 'digest' -OUTPUT_DIR = '/images/graphviz' +OUTPUT_DIR = '/static/graphviz' module Jekyll class GraphvizBlock < Liquid::Block |