You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by wa...@apache.org on 2021/06/05 19:50:09 UTC

[olingo-site] 05/15: add syntax highlighting from highlight.js

This is an automated email from the ASF dual-hosted git repository.

wave pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/olingo-site.git

commit 7d34785ecbd44c2c5af65147a6e4b07d65e3780a
Author: Dave Fisher <da...@davefisher.tech>
AuthorDate: Fri Jun 4 11:40:50 2021 -0700

    add syntax highlighting from highlight.js
---
 theme/apache/templates/base.html | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/theme/apache/templates/base.html b/theme/apache/templates/base.html
index 7ffc840..de32701 100644
--- a/theme/apache/templates/base.html
+++ b/theme/apache/templates/base.html
@@ -120,10 +120,14 @@ under the License.
     ================================================== -->
     <!-- Placed at the end of the document so the pages load faster -->
     <script src="/js/jquery.js" type="text/javascript">
-</script>
-	  <script src="/js/bootstrap.js" type="text/javascript">
-	  <script src="/js/offcanvas.js" type="text/javascript">
-</script>
+    </script>
+    <script src="/js/bootstrap.js" type="text/javascript">
+    </script>
+    <script src="/js/offcanvas.js" type="text/javascript">
+    </script>
+    <link rel="stylesheet"
+      href="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.0.1/build/styles/xcode.min.css">
+    <script src="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.0.1/build/highlight.min.js"></script>
         <!-- Google Analytics: change UA-XXXXX-X to be your site's ID. -->
         <script>
             (function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=