diff --git a/languages/en.json b/languages/en.json new file mode 100644 index 0000000..1bf2520 --- /dev/null +++ b/languages/en.json @@ -0,0 +1,6 @@ +{ + "plugin-bludit-toc": { + "name": "Table of Contents", + "description": "Sticky ToC sidebar (desktop) and floating drawer (mobile) generated from the article's h2/h3/h4 headings." + } +} diff --git a/plugin.php b/plugin.php index 4f9c794..a8b3997 100644 --- a/plugin.php +++ b/plugin.php @@ -60,7 +60,7 @@ class PluginBluditToc extends Plugin { */ public function siteHead() { $url = DOMAIN_PLUGINS . $this->directoryName . '/toc.css'; - return HTML::style($url) . PHP_EOL; + return '' . PHP_EOL; } /** @@ -87,7 +87,7 @@ class PluginBluditToc extends Plugin { $url = DOMAIN_PLUGINS . $this->directoryName . '/toc.js'; $out = '' . PHP_EOL; - $out .= HTML::script($url) . PHP_EOL; + $out .= '' . PHP_EOL; return $out; } }