[Groonga-commit] groonga/groonga.org at 5e3f3c3 [gh-pages] Stop to load autocomplete related resource on English site

Back to archive index
Kouhei Sutou null+****@clear*****
Thu Dec 13 09:19:41 JST 2018


Kouhei Sutou	2018-12-13 09:19:41 +0900 (Thu, 13 Dec 2018)

  Revision: 5e3f3c36f263bd098250b66f76b211d83a7192da
  https://github.com/groonga/groonga.org/commit/5e3f3c36f263bd098250b66f76b211d83a7192da

  Message:
    Stop to load autocomplete related resource on English site

  Modified files:
    _layouts/skeleton.html

  Modified: _layouts/skeleton.html (+5 -4)
===================================================================
--- _layouts/skeleton.html    2018-12-12 18:57:08 +0900 (a70667a36)
+++ _layouts/skeleton.html    2018-12-13 09:19:41 +0900 (8e60fdf35)
@@ -31,19 +31,20 @@
   <link rel="alternate" type="application/rss+xml" title="RSS" href="/ja/blog/index.rdf">
 {% endcase %}
 
+{% if page.language == "ja" %}
   <script type="text/javascript"
           src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
   <script type="text/javascript"
           src="http://search.groonga.org/static/js/myautocomplete.js"></script>
+  <link rel="stylesheet"
+        href="http://search.groonga.org/static/css/myautocomplete.css"
+        type="text/css">
+{% endif %}
 
   <link rel="stylesheet"
         href="/css/syntax.css"
         type="text/css">
   <link rel="stylesheet"
-        href="http://search.groonga.org/static/css/myautocomplete.css"
-        type="text/css"
-        media="screen, projection">
-  <link rel="stylesheet"
         href="/css/screen.css"
         type="text/css"
         media="screen, projection">
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20181213/7cf3bd70/attachment.html>


More information about the Groonga-commit mailing list
Back to archive index