Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dzello/reveal-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Dzielak <jdzielak@gmail.com>2020-02-24 14:37:33 +0300
committerJosh Dzielak <jdzielak@gmail.com>2020-02-24 14:37:33 +0300
commit2e17b32dddc91291457779abcb43cb4a7e5e91a3 (patch)
tree9a3cc6c189e4f0a6f173a8fb52b205173ab3a83e
parent035d8c8fe6dc62eb8741bff181525c0e1c262557 (diff)
Move body.html lines for linenumbers example into own partial
-rw-r--r--exampleSite/layouts/partials/highlightjs-linenumbers-example/reveal-hugo/body.html6
-rw-r--r--layouts/partials/reveal-hugo/body.html9
2 files changed, 7 insertions, 8 deletions
diff --git a/exampleSite/layouts/partials/highlightjs-linenumbers-example/reveal-hugo/body.html b/exampleSite/layouts/partials/highlightjs-linenumbers-example/reveal-hugo/body.html
new file mode 100644
index 0000000..64a94d9
--- /dev/null
+++ b/exampleSite/layouts/partials/highlightjs-linenumbers-example/reveal-hugo/body.html
@@ -0,0 +1,6 @@
+<!-- hide Highlight.js line numbers -->
+<style>
+ .hljs-ln-numbers {
+ display: none;
+ }
+</style> \ No newline at end of file
diff --git a/layouts/partials/reveal-hugo/body.html b/layouts/partials/reveal-hugo/body.html
index 3e445a6..f2dd4bf 100644
--- a/layouts/partials/reveal-hugo/body.html
+++ b/layouts/partials/reveal-hugo/body.html
@@ -1,8 +1 @@
-<!-- override this partial to add content before the body tag closes -->
-
-<!-- hide Highlight.js line numbers -->
-<style>
- .hljs-ln-numbers {
- display: none;
- }
-</style> \ No newline at end of file
+<!-- override this partial to add content before the body tag closes --> \ No newline at end of file